• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/usr.sbin/bsdinstall/partedit/

Lines Matching refs:geom

474 	/* Revert any local changes to get this geom into a pristine state */
482 /* Now destroy the geom itself */
492 * Check if we reverted away the existence of the geom
510 struct ggeom *geom;
535 * Find the PART geom we are manipulating. This may be a consumer of
538 geom = NULL;
558 /* Destroy the geom and all sub-partitions */
566 if (geom == NULL && strcmp(pp->lg_geom->lg_class->lg_name, "PART") == 0)
567 geom = pp->lg_geom;
569 if (geom == NULL) {
575 LIST_FOREACH(gc, &geom->lg_config, lg_config) {
640 gctl_ro_param(r, "arg0", -1, geom->lg_name);
806 gpart_max_free(struct ggeom *geom, intmax_t *npartstart)
819 LIST_FOREACH(gc, &geom->lg_config, lg_config) {
827 LIST_FOREACH(pp, &geom->lg_provider, lg_provider)
830 LIST_FOREACH(pp, &geom->lg_provider, lg_provider)
859 pp = LIST_FIRST(&geom->lg_consumer)->lg_provider;
891 add_boot_partition(struct ggeom *geom, struct gprovider *pp,
899 LIST_FOREACH(ppi, &geom->lg_provider, lg_provider) {
983 struct ggeom *geom;
1015 * Find the PART geom we are manipulating. This may be a consumer of
1018 geom = NULL;
1021 geom = cp->lg_geom;
1025 if (geom == NULL && strcmp(pp->lg_geom->lg_class->lg_name, "PART") == 0)
1026 geom = pp->lg_geom;
1030 if (geom != NULL) {
1031 LIST_FOREACH(gc, &geom->lg_config, lg_config)
1036 if (geom == NULL || scheme == NULL || strcmp(scheme, "(none)") == 0) {
1047 * If we still don't have a geom, either the user has
1051 if (geom == NULL)
1054 maxsize = size = gpart_max_free(geom, &firstfree);
1197 size_t bytes = add_boot_partition(geom, pp, scheme,
1212 gctl_ro_param(r, "arg0", -1, geom->lg_name);
1234 * Try to destroy any geom that gpart picked up already here from
1266 struct ggeom *geom;
1276 /* Find out if this is the root of a gpart geom */
1277 geom = NULL;
1280 geom = cp->lg_geom;
1285 if (geom != NULL) {
1286 gpart_destroy(geom);
1292 gctl_ro_param(r, "arg0", -1, geom->lg_name);
1305 if (geom == NULL)