Lines Matching refs:install
69 md_get_info(struct install_partition_desc *install)
114 md_make_bsd_partitions(struct install_partition_desc *install)
117 return make_bsd_partitions(install);
121 find_boot_part(struct install_partition_desc *install)
123 for (size_t i = 0; i < install->num; i++) {
124 if (install->infos[i].fs_type != PART_BOOT_TYPE)
126 if (install->infos[i].fs_version != PART_BOOT_SUBT)
128 if (install->infos[i].size < (PART_BOOT/512))
130 if (install->infos[i].cur_start > 0)
141 md_check_partitions(struct install_partition_desc *install)
148 if (find_boot_part(install) != NO_PART)
160 md_pre_disklabel(struct install_partition_desc *install,
171 md_post_disklabel(struct install_partition_desc *install,
197 * hook called after install() has finished setting up the target disk
202 md_post_newfs(struct install_partition_desc *install)
205 part_id boot_part = find_boot_part(install);
210 if (!install->infos[boot_part].parts->pscheme->get_part_device(
211 install->infos[boot_part].parts,
212 install->infos[boot_part].cur_part_id,
215 if (!install->infos[boot_part].parts->pscheme->get_part_device(
216 install->infos[boot_part].parts,
217 install->infos[boot_part].cur_part_id,
229 md_post_extract(struct install_partition_desc *install, bool upgrade)
236 md_cleanup_install(struct install_partition_desc *install)
247 md_pre_update(struct install_partition_desc *install)
254 md_update(struct install_partition_desc *install)
261 part_id boot_part = find_boot_part(install);
266 if (!install->infos[boot_part].parts->pscheme->get_part_device(
267 install->infos[boot_part].parts,
268 install->infos[boot_part].cur_part_id,
291 md_pre_mount(struct install_partition_desc *install, size_t ndx)