Searched refs:gendisk (Results 1 – 10 of 10) sorted by relevance
/include/linux/ |
D | genhd.h | 112 struct gendisk { struct 168 static inline bool disk_live(struct gendisk *disk) in disk_live() argument 188 static inline int disk_max_parts(struct gendisk *disk) in disk_max_parts() 195 static inline bool disk_part_scan_enabled(struct gendisk *disk) in disk_part_scan_enabled() 200 static inline dev_t disk_devt(struct gendisk *disk) in disk_devt() 205 void disk_uevent(struct gendisk *disk, enum kobject_action action); 208 int device_add_disk(struct device *parent, struct gendisk *disk, 210 static inline int add_disk(struct gendisk *disk) in add_disk() 214 extern void del_gendisk(struct gendisk *gp); 216 void set_disk_ro(struct gendisk *disk, bool read_only); [all …]
|
D | dasd_mod.h | 7 struct gendisk; 9 extern int dasd_biodasdinfo(struct gendisk *disk, dasd_information2_t *info);
|
D | blkdev.h | 179 struct gendisk *rq_disk; 346 void blk_queue_set_zoned(struct gendisk *disk, enum blk_zoned_model model); 353 unsigned int blkdev_nr_zones(struct gendisk *disk); 357 int blk_revalidate_disk_zones(struct gendisk *disk, 358 void (*update_driver_data)(struct gendisk *disk)); 367 static inline unsigned int blkdev_nr_zones(struct gendisk *disk) in blkdev_nr_zones() 432 struct gendisk *disk; 902 extern int blk_register_queue(struct gendisk *disk); 903 extern void blk_unregister_queue(struct gendisk *disk); 930 extern void blk_execute_rq_nowait(struct gendisk *, [all …]
|
D | pktcdvd.h | 192 struct gendisk *disk;
|
D | cdrom.h | 43 struct gendisk *disk; /* matching block layer disk */ 112 extern int register_cdrom(struct gendisk *disk, struct cdrom_device_info *cdi);
|
D | blk_types.h | 41 struct gendisk * bd_disk;
|
D | blk-mq.h | 435 struct gendisk *__blk_mq_alloc_disk(struct blk_mq_tag_set *set, void *queuedata,
|
D | device-mapper.h | 474 struct gendisk *dm_disk(struct mapped_device *md);
|
/include/scsi/ |
D | scsi_ioctl.h | 21 struct gendisk; 48 int scsi_ioctl(struct scsi_device *sdev, struct gendisk *disk, fmode_t mode,
|
/include/linux/mtd/ |
D | blktrans.h | 30 struct gendisk *disk;
|