Lines Matching full:mesh
197 find_class(struct gmesh *mesh, const char *name) in find_class() argument
201 LIST_FOREACH(classp, &mesh->lg_class, lg_class) { in find_class()
322 struct gmesh mesh; in gpart_autofill_resize() local
341 error = geom_gettree_geom(&mesh, s, g, 1); in gpart_autofill_resize()
344 cp = find_class(&mesh, s); in gpart_autofill_resize()
431 geom_deletetree(&mesh); in gpart_autofill_resize()
438 geom_deletetree(&mesh); in gpart_autofill_resize()
445 struct gmesh mesh; in gpart_autofill() local
468 error = geom_gettree_geom(&mesh, s, g, 1); in gpart_autofill()
471 cp = find_class(&mesh, s); in gpart_autofill()
608 geom_deletetree(&mesh); in gpart_autofill()
617 geom_deletetree(&mesh); in gpart_autofill()
724 struct gmesh mesh; in gpart_show() local
743 error = geom_gettree_geom(&mesh, name, in gpart_show()
746 error = geom_gettree(&mesh); in gpart_show()
749 classp = find_class(&mesh, name); in gpart_show()
751 geom_deletetree(&mesh); in gpart_show()
769 geom_deletetree(&mesh); in gpart_show()
775 struct gmesh mesh; in gpart_backup() local
792 error = geom_gettree_geom(&mesh, s, g, 0); in gpart_backup()
795 classp = find_class(&mesh, s); in gpart_backup()
797 geom_deletetree(&mesh); in gpart_backup()
838 geom_deletetree(&mesh); in gpart_backup()
864 struct gmesh mesh; in gpart_restore() local
884 error = geom_gettree(&mesh); in gpart_restore()
887 classp = find_class(&mesh, s); in gpart_restore()
889 geom_deletetree(&mesh); in gpart_restore()
1055 geom_deletetree(&mesh); in gpart_restore()
1069 geom_deletetree(&mesh); in gpart_restore()
1109 struct gmesh mesh; in gpart_write_partcode() local
1124 error = geom_gettree_geom(&mesh, s, g, 0); in gpart_write_partcode()
1127 classp = find_class(&mesh, s); in gpart_write_partcode()
1129 geom_deletetree(&mesh); in gpart_write_partcode()
1173 geom_deletetree(&mesh); in gpart_write_partcode()