Searched refs:disk_info (Results 1 – 4 of 4) sorted by relevance
/system/core/libdiskconfig/include/diskconfig/ |
D | diskconfig.h | 89 struct disk_info { struct 113 struct disk_info *load_diskconfig(const char *fn, char *path_override); argument 114 int dump_disk_config(struct disk_info *dinfo); 115 int apply_disk_config(struct disk_info *dinfo, int test); 116 char *find_part_device(struct disk_info *dinfo, const char *name); 117 int process_disk_config(struct disk_info *dinfo); 118 struct part_info *find_part(struct disk_info *dinfo, const char *name); 123 struct write_list *config_mbr(struct disk_info *dinfo); 124 char *find_mbr_part(struct disk_info *dinfo, const char *name);
|
/system/core/libdiskconfig/ |
D | diskconfig.c | 92 load_partitions(cnode *root, struct disk_info *dinfo) in load_partitions() 138 struct disk_info * 141 struct disk_info *dinfo; in load_diskconfig() 147 if (!(dinfo = malloc(sizeof(struct disk_info)))) { in load_diskconfig() 151 memset(dinfo, 0, sizeof(struct disk_info)); in load_diskconfig() 270 validate(struct disk_info *dinfo) in validate() 386 validate_and_config(struct disk_info *dinfo, int *fd, struct write_list **lst) in validate_and_config() 418 process_disk_config(struct disk_info *dinfo) in process_disk_config() 433 apply_disk_config(struct disk_info *dinfo, int test) in apply_disk_config() 459 dump_disk_config(struct disk_info *dinfo) in dump_disk_config() [all …]
|
D | dump_diskconfig.c | 29 struct disk_info *dinfo; in main()
|
D | config_mbr.c | 70 mk_pri_pentry(struct disk_info *dinfo, struct part_info *pinfo, int pnum, in mk_pri_pentry() 140 mk_ext_pentry(struct disk_info *dinfo, struct part_info *pinfo, uint32_t *lba, in mk_ext_pentry() 231 config_mbr(struct disk_info *dinfo) in config_mbr() 320 find_mbr_part(struct disk_info *dinfo, const char *name) in find_mbr_part()
|