Lines Matching defs:pr
354 struct gprovider *pr;
402 LIST_FOREACH(pr, &ge->lg_provider, lg_provider) {
403 gmp->lg_ident[i].lg_id = pr->lg_id;
404 gmp->lg_ident[i].lg_ptr = pr;
421 LIST_FOREACH(pr, &ge->lg_provider, lg_provider) {
422 pr->lg_geom =
423 geom_lookupid(gmp, pr->lg_geom)->lg_ptr;
477 struct gprovider *pr;
497 pr = LIST_FIRST(&ge->lg_provider);
498 if (pr == NULL)
500 LIST_REMOVE(pr, lg_provider);
501 delete_config(&pr->lg_config);
502 if (pr->lg_name) free(pr->lg_name);
503 if (pr->lg_mode) free(pr->lg_mode);
504 free(pr);