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

/freebsd-9.3-release/bin/pax/
H A Dsel_subs.c64 static GRPT **grptb = NULL; /* group selection table */ variable
81 ((grptb != NULL) && grp_match(arcn)) ||
216 if ((grptb == NULL) &&
217 ((grptb = (GRPT **)calloc(GRP_TB_SZ, sizeof(GRPT *))) == NULL)) {
248 if ((pt = grptb[indx]) != NULL) {
261 pt->fow = grptb[indx];
262 grptb[indx] = pt;
284 pt = grptb[((unsigned)arcn->sb.st_gid) % GRP_TB_SZ];
H A Dcache.c66 static GIDC **grptb = NULL; /* group name to gid cache */ variable
142 * creates an an empty grptb
152 if (grptb != NULL)
156 if ((grptb = (GIDC **)calloc(GNM_SZ, sizeof(GIDC *))) == NULL) {
389 if ((grptb == NULL) && (grptb_start() < 0))
396 ptr = grptb[st_hash(name, namelen, GID_SZ)];
409 ptr = grptb[st_hash(name, namelen, GID_SZ)] =
/freebsd-9.3-release/contrib/libc-pwcache/
H A Dpwcache.c140 static GIDC **grptb; /* group name to gid cache */ variable
235 * creates an an empty grptb
243 if (grptb != NULL)
247 if ((grptb = (GIDC **)calloc(GNM_SZ, sizeof(GIDC *))) == NULL) {
474 if ((grptb == NULL) && (grptb_start() < 0))
481 pptr = grptb + st_hash(name, namelen, GID_SZ);
574 FLUSHTB(grptb, GNM_SZ, grptb_fail);

Completed in 50 milliseconds