Lines Matching refs:blk_desc

101 struct blk_desc *blk_get_dev(const char *ifname, int dev);
103 struct blk_desc *mg_disk_get_dev(int dev);
104 int host_get_dev_err(int dev, struct blk_desc **blk_devp);
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,
227 static inline struct blk_desc *blk_get_dev(const char *ifname, int dev) in blk_get_dev()
229 static inline struct blk_desc *mg_disk_get_dev(int dev) { return NULL; } in mg_disk_get_dev()
231 static inline int part_get_info(struct blk_desc *dev_desc, int part, in part_get_info()
233 static inline int part_get_info_whole_disk(struct blk_desc *dev_desc, in part_get_info_whole_disk()
237 static inline const char *part_get_type(struct blk_desc *dev_desc) { return NULL; } in part_get_type()
238 static inline void part_print(struct blk_desc *dev_desc) {} in part_print()
239 static inline void part_init(struct blk_desc *dev_desc) {} in part_init()
240 static inline void dev_print(struct blk_desc *dev_desc) {} in dev_print()
242 struct blk_desc **dev_desc) in blk_get_device_by_str()
246 struct blk_desc **dev_desc, 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);