Searched defs:disk (Results 1 – 12 of 12) sorted by relevance
/block/ |
D | genhd.c | 97 struct hd_struct *__disk_get_part(struct gendisk *disk, int partno) in __disk_get_part() 120 struct hd_struct *disk_get_part(struct gendisk *disk, int partno) in disk_get_part() 145 void disk_part_iter_init(struct disk_part_iter *piter, struct gendisk *disk, in disk_part_iter_init() 266 struct hd_struct *disk_map_sector_rcu(struct gendisk *disk, sector_t sector) in disk_map_sector_rcu() 473 struct gendisk *disk = part_to_disk(part); in blk_alloc_devt() local 567 static void register_disk(struct device *parent, struct gendisk *disk) in register_disk() 643 void device_add_disk(struct device *parent, struct gendisk *disk) in device_add_disk() 697 void del_gendisk(struct gendisk *disk) in del_gendisk() 750 struct gendisk *disk = dev_to_disk(dev); in disk_badblocks_show() local 762 struct gendisk *disk = dev_to_disk(dev); in disk_badblocks_store() local [all …]
|
D | blk-integrity.c | 248 struct gendisk *disk = container_of(kobj, struct gendisk, integrity_kobj); in integrity_attr_show() local 260 struct gendisk *disk = container_of(kobj, struct gendisk, integrity_kobj); in integrity_attr_store() local 409 void blk_integrity_register(struct gendisk *disk, struct blk_integrity *template) in blk_integrity_register() 432 void blk_integrity_unregister(struct gendisk *disk) in blk_integrity_unregister() 439 void blk_integrity_add(struct gendisk *disk) in blk_integrity_add() 448 void blk_integrity_del(struct gendisk *disk) in blk_integrity_del()
|
D | partition-generic.c | 268 void delete_partition(struct gendisk *disk, int partno) in delete_partition() 301 struct hd_struct *add_partition(struct gendisk *disk, int partno, in add_partition() 418 static bool disk_unlock_native_capacity(struct gendisk *disk) in disk_unlock_native_capacity() 434 static int drop_partitions(struct gendisk *disk, struct block_device *bdev) in drop_partitions() 454 static bool part_zone_aligned(struct gendisk *disk, 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()
|
D | ioctl.c | 16 struct gendisk *disk; in blkpg_ioctl() local 164 struct gendisk *disk = bdev->bd_disk; in __blkdev_reread_part() local 294 struct gendisk *disk = bdev->bd_disk; in __blkdev_driver_ioctl() local 454 struct gendisk *disk = bdev->bd_disk; in blkdev_getgeo() local
|
D | blk-timeout.c | 43 struct gendisk *disk = dev_to_disk(dev); in part_timeout_show() local 52 struct gendisk *disk = dev_to_disk(dev); in part_timeout_store() local
|
D | compat_ioctl.c | 52 static int compat_hdio_getgeo(struct gendisk *disk, struct block_device *bdev, in compat_hdio_getgeo() 321 struct gendisk *disk = bdev->bd_disk; in compat_blkdev_ioctl() local
|
D | blk-sysfs.c | 862 int blk_register_queue(struct gendisk *disk) in blk_register_queue() 931 void blk_unregister_queue(struct gendisk *disk) in blk_unregister_queue()
|
D | scsi_ioctl.c | 419 int sg_scsi_ioctl(struct request_queue *q, struct gendisk *disk, fmode_t mode, in sg_scsi_ioctl()
|
D | blk-settings.c | 706 void disk_stack_limits(struct gendisk *disk, struct block_device *bdev, in disk_stack_limits()
|
D | blk-cgroup.c | 812 struct gendisk *disk; in blkg_conf_prep() local
|
/block/partitions/ |
D | ldm.c | 589 struct vblk *disk; in ldm_create_data_partitions() local 876 struct vblk_disk *disk; in ldm_parse_dsk3() local 915 struct vblk_disk *disk; in ldm_parse_dsk4() local
|
D | ldm.h | 192 struct vblk_disk disk; member
|