Home
last modified time | relevance | path

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

/bootable/diskinstaller/libdiskconfig/
Ddiskconfig.h83 struct disk_info { struct
107 struct disk_info *load_diskconfig(const char *fn, char *path_override); argument
108 int dump_disk_config(struct disk_info *dinfo);
109 int apply_disk_config(struct disk_info *dinfo, int test);
110 char *find_part_device(struct disk_info *dinfo, const char *name);
111 int process_disk_config(struct disk_info *dinfo);
112 struct part_info *find_part(struct disk_info *dinfo, const char *name);
117 struct write_list *config_mbr(struct disk_info *dinfo);
118 char *find_mbr_part(struct disk_info *dinfo, const char *name);
Ddiskconfig.c93 load_partitions(cnode *root, struct disk_info *dinfo) in load_partitions()
137 struct disk_info *
140 struct disk_info *dinfo; in load_diskconfig()
146 if (!(dinfo = malloc(sizeof(struct disk_info)))) { in load_diskconfig()
150 memset(dinfo, 0, sizeof(struct disk_info)); in load_diskconfig()
269 validate(struct disk_info *dinfo) in validate()
384 validate_and_config(struct disk_info *dinfo, int *fd, struct write_list **lst) in validate_and_config()
416 process_disk_config(struct disk_info *dinfo) in process_disk_config()
431 apply_disk_config(struct disk_info *dinfo, int test) in apply_disk_config()
457 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()
/bootable/diskinstaller/editdisklbl/
Deditdisklbl.c55 parse_args(int argc, char *argv[], struct disk_info **dinfo, int *test, in parse_args()
169 struct disk_info *dinfo = NULL; in main()
/bootable/diskinstaller/
Dinstaller.c197 process_image_node(cnode *img, struct disk_info *dinfo, int test) in process_image_node()
379 struct disk_info *device_disk_info; in main()