Lines Matching refs:dev_desc

99 int part_get_info(struct blk_desc *dev_desc, int part, disk_partition_t *info);
104 int part_get_info_whole_disk(struct blk_desc *dev_desc, disk_partition_t *info);
106 void part_print(struct blk_desc *dev_desc);
107 void part_init(struct blk_desc *dev_desc);
108 void dev_print(struct blk_desc *dev_desc);
136 struct blk_desc **dev_desc);
172 struct blk_desc **dev_desc,
187 int part_get_info_by_name_type(struct blk_desc *dev_desc, const char *name,
201 int part_get_info_by_name(struct blk_desc *dev_desc,
215 void part_set_generic_name(const struct blk_desc *dev_desc,
224 static inline int part_get_info(struct blk_desc *dev_desc, int part, in part_get_info() argument
226 static inline int part_get_info_whole_disk(struct blk_desc *dev_desc, in part_get_info_whole_disk() argument
229 static inline void part_print(struct blk_desc *dev_desc) {} in part_print() argument
230 static inline void part_init(struct blk_desc *dev_desc) {} in part_init() argument
231 static inline void dev_print(struct blk_desc *dev_desc) {} in dev_print() argument
233 struct blk_desc **dev_desc) in blk_get_device_by_str() argument
237 struct blk_desc **dev_desc, in blk_get_device_part_str() argument
240 { *dev_desc = NULL; return -1; } in blk_get_device_part_str()
273 int (*get_info)(struct blk_desc *dev_desc, int part,
281 void (*print)(struct blk_desc *dev_desc);
290 int (*test)(struct blk_desc *dev_desc);
310 int write_gpt_table(struct blk_desc *dev_desc,
324 int gpt_fill_pte(struct blk_desc *dev_desc,
338 int gpt_fill_header(struct blk_desc *dev_desc, gpt_header *gpt_h,
351 int gpt_restore(struct blk_desc *dev_desc, char *str_disk_guid,
362 int is_valid_gpt_buf(struct blk_desc *dev_desc, void *buf);
372 int write_mbr_and_gpt_partitions(struct blk_desc *dev_desc, void *buf);
386 int gpt_verify_headers(struct blk_desc *dev_desc, gpt_header *gpt_head,
405 int gpt_verify_partitions(struct blk_desc *dev_desc,
421 int get_disk_guid(struct blk_desc *dev_desc, char *guid);
443 int write_mbr_partition(struct blk_desc *dev_desc, void *buf);