Lines Matching defs:bdev
34 struct block_device bdev; member
49 static void bdev_write_inode(struct block_device *bdev) in bdev_write_inode()
68 static void kill_bdev(struct block_device *bdev) in kill_bdev()
80 void invalidate_bdev(struct block_device *bdev) in invalidate_bdev()
96 int truncate_bdev_range(struct block_device *bdev, blk_mode_t mode, in truncate_bdev_range()
125 static void set_init_blocksize(struct block_device *bdev) in set_init_blocksize()
138 int set_blocksize(struct block_device *bdev, int size) in set_blocksize()
182 int sync_blockdev_nowait(struct block_device *bdev) in sync_blockdev_nowait()
194 int sync_blockdev(struct block_device *bdev) in sync_blockdev()
202 int sync_blockdev_range(struct block_device *bdev, loff_t lstart, loff_t lend) in sync_blockdev_range()
221 int freeze_bdev(struct block_device *bdev) in freeze_bdev()
259 int thaw_bdev(struct block_device *bdev) in thaw_bdev()
309 struct block_device *bdev = I_BDEV(inode); in bdev_free_inode() local
387 struct block_device *bdev; in bdev_alloc() local
418 void bdev_set_nr_sectors(struct block_device *bdev, sector_t sectors) in bdev_set_nr_sectors()
426 void bdev_add(struct block_device *bdev, dev_t dev) in bdev_add()
460 static bool bd_may_claim(struct block_device *bdev, void *holder, in bd_may_claim()
502 int bd_prepare_to_claim(struct block_device *bdev, void *holder, in bd_prepare_to_claim()
554 static void bd_finish_claiming(struct block_device *bdev, void *holder, in bd_finish_claiming()
585 void bd_abort_claiming(struct block_device *bdev, void *holder) in bd_abort_claiming()
593 static void bd_end_claim(struct block_device *bdev, void *holder) in bd_end_claim()
628 static void blkdev_flush_mapping(struct block_device *bdev) in blkdev_flush_mapping()
636 static int blkdev_get_whole(struct block_device *bdev, blk_mode_t mode) in blkdev_get_whole()
660 static void blkdev_put_whole(struct block_device *bdev) in blkdev_put_whole()
706 struct block_device *bdev; in blkdev_get_no_open() local
728 void blkdev_put_no_open(struct block_device *bdev) in blkdev_put_no_open()
758 struct block_device *bdev; in blkdev_get_by_dev() local
838 struct block_device *bdev; in bdev_open_by_dev() local
873 struct block_device *bdev; in blkdev_get_by_path() local
913 void blkdev_put(struct block_device *bdev, void *holder) in blkdev_put()
1009 void bdev_mark_dead(struct block_device *bdev, bool surprise) in bdev_mark_dead()
1036 struct block_device *bdev; in sync_bdevs() local
1090 struct block_device *bdev; in bdev_statx_dioalign() local