Lines Matching refs:blk_mode_t
125 typedef unsigned int __bitwise blk_mode_t; typedef
128 #define BLK_OPEN_READ ((__force blk_mode_t)(1 << 0))
130 #define BLK_OPEN_WRITE ((__force blk_mode_t)(1 << 1))
132 #define BLK_OPEN_EXCL ((__force blk_mode_t)(1 << 2))
134 #define BLK_OPEN_NDELAY ((__force blk_mode_t)(1 << 3))
136 #define BLK_OPEN_WRITE_IOCTL ((__force blk_mode_t)(1 << 4))
138 #define BLK_OPEN_RESTRICT_WRITES ((__force blk_mode_t)(1 << 5))
140 #define BLK_OPEN_STRICT_SCAN ((__force blk_mode_t)(1 << 6))
214 blk_mode_t open_mode;
1526 int (*open)(struct gendisk *disk, blk_mode_t mode);
1528 int (*ioctl)(struct block_device *bdev, blk_mode_t mode,
1530 int (*compat_ioctl)(struct block_device *bdev, blk_mode_t mode,
1558 extern int blkdev_compat_ptr_ioctl(struct block_device *, blk_mode_t,
1644 struct file *bdev_file_open_by_dev(dev_t dev, blk_mode_t mode, void *holder,
1646 struct file *bdev_file_open_by_path(const char *path, blk_mode_t mode,