Home
last modified time | relevance | path

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

/freebsd-14.2/bin/pax/
H A Dsel_subs.c66 static GRPT **grptb = NULL; /* group selection table */ variable
83 ((grptb != NULL) && grp_match(arcn)) || in sel_chk()
214 if ((grptb == NULL) && in grp_add()
215 ((grptb = (GRPT **)calloc(GRP_TB_SZ, sizeof(GRPT *))) == NULL)) { in grp_add()
242 if ((pt = grptb[indx]) != NULL) { in grp_add()
255 pt->fow = grptb[indx]; in grp_add()
256 grptb[indx] = pt; in grp_add()
278 pt = grptb[((unsigned)arcn->sb.st_gid) % GRP_TB_SZ]; in grp_match()
H A Dcache.c65 static GIDC **grptb = NULL; /* group name to gid cache */ variable
151 if (grptb != NULL) in grptb_start()
155 if ((grptb = (GIDC **)calloc(GNM_SZ, sizeof(GIDC *))) == NULL) { in grptb_start()
380 if ((grptb == NULL) && (grptb_start() < 0)) in gid_name()
387 ptr = grptb[st_hash(name, namelen, GID_SZ)]; in gid_name()
400 ptr = grptb[st_hash(name, namelen, GID_SZ)] = in gid_name()
/freebsd-14.2/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()