Searched defs:disk (Results 1 – 11 of 11) sorted by relevance
23 #define disk_to_dev(disk) (&(disk)->part0.__dev) argument237 static inline int disk_max_parts(struct gendisk *disk) in disk_max_parts()244 static inline bool disk_part_scan_enabled(struct gendisk *disk) in disk_part_scan_enabled()250 static inline dev_t disk_devt(struct gendisk *disk) in disk_devt()277 struct gendisk *disk; member399 static inline struct partition_meta_info *alloc_part_info(struct gendisk *disk) in alloc_part_info()417 static inline void add_disk(struct gendisk *disk) in add_disk()429 static inline int get_disk_ro(struct gendisk *disk) in get_disk_ro()447 static inline sector_t get_capacity(struct gendisk *disk) in get_capacity()451 static inline void set_capacity(struct gendisk *disk, sector_t size) in set_capacity()[all …]
53 int disk; /* disk in drive (-1 == unknown) */ member
192 struct gendisk *disk; member
271 unsigned disk:4 ; /* 8/16 from D_DISKLESS to D_UP_TO_DATE */ member
211 struct gendisk *disk; member
41 struct gendisk *disk; /* matching block layer disk */ member
1535 static inline struct blk_integrity *blk_get_integrity(struct gendisk *disk) in blk_get_integrity()1614 static inline struct blk_integrity *blk_get_integrity(struct gendisk *disk) in blk_get_integrity()
213 struct gendisk *disk; member
2489 struct gendisk *disk) in bd_link_disk_holder()2494 struct gendisk *disk) in bd_unlink_disk_holder()
593 #define ide_drv_g(disk, cont_type) \ argument
45 struct gendisk *disk; member