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

/freebsd-9.3-release/contrib/libc-pwcache/
H A Dpwcache.c139 static UIDC **usrtb; /* user name to uid cache */ variable
214 * creates an an empty usrtb
222 if (usrtb != NULL)
226 if ((usrtb = (UIDC **)calloc(UNM_SZ, sizeof(UIDC *))) == NULL) {
410 if ((usrtb == NULL) && (usrtb_start() < 0))
417 pptr = usrtb + st_hash(name, namelen, UNM_SZ);
548 FLUSHTB(usrtb, UNM_SZ, usrtb_fail);
608 printf("i: %d, pwopn %d usrtb_fail %d usrtb %p\n",
609 i, pwopn, usrtb_fail, usrtb);
616 printf("pass 1 finish: pwopn %d usrtb_fail %d usrtb
[all...]
/freebsd-9.3-release/bin/pax/
H A Dsel_subs.c63 static USRT **usrtb = NULL; /* user selection table */ variable
80 if (((usrtb != NULL) && usr_match(arcn)) ||
115 if ((usrtb == NULL) &&
116 ((usrtb = (USRT **)calloc(USR_TB_SZ, sizeof(USRT *))) == NULL)) {
147 if ((pt = usrtb[indx]) != NULL) {
160 pt->fow = usrtb[indx];
161 usrtb[indx] = pt;
183 pt = usrtb[((unsigned)arcn->sb.st_uid) % USR_TB_SZ];
H A Dcache.c65 static UIDC **usrtb = NULL; /* user name to uid cache */ variable
118 * creates an an empty usrtb
128 if (usrtb != NULL)
132 if ((usrtb = (UIDC **)calloc(UNM_SZ, sizeof(UIDC *))) == NULL) {
325 if ((usrtb == NULL) && (usrtb_start() < 0))
332 ptr = usrtb[st_hash(name, namelen, UNM_SZ)];
346 ptr = usrtb[st_hash(name, namelen, UNM_SZ)] =

Completed in 56 milliseconds