Searched refs:disk (Results 1 – 10 of 10) sorted by relevance
/include/linux/ |
D | genhd.h | 168 static inline bool disk_live(struct gendisk *disk) in disk_live() argument 170 return !inode_unhashed(disk->part0->bd_inode); in disk_live() 179 #define disk_to_dev(disk) \ argument 180 (&((disk)->part0->bd_device)) 183 #define disk_to_cdi(disk) ((disk)->cdi) argument 185 #define disk_to_cdi(disk) NULL argument 188 static inline int disk_max_parts(struct gendisk *disk) in disk_max_parts() argument 190 if (disk->flags & GENHD_FL_EXT_DEVT) in disk_max_parts() 192 return disk->minors; in disk_max_parts() 195 static inline bool disk_part_scan_enabled(struct gendisk *disk) in disk_part_scan_enabled() argument [all …]
|
D | dqblk_qtree.h | 23 …void (*mem2disk_dqblk)(void *disk, struct dquot *dquot); /* Convert given entry from in memory for… 24 …void (*disk2mem_dqblk)(struct dquot *dquot, void *disk); /* Convert given entry from disk format t… 25 int (*is_id)(void *disk, struct dquot *dquot); /* Is this structure for given id? */ 46 int qtree_entry_unused(struct qtree_mem_dqinfo *info, char *disk);
|
D | dasd_mod.h | 9 extern int dasd_biodasdinfo(struct gendisk *disk, dasd_information2_t *info);
|
D | blkdev.h | 345 void blk_queue_set_zoned(struct gendisk *disk, enum blk_zoned_model model); 352 unsigned int blkdev_nr_zones(struct gendisk *disk); 356 int blk_revalidate_disk_zones(struct gendisk *disk, 357 void (*update_driver_data)(struct gendisk *disk)); 366 static inline unsigned int blkdev_nr_zones(struct gendisk *disk) in blkdev_nr_zones() argument 431 struct gendisk *disk; member 876 extern int blk_register_queue(struct gendisk *disk); 877 extern void blk_unregister_queue(struct gendisk *disk); 1138 void disk_update_readahead(struct gendisk *disk); 1148 extern void disk_stack_limits(struct gendisk *disk, struct block_device *bdev, [all …]
|
D | drbd.h | 259 unsigned disk:4 ; /* 8/16 from D_DISKLESS to D_UP_TO_DATE */ member 277 unsigned disk:4 ; /* 8/16 from D_DISKLESS to D_UP_TO_DATE */
|
D | pktcdvd.h | 192 struct gendisk *disk; member
|
D | cdrom.h | 43 struct gendisk *disk; /* matching block layer disk */ member 112 extern int register_cdrom(struct gendisk *disk, struct cdrom_device_info *cdi);
|
/include/scsi/ |
D | scsi_ioctl.h | 48 int scsi_ioctl(struct scsi_device *sdev, struct gendisk *disk, fmode_t mode,
|
/include/linux/mtd/ |
D | blktrans.h | 30 struct gendisk *disk; member
|
/include/trace/events/ |
D | bcache.h | 26 __entry->orig_major = d->disk->major; 27 __entry->orig_minor = d->disk->first_minor;
|