Lines Matching defs:bdev
16 static int blkpg_do_ioctl(struct block_device *bdev, in blkpg_do_ioctl()
55 static int blkpg_ioctl(struct block_device *bdev, in blkpg_ioctl()
75 static int compat_blkpg_ioctl(struct block_device *bdev, in compat_blkpg_ioctl()
88 static int blk_ioctl_discard(struct block_device *bdev, blk_mode_t mode, in blk_ioctl_discard()
127 static int blk_ioctl_secure_erase(struct block_device *bdev, blk_mode_t mode, in blk_ioctl_secure_erase()
158 static int blk_ioctl_zeroout(struct block_device *bdev, blk_mode_t mode, in blk_ioctl_zeroout()
247 int blkdev_compat_ptr_ioctl(struct block_device *bdev, blk_mode_t mode, in blkdev_compat_ptr_ioctl()
261 static bool blkdev_pr_allowed(struct block_device *bdev, blk_mode_t mode) in blkdev_pr_allowed()
276 static int blkdev_pr_register(struct block_device *bdev, blk_mode_t mode, in blkdev_pr_register()
294 static int blkdev_pr_reserve(struct block_device *bdev, blk_mode_t mode, in blkdev_pr_reserve()
312 static int blkdev_pr_release(struct block_device *bdev, blk_mode_t mode, in blkdev_pr_release()
330 static int blkdev_pr_preempt(struct block_device *bdev, blk_mode_t mode, in blkdev_pr_preempt()
348 static int blkdev_pr_clear(struct block_device *bdev, blk_mode_t mode, in blkdev_pr_clear()
366 static int blkdev_flushbuf(struct block_device *bdev, unsigned cmd, in blkdev_flushbuf()
383 static int blkdev_roset(struct block_device *bdev, unsigned cmd, in blkdev_roset()
402 static int blkdev_getgeo(struct block_device *bdev, in blkdev_getgeo()
436 static int compat_hdio_getgeo(struct block_device *bdev, in compat_hdio_getgeo()
468 static int blkdev_bszset(struct block_device *bdev, blk_mode_t mode, in blkdev_bszset()
496 static int blkdev_common_ioctl(struct block_device *bdev, blk_mode_t mode, in blkdev_common_ioctl()
587 struct block_device *bdev = I_BDEV(file->f_mapping->host); in blkdev_ioctl() local
648 struct block_device *bdev = I_BDEV(file->f_mapping->host); in compat_blkdev_ioctl() local