• Home
  • Raw
  • Download

Lines Matching defs:part

24 #define part_to_dev(part)	(&((part)->__dev))  argument
162 struct hd_struct __rcu *part[]; member
220 static inline struct gendisk *part_to_disk(struct hd_struct *part) in part_to_disk()
255 static inline dev_t part_devt(struct hd_struct *part) in part_devt()
262 static inline void disk_put_part(struct hd_struct *part) in disk_put_part()
278 struct hd_struct *part; member
307 #define __part_stat_add(cpu, part, field, addnd) \ argument
310 #define part_stat_read(part, field) \ argument
319 static inline void part_stat_set_all(struct hd_struct *part, int value) in part_stat_set_all()
328 static inline int init_part_stats(struct hd_struct *part) in init_part_stats()
336 static inline void free_part_stats(struct hd_struct *part) in free_part_stats()
345 #define __part_stat_add(cpu, part, field, addnd) \ argument
348 #define part_stat_read(part, field) ((part)->dkstats.field) argument
350 static inline void part_stat_set_all(struct hd_struct *part, int value) in part_stat_set_all()
355 static inline int init_part_stats(struct hd_struct *part) in init_part_stats()
360 static inline void free_part_stats(struct hd_struct *part) in free_part_stats()
366 #define part_stat_add(cpu, part, field, addnd) do { \ argument
380 static inline void part_inc_in_flight(struct hd_struct *part, int rw) in part_inc_in_flight()
387 static inline void part_dec_in_flight(struct hd_struct *part, int rw) in part_dec_in_flight()
394 static inline int part_in_flight(struct hd_struct *part) in part_in_flight()
407 static inline void free_part_info(struct hd_struct *part) in free_part_info()
645 static inline int hd_ref_init(struct hd_struct *part) in hd_ref_init()
653 static inline void hd_struct_get(struct hd_struct *part) in hd_struct_get()
658 static inline int hd_struct_try_get(struct hd_struct *part) in hd_struct_try_get()
663 static inline void hd_struct_put(struct hd_struct *part) in hd_struct_put()
668 static inline void hd_struct_kill(struct hd_struct *part) in hd_struct_kill()
673 static inline void hd_free_part(struct hd_struct *part) in hd_free_part()
689 static inline sector_t part_nr_sects_read(struct hd_struct *part) in part_nr_sects_read()
716 static inline void part_nr_sects_write(struct hd_struct *part, sector_t size) in part_nr_sects_write()