Lines Matching defs:pr
368 struct gprovider *pr;
416 LIST_FOREACH(pr, &ge->lg_provider, lg_provider) {
417 gmp->lg_ident[i].lg_id = pr->lg_id;
418 gmp->lg_ident[i].lg_ptr = pr;
435 LIST_FOREACH(pr, &ge->lg_provider, lg_provider) {
436 pr->lg_geom =
437 geom_lookupid(gmp, pr->lg_geom)->lg_ptr;
491 struct gprovider *pr;
511 pr = LIST_FIRST(&ge->lg_provider);
512 if (pr == NULL)
514 LIST_REMOVE(pr, lg_provider);
515 delete_config(&pr->lg_config);
516 if (pr->lg_name) free(pr->lg_name);
517 if (pr->lg_mode) free(pr->lg_mode);
518 free(pr);