Home
last modified time | relevance | path

Searched refs:disk_info (Results 1 – 5 of 5) sorted by relevance

/system/core/include/diskconfig/
Ddiskconfig.h89 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/
Ddiskconfig.c93 load_partitions(cnode *root, struct disk_info *dinfo) in load_partitions()
139 struct disk_info *
142 struct disk_info *dinfo; in load_diskconfig()
148 if (!(dinfo = malloc(sizeof(struct disk_info)))) { in load_diskconfig()
152 memset(dinfo, 0, sizeof(struct disk_info)); in load_diskconfig()
271 validate(struct disk_info *dinfo) in validate()
387 validate_and_config(struct disk_info *dinfo, int *fd, struct write_list **lst) in validate_and_config()
419 process_disk_config(struct disk_info *dinfo) in process_disk_config()
434 apply_disk_config(struct disk_info *dinfo, int test) in apply_disk_config()
460 dump_disk_config(struct disk_info *dinfo) in dump_disk_config()
[all …]
Ddump_diskconfig.c28 struct disk_info *dinfo; in main()
Dconfig_mbr.c71 mk_pri_pentry(struct disk_info *dinfo, struct part_info *pinfo, int pnum, in mk_pri_pentry()
141 mk_ext_pentry(struct disk_info *dinfo, struct part_info *pinfo, uint32_t *lba, in mk_ext_pentry()
212 config_mbr(struct disk_info *dinfo) in config_mbr()
294 find_mbr_part(struct disk_info *dinfo, const char *name) in find_mbr_part()
/system/vold/
DVolume.cpp607 struct disk_info dinfo; in initializeMbr()