Lines Matching refs:dev_desc

107 int part_get_info(struct blk_desc *dev_desc, int part, disk_partition_t *info);
112 int part_get_info_whole_disk(struct blk_desc *dev_desc, disk_partition_t *info);
113 const char *part_get_type(struct blk_desc *dev_desc);
114 void part_print(struct blk_desc *dev_desc);
115 void part_init(struct blk_desc *dev_desc);
116 void dev_print(struct blk_desc *dev_desc);
144 struct blk_desc **dev_desc);
180 struct blk_desc **dev_desc,
194 int part_get_info_by_name(struct blk_desc *dev_desc,
209 int part_get_info_by_name_strict(struct blk_desc *dev_desc, const char *name,
222 void part_set_generic_name(const struct blk_desc *dev_desc,
231 static inline int part_get_info(struct blk_desc *dev_desc, int part, in part_get_info() argument
233 static inline int part_get_info_whole_disk(struct blk_desc *dev_desc, in part_get_info_whole_disk() argument
237 static inline const char *part_get_type(struct blk_desc *dev_desc) { return NULL; } in part_get_type() argument
238 static inline void part_print(struct blk_desc *dev_desc) {} in part_print() argument
239 static inline void part_init(struct blk_desc *dev_desc) {} in part_init() argument
240 static inline void dev_print(struct blk_desc *dev_desc) {} in dev_print() argument
242 struct blk_desc **dev_desc) in blk_get_device_by_str() argument
246 struct blk_desc **dev_desc, in blk_get_device_part_str() argument
249 { *dev_desc = NULL; return -1; } in blk_get_device_part_str()
276 int (*get_info)(struct blk_desc *dev_desc, int part,
284 void (*print)(struct blk_desc *dev_desc);
293 int (*test)(struct blk_desc *dev_desc);
313 int write_gpt_table(struct blk_desc *dev_desc,
327 int gpt_fill_pte(struct blk_desc *dev_desc,
341 int gpt_fill_header(struct blk_desc *dev_desc, gpt_header *gpt_h,
354 int gpt_restore(struct blk_desc *dev_desc, char *str_disk_guid,
365 int is_valid_gpt_buf(struct blk_desc *dev_desc, void *buf);
375 int write_mbr_and_gpt_partitions(struct blk_desc *dev_desc, void *buf);
389 int gpt_verify_headers(struct blk_desc *dev_desc, gpt_header *gpt_head,
408 int gpt_verify_partitions(struct blk_desc *dev_desc,
424 int get_disk_guid(struct blk_desc *dev_desc, char *guid);
446 int write_mbr_partition(struct blk_desc *dev_desc, void *buf);