Lines Matching defs:pg
271 struct phyint_group *pg, *next_pg;
306 for (pg = phyint_groups; pg != NULL; pg = pg->pg_next) {
307 pg->pg_in_use = _B_FALSE;
308 addrlist_free(&pg->pg_addrs);
391 pg = phyint_group_lookup(lifreq.lifr_groupname);
392 if (pg == NULL) {
393 pg = phyint_group_create(lifreq.lifr_groupname);
394 if (pg == NULL) {
399 phyint_group_insert(pg);
401 pg->pg_in_use = _B_TRUE;
406 if (!addrlist_add(&pg->pg_addrs, lifr->lifr_name, flags,
444 for (pg = phyint_groups; pg != NULL; pg = next_pg) {
445 next_pg = pg->pg_next;
446 if (!pg->pg_in_use) {
447 phyint_group_delete(pg);
457 phyint_group_refresh_state(pg);
481 struct phyint_group *pg;
498 pg = ourpii->pii_phyint->pi_group;
499 if (pg == phyint_anongroup)
506 for (pi = pg->pg_phyint; pi != NULL; pi = pi->pi_pgnext) {
862 struct phyint_group *pg;
873 for (pg = phyint_groups; pg != NULL; pg = pg->pg_next) {
874 if (pg == phyint_anongroup)
884 for (pi = pg->pg_phyint; pi != NULL; pi = pi->pi_pgnext) {
896 for (pi = pg->pg_phyint; pi != NULL; pi = pi->pi_pgnext) {
1820 struct phyint_group *pg;
1823 pg = pii->pii_phyint->pi_group;
1824 if (pg != phyint_anongroup && pii->pii_targets == NULL)