Home
last modified time | relevance | path

Searched refs:grptb (Results 1 – 2 of 2) sorted by relevance

/netbsd/bin/pax/
H A Dsel_subs.c77 static GRPT **grptb = NULL; /* group selection table */ variable
94 ((grptb != NULL) && grp_match(arcn)) || in sel_chk()
226 if ((grptb == NULL) && in grp_add()
227 ((grptb = (GRPT **)calloc(GRP_TB_SZ, sizeof(GRPT *))) == NULL)) { in grp_add()
256 if ((pt = grptb[indx]) != NULL) { in grp_add()
269 pt->fow = grptb[indx]; in grp_add()
270 grptb[indx] = pt; in grp_add()
292 pt = grptb[((unsigned)arcn->sb.st_gid) % GRP_TB_SZ]; in grp_match()
/netbsd/lib/libc/gen/
H A Dpwcache.c137 static GIDC **grptb; /* group name to gid cache */ variable
240 if (grptb != NULL) in grptb_start()
244 if ((grptb = (GIDC **)calloc(GNM_SZ, sizeof(GIDC *))) == NULL) { in grptb_start()
471 if ((grptb == NULL) && (grptb_start() < 0)) in gid_from_group()
478 pptr = grptb + st_hash(name, namelen, GID_SZ); in gid_from_group()
571 FLUSHTB(grptb, GNM_SZ, grptb_fail); in pwcache_groupdb()