/block/ |
D | bdev.c | 33 struct block_device bdev; member 48 static void bdev_write_inode(struct block_device *bdev) in bdev_write_inode() 69 static void kill_bdev(struct block_device *bdev) in kill_bdev() 81 void invalidate_bdev(struct block_device *bdev) in invalidate_bdev() 101 int truncate_bdev_range(struct block_device *bdev, fmode_t mode, in truncate_bdev_range() 130 static void set_init_blocksize(struct block_device *bdev) in set_init_blocksize() 143 int set_blocksize(struct block_device *bdev, int size) in set_blocksize() 187 int sync_blockdev_nowait(struct block_device *bdev) in sync_blockdev_nowait() 199 int sync_blockdev(struct block_device *bdev) in sync_blockdev() 212 int fsync_bdev(struct block_device *bdev) in fsync_bdev() [all …]
|
D | ioctl.c | 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 blkdev_reread_part(struct block_device *bdev, fmode_t mode) in blkdev_reread_part() 113 static int blk_ioctl_discard(struct block_device *bdev, fmode_t mode, in blk_ioctl_discard() 155 static int blk_ioctl_zeroout(struct block_device *bdev, fmode_t mode, in blk_ioctl_zeroout() 244 int blkdev_compat_ptr_ioctl(struct block_device *bdev, fmode_t mode, in blkdev_compat_ptr_ioctl() 258 static int blkdev_pr_register(struct block_device *bdev, in blkdev_pr_register() 276 static int blkdev_pr_reserve(struct block_device *bdev, in blkdev_pr_reserve() 294 static int blkdev_pr_release(struct block_device *bdev, in blkdev_pr_release() [all …]
|
D | holder.c | 7 struct block_device *bdev; member 11 static struct bd_holder_disk *bd_find_holder_disk(struct block_device *bdev, in bd_find_holder_disk() 32 static int __link_disk_holder(struct block_device *bdev, struct gendisk *disk) in __link_disk_holder() 73 int bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk) in bd_link_disk_holder() 122 static void __unlink_disk_holder(struct block_device *bdev, in __unlink_disk_holder() 139 void bd_unlink_disk_holder(struct block_device *bdev, struct gendisk *disk) in bd_unlink_disk_holder()
|
D | blk-lib.c | 26 int __blkdev_issue_discard(struct block_device *bdev, sector_t sector, in __blkdev_issue_discard() 132 int blkdev_issue_discard(struct block_device *bdev, sector_t sector, in blkdev_issue_discard() 166 static int __blkdev_issue_write_same(struct block_device *bdev, sector_t sector, in __blkdev_issue_write_same() 227 int blkdev_issue_write_same(struct block_device *bdev, sector_t sector, in blkdev_issue_write_same() 247 static int __blkdev_issue_write_zeroes(struct block_device *bdev, in __blkdev_issue_write_zeroes() 303 static int __blkdev_issue_zero_pages(struct block_device *bdev, in __blkdev_issue_zero_pages() 359 int __blkdev_issue_zeroout(struct block_device *bdev, sector_t sector, in __blkdev_issue_zeroout() 393 int blkdev_issue_zeroout(struct block_device *bdev, sector_t sector, in blkdev_issue_zeroout()
|
D | blk-zoned.c | 147 int blkdev_report_zones(struct block_device *bdev, sector_t sector, in blkdev_report_zones() 190 static int blkdev_zone_reset_all_emulated(struct block_device *bdev, in blkdev_zone_reset_all_emulated() 238 static int blkdev_zone_reset_all(struct block_device *bdev, gfp_t gfp_mask) in blkdev_zone_reset_all() 265 int blkdev_zone_mgmt(struct block_device *bdev, enum req_opf op, in blkdev_zone_mgmt() 344 int blkdev_report_zones_ioctl(struct block_device *bdev, fmode_t mode, in blkdev_report_zones_ioctl() 382 static int blkdev_truncate_zone_range(struct block_device *bdev, fmode_t mode, in blkdev_truncate_zone_range() 402 int blkdev_zone_mgmt_ioctl(struct block_device *bdev, fmode_t mode, in blkdev_zone_mgmt_ioctl()
|
D | fops.c | 58 struct block_device *bdev = I_BDEV(bdev_file_inode(file)); in __blkdev_direct_IO_simple() local 146 struct block_device *bdev = I_BDEV(kiocb->ki_filp->f_mapping->host); in blkdev_iopoll() local 196 struct block_device *bdev = I_BDEV(inode); in __blkdev_direct_IO() local 424 struct block_device *bdev = I_BDEV(bd_inode); in blkdev_fsync() local 445 struct block_device *bdev; in blkdev_open() local 473 struct block_device *bdev = I_BDEV(bdev_file_inode(filp)); in blkdev_close() local 481 struct block_device *bdev = I_BDEV(bdev_file_inode(file)); in block_ioctl() local 573 struct block_device *bdev = I_BDEV(inode); in blkdev_fallocate() local
|
D | genhd.c | 57 struct block_device *bdev = disk->part0; in set_capacity() local 107 const char *bdevname(struct block_device *bdev, char *buf) in bdevname() 373 struct block_device *bdev; in disk_scan_partitions() local 912 struct block_device *bdev = dev_to_bdev(dev); in part_stat_show() local 956 struct block_device *bdev = dev_to_bdev(dev); in part_inflight_show() local 1419 int bdev_read_only(struct block_device *bdev) in bdev_read_only()
|
D | blk-cgroup.c | 599 struct block_device *bdev; in blkcg_conf_open_bdev() local 638 struct block_device *bdev; in blkg_conf_prep() local 866 struct block_device *bdev = dev_to_bdev(dev); in blkcg_fill_root_iostats() local
|
D | blk-flush.c | 453 int blkdev_issue_flush(struct block_device *bdev) in blkdev_issue_flush()
|
D | disk-events.c | 275 bool bdev_check_media_change(struct block_device *bdev) in bdev_check_media_change()
|
D | blk-settings.c | 664 void disk_stack_limits(struct gendisk *disk, struct block_device *bdev, in disk_stack_limits()
|
D | blk-core.c | 801 struct block_device *bdev = bio->bi_bdev; in submit_bio_checks() local
|
D | blk-iocost.c | 3197 struct block_device *bdev; in ioc_qos_write() local 3364 struct block_device *bdev; in ioc_cost_model_write() local
|
/block/partitions/ |
D | core.c | 90 static void bdev_set_nr_sectors(struct block_device *bdev, sector_t sectors) in bdev_set_nr_sectors() 204 struct block_device *bdev = dev_to_bdev(dev); in part_alignment_offset_show() local 214 struct block_device *bdev = dev_to_bdev(dev); in part_discard_alignment_show() local 322 struct block_device *bdev; in add_partition() local
|
D | ibm.c | 294 struct block_device *bdev = disk->part0; in ibm_partition() local
|
D | cmdline.c | 243 const char *bdev) in cmdline_parts_find()
|