Lines Matching refs:mesh
47 static char *boot_disk(struct gmesh *mesh);
48 static char *wizard_partition(struct gmesh *mesh, const char *disk);
55 struct gmesh mesh;
64 error = geom_gettree(&mesh);
67 error = geom_gettree(&mesh);
68 disk = boot_disk(&mesh);
74 schemeroot = wizard_partition(&mesh, disk);
79 geom_deletetree(&mesh);
82 error = geom_gettree(&mesh);
84 error = wizard_makeparts(&mesh, schemeroot, fstype, 1);
89 geom_deletetree(&mesh);
95 boot_disk(struct gmesh *mesh)
107 LIST_FOREACH(classp, &mesh->lg_class, lg_class) {
174 provider_for_name(struct gmesh *mesh, const char *name)
180 LIST_FOREACH(classp, &mesh->lg_class, lg_class) {
199 wizard_partition(struct gmesh *mesh, const char *disk)
209 LIST_FOREACH(classp, &mesh->lg_class, lg_class)
300 wizard_makeparts(struct gmesh *mesh, const char *disk, const char *fstype,
320 LIST_FOREACH(classp, &mesh->lg_class, lg_class)
328 pp = provider_for_name(mesh, disk);