Home
last modified time | relevance | path

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

/freebsd/bin/pax/
H A Dsel_subs.c60 static GRPT **grptb = NULL; /* group selection table */ variable
77 ((grptb != NULL) && grp_match(arcn)) || in sel_chk()
208 if ((grptb == NULL) && in grp_add()
209 ((grptb = (GRPT **)calloc(GRP_TB_SZ, sizeof(GRPT *))) == NULL)) { in grp_add()
236 if ((pt = grptb[indx]) != NULL) { in grp_add()
249 pt->fow = grptb[indx]; in grp_add()
250 grptb[indx] = pt; in grp_add()
272 pt = grptb[((unsigned)arcn->sb.st_gid) % GRP_TB_SZ]; in grp_match()
H A Dcache.c59 static GIDC **grptb = NULL; /* group name to gid cache */ variable
145 if (grptb != NULL) in grptb_start()
149 if ((grptb = (GIDC **)calloc(GNM_SZ, sizeof(GIDC *))) == NULL) { in grptb_start()
374 if ((grptb == NULL) && (grptb_start() < 0)) in gid_name()
381 ptr = grptb[st_hash(name, namelen, GID_SZ)]; in gid_name()
394 ptr = grptb[st_hash(name, namelen, GID_SZ)] = in gid_name()
/freebsd/contrib/libc-pwcache/
H A Dpwcache.c139 static GIDC **grptb; /* group name to gid cache */ variable
242 if (grptb != NULL) in grptb_start()
246 if ((grptb = (GIDC **)calloc(GNM_SZ, sizeof(GIDC *))) == NULL) { in grptb_start()
473 if ((grptb == NULL) && (grptb_start() < 0)) in gid_from_group()
480 pptr = grptb + st_hash(name, namelen, GID_SZ); in gid_from_group()
573 FLUSHTB(grptb, GNM_SZ, grptb_fail); in pwcache_groupdb()