Searched refs:grptb (Results 1 - 3 of 3) sorted by relevance
/freebsd-11.0-release/bin/pax/ |
H A D | sel_subs.c | 63 static GRPT **grptb = NULL; /* group selection table */ variable 80 ((grptb != NULL) && grp_match(arcn)) || 215 if ((grptb == NULL) && 216 ((grptb = (GRPT **)calloc(GRP_TB_SZ, sizeof(GRPT *))) == NULL)) { 247 if ((pt = grptb[indx]) != NULL) { 260 pt->fow = grptb[indx]; 261 grptb[indx] = pt; 283 pt = grptb[((unsigned)arcn->sb.st_gid) % GRP_TB_SZ];
|
H A D | cache.c | 65 static GIDC **grptb = NULL; /* group name to gid cache */ variable 141 * creates an an empty grptb 151 if (grptb != NULL) 155 if ((grptb = (GIDC **)calloc(GNM_SZ, sizeof(GIDC *))) == NULL) { 388 if ((grptb == NULL) && (grptb_start() < 0)) 395 ptr = grptb[st_hash(name, namelen, GID_SZ)]; 408 ptr = grptb[st_hash(name, namelen, GID_SZ)] =
|
/freebsd-11.0-release/contrib/libc-pwcache/ |
H A D | pwcache.c | 140 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 51 milliseconds