Lines Matching refs:gp
52 static void add_geom_children(struct ggeom *gp, int recurse,
463 struct ggeom *gp;
480 LIST_FOREACH(gp, &classp->lg_geom, lg_geom) {
481 LIST_FOREACH(gc, &gp->lg_config, lg_config) {
492 gpart_set_root(gp->lg_name, "lenovofix");
494 gpart_set_root(gp->lg_name, "active");
503 struct ggeom *gp;
519 LIST_FOREACH(gp, &classp->lg_geom, lg_geom)
520 add_geom_children(gp, 0, &items, nitems);
527 add_geom_children(struct ggeom *gp, int recurse, struct partedit_item **items,
534 if (strcmp(gp->lg_class->lg_name, "PART") == 0 &&
535 !LIST_EMPTY(&gp->lg_config)) {
536 LIST_FOREACH(gc, &gp->lg_config, lg_config) {
542 if (LIST_EMPTY(&gp->lg_provider))
545 LIST_FOREACH(pp, &gp->lg_provider, lg_provider) {
546 if (strcmp(gp->lg_class->lg_name, "LABEL") == 0)
568 if (strcmp(gp->lg_class->lg_name, "MD") == 0 &&
579 if (strcmp(gp->lg_class->lg_name, "ACD") == 0)