Lines Matching defs:bdev
38 struct block_device bdev; member
47 static inline struct inode *BD_INODE(struct block_device *bdev) in BD_INODE()
64 static void bdev_write_inode(struct block_device *bdev) in bdev_write_inode()
83 static void kill_bdev(struct block_device *bdev) in kill_bdev()
95 void invalidate_bdev(struct block_device *bdev) in invalidate_bdev()
111 int truncate_bdev_range(struct block_device *bdev, blk_mode_t mode, in truncate_bdev_range()
140 static void set_init_blocksize(struct block_device *bdev) in set_init_blocksize()
156 struct block_device *bdev = I_BDEV(inode); in set_blocksize() local
202 int sync_blockdev_nowait(struct block_device *bdev) in sync_blockdev_nowait()
214 int sync_blockdev(struct block_device *bdev) in sync_blockdev()
222 int sync_blockdev_range(struct block_device *bdev, loff_t lstart, loff_t lend) in sync_blockdev_range()
243 int bdev_freeze(struct block_device *bdev) in bdev_freeze()
279 int bdev_thaw(struct block_device *bdev) in bdev_thaw()
337 struct block_device *bdev = I_BDEV(inode); in bdev_free_inode() local
416 struct block_device *bdev; in bdev_alloc() local
445 void bdev_set_nr_sectors(struct block_device *bdev, sector_t sectors) in bdev_set_nr_sectors()
453 void bdev_add(struct block_device *bdev, dev_t dev) in bdev_add()
464 void bdev_unhash(struct block_device *bdev) in bdev_unhash()
469 void bdev_drop(struct block_device *bdev) in bdev_drop()
498 static bool bd_may_claim(struct block_device *bdev, void *holder, in bd_may_claim()
540 int bd_prepare_to_claim(struct block_device *bdev, void *holder, in bd_prepare_to_claim()
592 static void bd_finish_claiming(struct block_device *bdev, void *holder, in bd_finish_claiming()
623 void bd_abort_claiming(struct block_device *bdev, void *holder) in bd_abort_claiming()
631 static void bd_end_claim(struct block_device *bdev, void *holder) in bd_end_claim()
666 static void blkdev_flush_mapping(struct block_device *bdev) in blkdev_flush_mapping()
674 static void blkdev_put_whole(struct block_device *bdev) in blkdev_put_whole()
682 static int blkdev_get_whole(struct block_device *bdev, blk_mode_t mode) in blkdev_get_whole()
778 struct block_device *bdev; in blkdev_get_no_open() local
800 void blkdev_put_no_open(struct block_device *bdev) in blkdev_put_no_open()
805 static bool bdev_writes_blocked(struct block_device *bdev) in bdev_writes_blocked()
810 static void bdev_block_writes(struct block_device *bdev) in bdev_block_writes()
815 static void bdev_unblock_writes(struct block_device *bdev) in bdev_unblock_writes()
820 static bool bdev_may_open(struct block_device *bdev, blk_mode_t mode) in bdev_may_open()
832 static void bdev_claim_write_access(struct block_device *bdev, blk_mode_t mode) in bdev_claim_write_access()
851 struct block_device *bdev; in bdev_yield_write_access() local
884 int bdev_open(struct block_device *bdev, blk_mode_t mode, void *holder, in bdev_open()
996 struct block_device *bdev; in bdev_file_open_by_dev() local
1054 struct block_device *bdev = file_bdev(bdev_file); in bd_yield_claim() local
1068 struct block_device *bdev = file_bdev(bdev_file); in bdev_release() local
1124 struct block_device *bdev = file_bdev(bdev_file); in bdev_fput() local
1196 void bdev_mark_dead(struct block_device *bdev, bool surprise) in bdev_mark_dead()
1223 struct block_device *bdev; in sync_bdevs() local
1275 struct block_device *bdev; in bdev_statx() local
1315 unsigned int block_size(struct block_device *bdev) in block_size()