Home
last modified time | relevance | path

Searched refs:gendisk (Results 1 – 10 of 10) sorted by relevance

/include/linux/
Dgenhd.h112 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 …]
Ddasd_mod.h7 struct gendisk;
9 extern int dasd_biodasdinfo(struct gendisk *disk, dasd_information2_t *info);
Dblkdev.h179 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 …]
Dpktcdvd.h192 struct gendisk *disk;
Dcdrom.h43 struct gendisk *disk; /* matching block layer disk */
112 extern int register_cdrom(struct gendisk *disk, struct cdrom_device_info *cdi);
Dblk_types.h41 struct gendisk * bd_disk;
Dblk-mq.h435 struct gendisk *__blk_mq_alloc_disk(struct blk_mq_tag_set *set, void *queuedata,
Ddevice-mapper.h474 struct gendisk *dm_disk(struct mapped_device *md);
/include/scsi/
Dscsi_ioctl.h21 struct gendisk;
48 int scsi_ioctl(struct scsi_device *sdev, struct gendisk *disk, fmode_t mode,
/include/linux/mtd/
Dblktrans.h30 struct gendisk *disk;