Lines Matching refs:lg_geom
319 LIST_FOREACH(gc, &pp->lg_geom->lg_config, lg_config) {
340 gctl_ro_param(r, "arg0", -1, pp->lg_geom->lg_name);
434 LIST_FOREACH(gc, &pp->lg_geom->lg_config, lg_config) {
454 partcode_path(scheme, fstype), indexstr, pp->lg_geom->lg_name);
463 gpart_destroy(struct ggeom *lg_geom)
471 LIST_FOREACH(pp, &lg_geom->lg_provider, lg_provider)
477 gctl_ro_param(r, "arg0", -1, lg_geom->lg_name);
485 gctl_ro_param(r, "arg0", -1, lg_geom->lg_name);
501 delete_part_metadata(lg_geom->lg_name);
540 if (strcmp(cp->lg_geom->lg_class->lg_name, "PART") == 0) {
543 LIST_FOREACH(gc, &cp->lg_geom->lg_config, lg_config) {
550 gpart_partition(cp->lg_geom->lg_name, NULL);
555 if (strcmp(pp->lg_geom->lg_class->lg_name, "PART") == 0)
559 gpart_destroy(cp->lg_geom);
562 gpart_partition(cp->lg_geom->lg_name, NULL);
566 if (geom == NULL && strcmp(pp->lg_geom->lg_class->lg_name, "PART") == 0)
567 geom = pp->lg_geom;
662 gpart_destroy(cp->lg_geom);
1020 if (strcmp(cp->lg_geom->lg_class->lg_name, "PART") == 0) {
1021 geom = cp->lg_geom;
1025 if (geom == NULL && strcmp(pp->lg_geom->lg_class->lg_name, "PART") == 0)
1026 geom = pp->lg_geom;
1274 is_partition = (strcmp(pp->lg_geom->lg_class->lg_name, "PART") == 0);
1279 if (strcmp(cp->lg_geom->lg_class->lg_name, "PART") == 0) {
1280 geom = cp->lg_geom;
1312 gctl_ro_param(r, "class", -1, pp->lg_geom->lg_class->lg_name);
1313 gctl_ro_param(r, "arg0", -1, pp->lg_geom->lg_name);
1356 LIST_FOREACH(gp, &classp->lg_geom, lg_geom) {
1412 LIST_FOREACH(gp, &classp->lg_geom, lg_geom) {
1441 if (strcmp(cp->lg_geom->lg_class->lg_name,