Searched refs:pg_state (Results 1 – 2 of 2) sorted by relevance
137 enum pg_state { enum146 #define GROUP_FAILED(pg) ((pg)->pg_state == PG_FAILED)160 enum pg_state pg_state; /* Current group state */ member423 extern void phyint_group_chstate(struct phyint_group *pg, enum pg_state state);
529 pg->pg_state = (name[0] == '\0' ? PG_OK : PG_FAILED); in phyint_group_create()538 phyint_group_chstate(struct phyint_group *pg, enum pg_state state) in phyint_group_chstate()549 if (pg->pg_state == state) in phyint_group_chstate()552 pg->pg_state = state; in phyint_group_chstate()1140 enum pg_state state; in phyint_group_refresh_state()1141 enum pg_state origstate = pg->pg_state; in phyint_group_refresh_state()2871 switch (pg->pg_state) { in groupstate()2880 logerr("groupstate: unknown state %d; aborting\n", pg->pg_state); in groupstate()