Home
last modified time | relevance | path

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

/external/kernel-headers/original/linux/
Dgenhd.h101 struct gendisk { struct
136 ssize_t (*show)(struct gendisk *, char *); argument
137 ssize_t (*store)(struct gendisk *, const char *, size_t);
159 static inline void disk_stat_set_all(struct gendisk *gendiskp, int value) { in disk_stat_set_all()
171 static inline void disk_stat_set_all(struct gendisk *gendiskp, int value) { in disk_stat_set_all()
197 static inline int init_disk_stats(struct gendisk *disk) in init_disk_stats()
205 static inline void free_disk_stats(struct gendisk *disk) in free_disk_stats()
210 static inline int init_disk_stats(struct gendisk *disk) in init_disk_stats()
215 static inline void free_disk_stats(struct gendisk *disk) in free_disk_stats()
221 extern void disk_round_stats(struct gendisk *disk);
[all …]
Dblkdev.h156 struct gendisk *rq_disk;
297 typedef int (issue_flush_fn) (request_queue_t *, struct gendisk *, sector_t *);
594 extern int blk_register_queue(struct gendisk *disk);
595 extern void blk_unregister_queue(struct gendisk *disk);
596 extern void register_disk(struct gendisk *dev);
607 extern int scsi_cmd_ioctl(struct file *, struct gendisk *, unsigned int, void __user *);
609 struct gendisk *, struct scsi_ioctl_command __user *);
620 extern int blk_execute_rq(request_queue_t *, struct gendisk *,
622 extern void blk_execute_rq_nowait(request_queue_t *, struct gendisk *,
Dfs.h430 struct gendisk * bd_disk;
1016 int (*media_changed) (struct gendisk *);
1017 int (*revalidate_disk) (struct gendisk *);
1464 extern int bd_claim_by_disk(struct block_device *, void *, struct gendisk *);
1465 extern void bd_release_from_disk(struct block_device *, struct gendisk *);
1517 extern int invalidate_partition(struct gendisk *, int);
Dcdrom.h935 struct gendisk *disk; /* matching block layer disk */
/external/kernel-headers/original/linux/raid/
Dmd_k.h120 struct gendisk *gendisk; member
298 return mddev->gendisk ? mddev->gendisk->disk_name : "mdX"; in mdname()