Lines Matching defs:g2
2981 grpcmp(struct grouplist *g1, struct grouplist *g2)
2987 rv = g1->gr_type - g2->gr_type;
2992 rv = strcmp(g1->gr_u.gt_netgroup, g2->gr_u.gt_netgroup);
2996 n2 = &g2->gr_u.gt_net;
3016 rv = strcmp(g1->gr_u.gt_hostinfo.h_name, g2->gr_u.gt_hostinfo.h_name);
3020 a2 = g2->gr_u.gt_hostinfo.h_ailist;
3049 struct grouplist *g, *g2;
3061 g2 = NULL;
3064 g2 = g;
3086 if (g2) {
3087 g->gr_cache = g2->gr_cache;
3088 g2->gr_cache = g;
3096 g2 = grpcache;
3097 while (g2) {
3098 DEBUG(6, "grpcache: %p %d %s %s", g2, g2->gr_refcnt, grp_name(g2), grp_addr(g2));
3099 g2 = g2->gr_cache;
3173 struct grouplist *g1, *g2;
3176 g2 = NULL;
3179 g2 = g1;
3188 if (g2) {
3189 newg->gr_next = g2->gr_next;
3190 g2->gr_next = newg;