Lines Matching refs:dev_desc

109 int part_get_info(struct blk_desc *dev_desc, int part,
115 int part_get_info_whole_disk(struct blk_desc *dev_desc,
118 void part_print(struct blk_desc *dev_desc);
119 void part_init(struct blk_desc *dev_desc);
120 void dev_print(struct blk_desc *dev_desc);
148 struct blk_desc **dev_desc);
184 struct blk_desc **dev_desc,
199 int part_get_info_by_name_type(struct blk_desc *dev_desc, const char *name,
213 int part_get_info_by_name(struct blk_desc *dev_desc,
237 struct blk_desc **dev_desc,
252 void part_set_generic_name(const struct blk_desc *dev_desc,
261 static inline int part_get_info(struct blk_desc *dev_desc, int part, in part_get_info() argument
263 static inline int part_get_info_whole_disk(struct blk_desc *dev_desc, in part_get_info_whole_disk() argument
266 static inline void part_print(struct blk_desc *dev_desc) {} in part_print() argument
267 static inline void part_init(struct blk_desc *dev_desc) {} in part_init() argument
268 static inline void dev_print(struct blk_desc *dev_desc) {} in dev_print() argument
270 struct blk_desc **dev_desc) in blk_get_device_by_str() argument
274 struct blk_desc **dev_desc, in blk_get_device_part_str() argument
277 { *dev_desc = NULL; return -1; } in blk_get_device_part_str()
279 static inline int part_get_info_by_name_type(struct blk_desc *dev_desc, in part_get_info_by_name_type() argument
287 static inline int part_get_info_by_name(struct blk_desc *dev_desc, in part_get_info_by_name() argument
297 struct blk_desc **dev_desc, in part_get_info_by_dev_and_name_or_num() argument
301 *dev_desc = NULL; in part_get_info_by_dev_and_name_or_num()
391 int (*get_info)(struct blk_desc *dev_desc, int part,
399 void (*print)(struct blk_desc *dev_desc);
408 int (*test)(struct blk_desc *dev_desc);
428 int write_gpt_table(struct blk_desc *dev_desc,
442 int gpt_fill_pte(struct blk_desc *dev_desc,
456 int gpt_fill_header(struct blk_desc *dev_desc, gpt_header *gpt_h,
469 int gpt_restore(struct blk_desc *dev_desc, char *str_disk_guid,
480 int is_valid_gpt_buf(struct blk_desc *dev_desc, void *buf);
490 int write_mbr_and_gpt_partitions(struct blk_desc *dev_desc, void *buf);
504 int gpt_verify_headers(struct blk_desc *dev_desc, gpt_header *gpt_head,
515 int gpt_repair_headers(struct blk_desc *dev_desc);
533 int gpt_verify_partitions(struct blk_desc *dev_desc,
549 int get_disk_guid(struct blk_desc *dev_desc, char *guid);
571 int write_mbr_sector(struct blk_desc *dev_desc, void *buf);