Lines Matching refs:blk_mode_t
115 typedef unsigned int __bitwise blk_mode_t; typedef
118 #define BLK_OPEN_READ ((__force blk_mode_t)(1 << 0))
120 #define BLK_OPEN_WRITE ((__force blk_mode_t)(1 << 1))
122 #define BLK_OPEN_EXCL ((__force blk_mode_t)(1 << 2))
124 #define BLK_OPEN_NDELAY ((__force blk_mode_t)(1 << 3))
126 #define BLK_OPEN_WRITE_IOCTL ((__force blk_mode_t)(1 << 4))
203 blk_mode_t open_mode;
1379 int (*open)(struct gendisk *disk, blk_mode_t mode);
1381 int (*ioctl)(struct block_device *bdev, blk_mode_t mode,
1383 int (*compat_ioctl)(struct block_device *bdev, blk_mode_t mode,
1411 extern int blkdev_compat_ptr_ioctl(struct block_device *, blk_mode_t,
1482 struct block_device *blkdev_get_by_dev(dev_t dev, blk_mode_t mode, void *holder,
1484 struct block_device *blkdev_get_by_path(const char *path, blk_mode_t mode,