Home | History | Annotate | Line # | Download | only in common
linux_blkio.h revision 1.2.4.2
      1  1.2.4.2  he /*	$NetBSD: linux_blkio.h,v 1.2.4.2 2001/03/30 21:37:26 he Exp $	*/
      2  1.2.4.2  he 
      3  1.2.4.2  he /*
      4  1.2.4.2  he  * Copyright (c) 2001 Wasabi Systems, Inc.
      5  1.2.4.2  he  * All rights reserved.
      6  1.2.4.2  he  *
      7  1.2.4.2  he  * Written by Frank van der Linden for Wasabi Systems, Inc.
      8  1.2.4.2  he  *
      9  1.2.4.2  he  * Redistribution and use in source and binary forms, with or without
     10  1.2.4.2  he  * modification, are permitted provided that the following conditions
     11  1.2.4.2  he  * are met:
     12  1.2.4.2  he  * 1. Redistributions of source code must retain the above copyright
     13  1.2.4.2  he  *    notice, this list of conditions and the following disclaimer.
     14  1.2.4.2  he  * 2. Redistributions in binary form must reproduce the above copyright
     15  1.2.4.2  he  *    notice, this list of conditions and the following disclaimer in the
     16  1.2.4.2  he  *    documentation and/or other materials provided with the distribution.
     17  1.2.4.2  he  * 3. All advertising materials mentioning features or use of this software
     18  1.2.4.2  he  *    must display the following acknowledgement:
     19  1.2.4.2  he  *      This product includes software developed for the NetBSD Project by
     20  1.2.4.2  he  *      Wasabi Systems, Inc.
     21  1.2.4.2  he  * 4. The name of Wasabi Systems, Inc. may not be used to endorse
     22  1.2.4.2  he  *    or promote products derived from this software without specific prior
     23  1.2.4.2  he  *    written permission.
     24  1.2.4.2  he  *
     25  1.2.4.2  he  * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND
     26  1.2.4.2  he  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
     27  1.2.4.2  he  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
     28  1.2.4.2  he  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL WASABI SYSTEMS, INC
     29  1.2.4.2  he  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     30  1.2.4.2  he  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     31  1.2.4.2  he  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     32  1.2.4.2  he  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     33  1.2.4.2  he  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     34  1.2.4.2  he  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     35  1.2.4.2  he  * POSSIBILITY OF SUCH DAMAGE.
     36  1.2.4.2  he  */
     37  1.2.4.2  he 
     38  1.2.4.2  he /*
     39  1.2.4.2  he  * Definitions for ioctl calls that work on filesystems, as defined
     40  1.2.4.2  he  * in <linux/fs.h>
     41  1.2.4.2  he  */
     42  1.2.4.2  he 
     43  1.2.4.2  he #ifndef _LINUX_BLKIO_H
     44  1.2.4.2  he #define _LINUX_BLKIO_H
     45  1.2.4.2  he 
     46  1.2.4.2  he #define LINUX_BLKROSET		_LINUX_IO(0x12, 93)
     47  1.2.4.2  he #define LINUX_BLKROGET		_LINUX_IO(0x12, 94)
     48  1.2.4.2  he #define LINUX_BLKRRPART		_LINUX_IO(0x12, 95)
     49  1.2.4.2  he #define LINUX_BLKGETSIZE	_LINUX_IO(0x12, 96)
     50  1.2.4.2  he #define LINUX_BLKFLSBUF		_LINUX_IO(0x12, 97)
     51  1.2.4.2  he #define LINUX_BLKRASET		_LINUX_IO(0x12, 98)
     52  1.2.4.2  he #define LINUX_BLKRAGET		_LINUX_IO(0x12, 99)
     53  1.2.4.2  he #define LINUX_BLKFRASET		_LINUX_IO(0x12, 100)
     54  1.2.4.2  he #define LINUX_BLKFRAGET		_LINUX_IO(0x12, 101)
     55  1.2.4.2  he #define LINUX_BLKSECTSET	_LINUX_IO(0x12, 102)
     56  1.2.4.2  he #define LINUX_BLKSECTGET	_LINUX_IO(0x12, 103)
     57  1.2.4.2  he #define LINUX_BLKSSZGET		_LINUX_IO(0x12, 104)
     58  1.2.4.2  he #define LINUX_BLKPG		_LINUX_IO(0x12, 105)
     59  1.2.4.2  he 
     60  1.2.4.2  he #endif /* _LINUX_BLKIO_H */
     61