Home
last modified time | relevance | path

Searched refs:disk (Results 1 – 13 of 13) sorted by relevance

/include/linux/
Dgenhd.h23 #define disk_to_dev(disk) (&(disk)->part0.__dev) argument
237 static inline int disk_max_parts(struct gendisk *disk) in disk_max_parts() argument
239 if (disk->flags & GENHD_FL_EXT_DEVT) in disk_max_parts()
241 return disk->minors; in disk_max_parts()
244 static inline bool disk_part_scan_enabled(struct gendisk *disk) in disk_part_scan_enabled() argument
246 return disk_max_parts(disk) > 1 && in disk_part_scan_enabled()
247 !(disk->flags & GENHD_FL_NO_PART_SCAN); in disk_part_scan_enabled()
250 static inline dev_t disk_devt(struct gendisk *disk) in disk_devt() argument
252 return disk_to_dev(disk)->devt; in disk_devt()
260 extern struct hd_struct *disk_get_part(struct gendisk *disk, int partno);
[all …]
Ddqblk_qtree.h22 …void (*mem2disk_dqblk)(void *disk, struct dquot *dquot); /* Convert given entry from in memory for…
23 …void (*disk2mem_dqblk)(struct dquot *dquot, void *disk); /* Convert given entry from disk format t…
24 int (*is_id)(void *disk, struct dquot *dquot); /* Is this structure for given id? */
45 int qtree_entry_unused(struct qtree_mem_dqinfo *info, char *disk);
Damifd.h53 int disk; /* disk in drive (-1 == unknown) */ member
Ddrbd.h271 unsigned disk:4 ; /* 8/16 from D_DISKLESS to D_UP_TO_DATE */ member
289 unsigned disk:4 ; /* 8/16 from D_DISKLESS to D_UP_TO_DATE */
Dpktcdvd.h192 struct gendisk *disk; member
Dblkdev.h787 extern int blk_register_queue(struct gendisk *disk);
788 extern void blk_unregister_queue(struct gendisk *disk);
1011 extern void disk_stack_limits(struct gendisk *disk, struct block_device *bdev,
1535 static inline struct blk_integrity *blk_get_integrity(struct gendisk *disk) in blk_get_integrity() argument
1537 struct blk_integrity *bi = &disk->queue->integrity; in blk_get_integrity()
1614 static inline struct blk_integrity *blk_get_integrity(struct gendisk *disk) in blk_get_integrity() argument
1685 unsigned int (*check_events) (struct gendisk *disk,
Dcdrom.h41 struct gendisk *disk; /* matching block layer disk */ member
Dlightnvm.h213 struct gendisk *disk; member
Dide.h593 #define ide_drv_g(disk, cont_type) \ argument
594 container_of((disk)->private_data, struct cont_type, driver)
Dfs.h2484 extern int bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk);
2486 struct gendisk *disk);
2489 struct gendisk *disk) in bd_link_disk_holder() argument
2494 struct gendisk *disk) in bd_unlink_disk_holder() argument
2560 extern void check_disk_size_change(struct gendisk *disk,
Dblk-cgroup.h211 struct gendisk *disk; member
/include/linux/mtd/
Dblktrans.h45 struct gendisk *disk; member
/include/trace/events/
Dbcache.h25 __entry->orig_major = d->disk->major;
26 __entry->orig_minor = d->disk->first_minor;