Lines Matching defs:gc

345 	struct gconfig *gc;
355 LIST_FOREACH(gc, &pp->lg_geom->lg_config, lg_config) {
356 if (strcmp(gc->lg_name, "scheme") == 0) {
357 scheme = gc->lg_val;
367 LIST_FOREACH(gc, &pp->lg_config, lg_config) {
368 if (strcmp(gc->lg_name, "index") == 0) {
369 idx = atoi(gc->lg_val);
412 struct gconfig *gc;
424 LIST_FOREACH(gc, &gp->lg_config, lg_config) {
425 if (strcmp(gc->lg_name, "scheme") == 0) {
426 scheme = gc->lg_val;
467 struct gconfig *gc;
473 LIST_FOREACH(gc, &pp->lg_geom->lg_config, lg_config) {
474 if (strcmp(gc->lg_name, "scheme") == 0) {
475 scheme = gc->lg_val;
484 LIST_FOREACH(gc, &pp->lg_config, lg_config) {
485 if (strcmp(gc->lg_name, "index") == 0) {
486 indexstr = gc->lg_val;
550 struct gconfig *gc;
587 LIST_FOREACH(gc, &cp->lg_geom->lg_config, lg_config) {
588 if (strcmp(gc->lg_name, "scheme") == 0) {
589 scheme = gc->lg_val;
619 LIST_FOREACH(gc, &geom->lg_config, lg_config) {
620 if (strcmp(gc->lg_name, "scheme") == 0) {
621 scheme = gc->lg_val;
630 LIST_FOREACH(gc, &pp->lg_config, lg_config) {
631 if (strcmp(gc->lg_name, "type") == 0) {
632 oldtype = gc->lg_val;
633 items[0].init = gc->lg_val;
635 if (strcmp(gc->lg_name, "label") == 0 && gc->lg_val != NULL) {
637 items[3].init = gc->lg_val;
639 if (strcmp(gc->lg_name, "index") == 0)
640 idx = atoi(gc->lg_val);
831 struct gconfig *gc;
834 LIST_FOREACH(gc, &(*a)->lg_config, lg_config)
835 if (strcmp(gc->lg_name, "start") == 0) {
836 astart = strtoimax(gc->lg_val, NULL, 0);
839 LIST_FOREACH(gc, &(*b)->lg_config, lg_config)
840 if (strcmp(gc->lg_name, "start") == 0) {
841 bstart = strtoimax(gc->lg_val, NULL, 0);
856 struct gconfig *gc;
867 LIST_FOREACH(gc, &geom->lg_config, lg_config) {
868 if (strcmp(gc->lg_name, "first") == 0)
869 start = strtoimax(gc->lg_val, NULL, 0);
870 if (strcmp(gc->lg_name, "last") == 0)
871 end = strtoimax(gc->lg_val, NULL, 0);
887 LIST_FOREACH(gc, &pp->lg_config, lg_config) {
888 if (strcmp(gc->lg_name, "start") == 0)
889 partstart = strtoimax(gc->lg_val, NULL, 0);
890 if (strcmp(gc->lg_name, "end") == 0)
891 partend = strtoimax(gc->lg_val, NULL, 0);
942 struct gconfig *gc;
952 LIST_FOREACH(gc, &ppi->lg_config, lg_config)
953 if (strcmp(gc->lg_name, "type") == 0)
955 if (gc == NULL)
957 if (strcmp(gc->lg_val, bootpart_type(scheme, &bootmount)) != 0)
977 gc->lg_val, bootmount, NULL);
1033 struct gconfig *gc;
1086 LIST_FOREACH(gc, &geom->lg_config, lg_config)
1087 if (strcmp(gc->lg_name, "scheme") == 0)
1088 scheme = gc->lg_val;
1359 struct gconfig *gc;
1415 LIST_FOREACH(gc, &pp->lg_config, lg_config) {
1416 if (strcmp(gc->lg_name, "index") == 0) {
1417 idx = atoi(gc->lg_val);
1439 struct gconfig *gc;
1460 LIST_FOREACH(gc, &gp->lg_config, lg_config) {
1461 if (strcmp(gc->lg_name, "modified") == 0) {
1462 modified = gc->lg_val;
1486 struct gconfig *gc;
1519 LIST_FOREACH(gc, &gp->lg_config, lg_config) {
1520 if (strcmp(gc->lg_name, "modified") == 0) {
1521 modified = gc->lg_val;