Lines Matching full:mesh
49 static int apply_changes(struct gmesh *mesh);
50 static void apply_workaround(struct gmesh *mesh);
51 static struct partedit_item *read_geom_mesh(struct gmesh *mesh, int *nitems);
61 struct gmesh mesh; in sigint_handler() local
64 if (geom_gettree(&mesh) == 0) { in sigint_handler()
65 gpart_revert_all(&mesh); in sigint_handler()
66 geom_deletetree(&mesh); in sigint_handler()
80 struct gmesh mesh; in main() local
130 error = geom_gettree(&mesh); in main()
132 items = read_geom_mesh(&mesh, &nitems); in main()
160 gpart_revert_all(&mesh); in main()
201 error = apply_changes(&mesh); in main()
203 apply_workaround(&mesh); in main()
206 gpart_revert_all(&mesh); in main()
212 geom_deletetree(&mesh); in main()
217 error = geom_gettree(&mesh); in main()
220 error = apply_changes(&mesh); in main()
222 gpart_revert_all(&mesh); in main()
225 geom_deletetree(&mesh); in main()
340 apply_changes(struct gmesh *mesh) in apply_changes() argument
378 gpart_commit(mesh); in apply_changes()
460 apply_workaround(struct gmesh *mesh) in apply_workaround() argument
468 LIST_FOREACH(classp, &mesh->lg_class, lg_class) { in apply_workaround()
500 read_geom_mesh(struct gmesh *mesh, int *nitems) in read_geom_mesh() argument
513 LIST_FOREACH(classp, &mesh->lg_class, lg_class) { in read_geom_mesh()