/block/ |
D | ioctl.c | 13 static int blkpg_ioctl(struct block_device *bdev, struct blkpg_ioctl_arg __user *arg) in blkpg_ioctl() 162 int __blkdev_reread_part(struct block_device *bdev) in __blkdev_reread_part() 188 int blkdev_reread_part(struct block_device *bdev) in blkdev_reread_part() 200 static int blk_ioctl_discard(struct block_device *bdev, fmode_t mode, in blk_ioctl_discard() 227 static int blk_ioctl_zeroout(struct block_device *bdev, fmode_t mode, in blk_ioctl_zeroout() 291 int __blkdev_driver_ioctl(struct block_device *bdev, fmode_t mode, in __blkdev_driver_ioctl() 308 static int blkdev_pr_register(struct block_device *bdev, in blkdev_pr_register() 326 static int blkdev_pr_reserve(struct block_device *bdev, in blkdev_pr_reserve() 344 static int blkdev_pr_release(struct block_device *bdev, in blkdev_pr_release() 362 static int blkdev_pr_preempt(struct block_device *bdev, in blkdev_pr_preempt() [all …]
|
D | blk-lib.c | 26 int __blkdev_issue_discard(struct block_device *bdev, sector_t sector, in __blkdev_issue_discard() 129 int blkdev_issue_discard(struct block_device *bdev, sector_t sector, in blkdev_issue_discard() 163 static int __blkdev_issue_write_same(struct block_device *bdev, sector_t sector, in __blkdev_issue_write_same() 221 int blkdev_issue_write_same(struct block_device *bdev, sector_t sector, in blkdev_issue_write_same() 241 static int __blkdev_issue_write_zeroes(struct block_device *bdev, in __blkdev_issue_write_zeroes() 294 static int __blkdev_issue_zero_pages(struct block_device *bdev, in __blkdev_issue_zero_pages() 347 int __blkdev_issue_zeroout(struct block_device *bdev, sector_t sector, in __blkdev_issue_zeroout() 381 int blkdev_issue_zeroout(struct block_device *bdev, sector_t sector, in blkdev_issue_zeroout()
|
D | blk-zoned.c | 29 static bool blkdev_report_zone(struct block_device *bdev, in blkdev_report_zone() 65 int blkdev_report_zones(struct block_device *bdev, in blkdev_report_zones() 204 int blkdev_reset_zones(struct block_device *bdev, in blkdev_reset_zones() 261 int blkdev_report_zones_ioctl(struct block_device *bdev, fmode_t mode, in blkdev_report_zones_ioctl() 324 int blkdev_reset_zones_ioctl(struct block_device *bdev, fmode_t mode, in blkdev_reset_zones_ioctl()
|
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 | partition-generic.c | 47 const char *bdevname(struct block_device *bdev, char *buf) in bdevname() 434 static int drop_partitions(struct gendisk *disk, struct block_device *bdev) in drop_partitions() 455 struct block_device *bdev, in part_zone_aligned() 504 int rescan_partitions(struct gendisk *disk, struct block_device *bdev) in rescan_partitions() 634 int invalidate_partitions(struct gendisk *disk, struct block_device *bdev) in invalidate_partitions() 654 unsigned char *read_dev_sector(struct block_device *bdev, sector_t n, Sector *p) in read_dev_sector()
|
D | cmdline-parser.c | 213 const char *bdev) in cmdline_parts_find()
|
D | blk-settings.c | 685 int bdev_stack_limits(struct queue_limits *t, struct block_device *bdev, in bdev_stack_limits() 706 void disk_stack_limits(struct gendisk *disk, struct block_device *bdev, in disk_stack_limits()
|
D | genhd.c | 570 struct block_device *bdev; in register_disk() local 820 struct block_device *bdev = NULL; in bdget_disk() local 1467 void set_device_ro(struct block_device *bdev, int flag) in set_device_ro() 1492 int bdev_read_only(struct block_device *bdev) in bdev_read_only() 1504 struct block_device *bdev = bdget_disk(disk, partno); in invalidate_partition() local
|
D | blk-flush.c | 504 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 | 148 static u64 last_lba(struct block_device *bdev) in last_lba() 255 struct block_device *bdev = state->bdev; in read_lba() local
|
D | cmdline.c | 71 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()
|