/block/ |
D | ioctl.c | 14 static int blkpg_ioctl(struct block_device *bdev, struct blkpg_ioctl_arg __user *arg) in blkpg_ioctl() 163 int __blkdev_reread_part(struct block_device *bdev) in __blkdev_reread_part() 189 int blkdev_reread_part(struct block_device *bdev) in blkdev_reread_part() 201 static int blk_ioctl_discard(struct block_device *bdev, fmode_t mode, in blk_ioctl_discard() 234 static int blk_ioctl_zeroout(struct block_device *bdev, fmode_t mode, in blk_ioctl_zeroout() 298 int __blkdev_driver_ioctl(struct block_device *bdev, fmode_t mode, in __blkdev_driver_ioctl() 315 static int blkdev_pr_register(struct block_device *bdev, in blkdev_pr_register() 333 static int blkdev_pr_reserve(struct block_device *bdev, in blkdev_pr_reserve() 351 static int blkdev_pr_release(struct block_device *bdev, in blkdev_pr_release() 369 static int blkdev_pr_preempt(struct block_device *bdev, in blkdev_pr_preempt() [all …]
|
D | blk-lib.c | 25 int __blkdev_issue_discard(struct block_device *bdev, sector_t sector, in __blkdev_issue_discard() 97 int blkdev_issue_discard(struct block_device *bdev, sector_t sector, in blkdev_issue_discard() 131 static int __blkdev_issue_write_same(struct block_device *bdev, sector_t sector, in __blkdev_issue_write_same() 192 int blkdev_issue_write_same(struct block_device *bdev, sector_t sector, in blkdev_issue_write_same() 212 static int __blkdev_issue_write_zeroes(struct block_device *bdev, in __blkdev_issue_write_zeroes() 268 static int __blkdev_issue_zero_pages(struct block_device *bdev, in __blkdev_issue_zero_pages() 324 int __blkdev_issue_zeroout(struct block_device *bdev, sector_t sector, in __blkdev_issue_zeroout() 358 int blkdev_issue_zeroout(struct block_device *bdev, sector_t sector, in blkdev_issue_zeroout()
|
D | compat_ioctl.c | 52 static int compat_hdio_getgeo(struct gendisk *disk, struct block_device *bdev, in compat_hdio_getgeo() 81 static int compat_hdio_ioctl(struct block_device *bdev, fmode_t mode, in compat_hdio_ioctl() 118 static int compat_cdrom_read_audio(struct block_device *bdev, fmode_t mode, in compat_cdrom_read_audio() 145 static int compat_cdrom_generic_command(struct block_device *bdev, fmode_t mode, in compat_cdrom_generic_command() 184 static int compat_blkpg_ioctl(struct block_device *bdev, fmode_t mode, in compat_blkpg_ioctl() 210 static int compat_blkdev_driver_ioctl(struct block_device *bdev, fmode_t mode, in compat_blkdev_driver_ioctl() 320 struct block_device *bdev = inode->i_bdev; in compat_blkdev_ioctl() local
|
D | blk-zoned.c | 109 int blkdev_report_zones(struct block_device *bdev, sector_t sector, in blkdev_report_zones() 126 static inline bool blkdev_allow_reset_all_zones(struct block_device *bdev, in blkdev_allow_reset_all_zones() 156 int blkdev_zone_mgmt(struct block_device *bdev, enum req_opf op, in blkdev_zone_mgmt() 234 int blkdev_report_zones_ioctl(struct block_device *bdev, fmode_t mode, in blkdev_report_zones_ioctl() 278 int blkdev_zone_mgmt_ioctl(struct block_device *bdev, fmode_t mode, in blkdev_zone_mgmt_ioctl()
|
D | partition-generic.c | 47 const char *bdevname(struct block_device *bdev, char *buf) in bdevname() 442 static int drop_partitions(struct gendisk *disk, struct block_device *bdev) in drop_partitions() 462 int rescan_partitions(struct gendisk *disk, struct block_device *bdev) in rescan_partitions() 586 int invalidate_partitions(struct gendisk *disk, struct block_device *bdev) in invalidate_partitions() 606 unsigned char *read_dev_sector(struct block_device *bdev, sector_t n, Sector *p) in read_dev_sector()
|
D | blk-settings.c | 632 int bdev_stack_limits(struct queue_limits *t, struct block_device *bdev, in bdev_stack_limits() 653 void disk_stack_limits(struct gendisk *disk, struct block_device *bdev, in disk_stack_limits()
|
D | cmdline-parser.c | 213 const char *bdev) in cmdline_parts_find()
|
D | genhd.c | 600 struct block_device *bdev; in register_disk() local 929 struct block_device *bdev = NULL; in bdget_disk() local 1570 void set_device_ro(struct block_device *bdev, int flag) in set_device_ro() 1595 int bdev_read_only(struct block_device *bdev) in bdev_read_only() 1607 struct block_device *bdev = bdget_disk(disk, partno); in invalidate_partition() local
|
D | blk-flush.c | 433 int blkdev_issue_flush(struct block_device *bdev, gfp_t gfp_mask, in blkdev_issue_flush()
|
/block/partitions/ |
D | check.c | 143 check_partition(struct gendisk *hd, struct block_device *bdev) in check_partition()
|
D | efi.c | 134 static u64 last_lba(struct block_device *bdev) in last_lba() 241 struct block_device *bdev = state->bdev; in read_lba() local
|
D | cmdline.c | 127 char bdev[BDEVNAME_SIZE]; in cmdline_partition() local
|
D | check.h | 11 struct block_device *bdev; member
|
D | ibm.c | 292 struct block_device *bdev = state->bdev; in ibm_partition() local
|
D | aix.c | 79 static u64 last_lba(struct block_device *bdev) in last_lba()
|