Home
last modified time | relevance | path

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

/NextBSD/bin/pax/
HDsel_subs.c63 static GRPT **grptb = NULL; /* group selection table */ variable
80 ((grptb != NULL) && grp_match(arcn)) || in sel_chk()
215 if ((grptb == NULL) && in grp_add()
216 ((grptb = (GRPT **)calloc(GRP_TB_SZ, sizeof(GRPT *))) == NULL)) { in grp_add()
247 if ((pt = grptb[indx]) != NULL) { in grp_add()
260 pt->fow = grptb[indx]; in grp_add()
261 grptb[indx] = pt; in grp_add()
283 pt = grptb[((unsigned)arcn->sb.st_gid) % GRP_TB_SZ]; in grp_match()
HDcache.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()
388 if ((grptb == NULL) && (grptb_start() < 0)) in gid_name()
395 ptr = grptb[st_hash(name, namelen, GID_SZ)]; in gid_name()
408 ptr = grptb[st_hash(name, namelen, GID_SZ)] = in gid_name()
/NextBSD/contrib/libc-pwcache/
HDpwcache.c140 static GIDC **grptb; /* group name to gid cache */ variable
243 if (grptb != NULL) in grptb_start()
247 if ((grptb = (GIDC **)calloc(GNM_SZ, sizeof(GIDC *))) == NULL) { in grptb_start()
474 if ((grptb == NULL) && (grptb_start() < 0)) in gid_from_group()
481 pptr = grptb + st_hash(name, namelen, GID_SZ); in gid_from_group()
574 FLUSHTB(grptb, GNM_SZ, grptb_fail); in pwcache_groupdb()