Lines Matching refs:block_device
16 static int blkpg_do_ioctl(struct block_device *bdev, in blkpg_do_ioctl()
52 static int blkpg_ioctl(struct block_device *bdev, in blkpg_ioctl()
72 static int compat_blkpg_ioctl(struct block_device *bdev, in compat_blkpg_ioctl()
85 static int blkdev_reread_part(struct block_device *bdev, fmode_t mode) in blkdev_reread_part()
87 struct block_device *tmp; in blkdev_reread_part()
110 static int blk_ioctl_discard(struct block_device *bdev, fmode_t mode, in blk_ioctl_discard()
146 static int blk_ioctl_zeroout(struct block_device *bdev, fmode_t mode, in blk_ioctl_zeroout()
229 int blkdev_compat_ptr_ioctl(struct block_device *bdev, fmode_t mode, in blkdev_compat_ptr_ioctl()
243 static int blkdev_pr_register(struct block_device *bdev, in blkdev_pr_register()
261 static int blkdev_pr_reserve(struct block_device *bdev, in blkdev_pr_reserve()
279 static int blkdev_pr_release(struct block_device *bdev, in blkdev_pr_release()
297 static int blkdev_pr_preempt(struct block_device *bdev, in blkdev_pr_preempt()
315 static int blkdev_pr_clear(struct block_device *bdev, in blkdev_pr_clear()
333 static int blkdev_flushbuf(struct block_device *bdev, fmode_t mode, in blkdev_flushbuf()
343 static int blkdev_roset(struct block_device *bdev, fmode_t mode, in blkdev_roset()
362 static int blkdev_getgeo(struct block_device *bdev, in blkdev_getgeo()
396 static int compat_hdio_getgeo(struct block_device *bdev, in compat_hdio_getgeo()
428 static int blkdev_bszset(struct block_device *bdev, fmode_t mode, in blkdev_bszset()
456 static int blkdev_common_ioctl(struct block_device *bdev, fmode_t mode, in blkdev_common_ioctl()
541 int blkdev_ioctl(struct block_device *bdev, fmode_t mode, unsigned cmd, in blkdev_ioctl()
606 struct block_device *bdev = I_BDEV(file->f_mapping->host); in compat_blkdev_ioctl()