Lines Matching refs:blk_desc
103 struct blk_desc *blk_get_dev(const char *ifname, int dev);
105 struct blk_desc *mg_disk_get_dev(int dev);
106 int host_get_dev_err(int dev, struct blk_desc **blk_devp);
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,
257 static inline struct blk_desc *blk_get_dev(const char *ifname, int dev) in blk_get_dev()
259 static inline struct blk_desc *mg_disk_get_dev(int dev) { return NULL; } in mg_disk_get_dev()
261 static inline int part_get_info(struct blk_desc *dev_desc, int part, in part_get_info()
263 static inline int part_get_info_whole_disk(struct blk_desc *dev_desc, in part_get_info_whole_disk()
266 static inline void part_print(struct blk_desc *dev_desc) {} in part_print()
267 static inline void part_init(struct blk_desc *dev_desc) {} in part_init()
268 static inline void dev_print(struct blk_desc *dev_desc) {} in dev_print()
270 struct blk_desc **dev_desc) in blk_get_device_by_str()
274 struct blk_desc **dev_desc, in blk_get_device_part_str()
310 int (*get_info)(struct blk_desc *dev_desc, int part,
318 void (*print)(struct blk_desc *dev_desc);
327 int (*test)(struct blk_desc *dev_desc);
347 int write_gpt_table(struct blk_desc *dev_desc,
361 int gpt_fill_pte(struct blk_desc *dev_desc,
375 int gpt_fill_header(struct blk_desc *dev_desc, gpt_header *gpt_h,
388 int gpt_restore(struct blk_desc *dev_desc, char *str_disk_guid,
399 int is_valid_gpt_buf(struct blk_desc *dev_desc, void *buf);
409 int write_mbr_and_gpt_partitions(struct blk_desc *dev_desc, void *buf);
423 int gpt_verify_headers(struct blk_desc *dev_desc, gpt_header *gpt_head,
442 int gpt_verify_partitions(struct blk_desc *dev_desc,
458 int get_disk_guid(struct blk_desc *dev_desc, char *guid);
480 int write_mbr_sector(struct blk_desc *dev_desc, void *buf);
482 int write_mbr_partitions(struct blk_desc *dev,