Home
last modified time | relevance | path

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

/include/linux/
Dgenhd.h22 #define disk_to_dev(disk) (&(disk)->part0.__dev) argument
253 static inline int disk_max_parts(struct gendisk *disk) in disk_max_parts() argument
255 if (disk->flags & GENHD_FL_EXT_DEVT) in disk_max_parts()
257 return disk->minors; in disk_max_parts()
260 static inline bool disk_part_scan_enabled(struct gendisk *disk) in disk_part_scan_enabled() argument
262 return disk_max_parts(disk) > 1 && in disk_part_scan_enabled()
263 !(disk->flags & GENHD_FL_NO_PART_SCAN); in disk_part_scan_enabled()
266 static inline dev_t disk_devt(struct gendisk *disk) in disk_devt() argument
268 return disk_to_dev(disk)->devt; in disk_devt()
276 extern struct hd_struct *disk_get_part(struct gendisk *disk, int partno);
[all …]
Ddqblk_qtree.h21 …void (*mem2disk_dqblk)(void *disk, struct dquot *dquot); /* Convert given entry from in memory for…
22 …void (*disk2mem_dqblk)(struct dquot *dquot, void *disk); /* Convert given entry from disk format t…
23 int (*is_id)(void *disk, struct dquot *dquot); /* Is this structure for given id? */
44 int qtree_entry_unused(struct qtree_mem_dqinfo *info, char *disk);
Damifd.h53 int disk; /* disk in drive (-1 == unknown) */ member
Ddrbd.h272 unsigned disk:4 ; /* 8/16 from D_DISKLESS to D_UP_TO_DATE */ member
290 unsigned disk:4 ; /* 8/16 from D_DISKLESS to D_UP_TO_DATE */
Dpktcdvd.h192 struct gendisk *disk; member
Dblkdev.h774 extern int blk_register_queue(struct gendisk *disk);
775 extern void blk_unregister_queue(struct gendisk *disk);
1010 extern void disk_stack_limits(struct gendisk *disk, struct block_device *bdev,
1533 static inline struct blk_integrity *blk_get_integrity(struct gendisk *disk) in blk_get_integrity() argument
1535 struct blk_integrity *bi = &disk->queue->integrity; in blk_get_integrity()
1612 static inline struct blk_integrity *blk_get_integrity(struct gendisk *disk) in blk_get_integrity() argument
1669 unsigned int (*check_events) (struct gendisk *disk,
Dcdrom.h41 struct gendisk *disk; /* matching block layer disk */ member
Dlightnvm.h179 struct gendisk *disk; member
Dfs.h2415 extern int bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk);
2417 struct gendisk *disk);
2420 struct gendisk *disk) in bd_link_disk_holder() argument
2425 struct gendisk *disk) in bd_unlink_disk_holder() argument
2486 extern void check_disk_size_change(struct gendisk *disk,
Dide.h592 #define ide_drv_g(disk, cont_type) \ argument
593 container_of((disk)->private_data, struct cont_type, driver)
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;