Searched refs:usrtb (Results 1 – 2 of 2) sorted by relevance
/minix/lib/libc/gen/ |
H A D | pwcache.c | 136 static UIDC **usrtb; /* user name to uid cache */ variable 219 if (usrtb != NULL) in usrtb_start() 223 if ((usrtb = (UIDC **)calloc(UNM_SZ, sizeof(UIDC *))) == NULL) { in usrtb_start() 407 if ((usrtb == NULL) && (usrtb_start() < 0)) in uid_from_user() 414 pptr = usrtb + st_hash(name, namelen, UNM_SZ); in uid_from_user() 545 FLUSHTB(usrtb, UNM_SZ, usrtb_fail); in pwcache_userdb() 606 i, pwopn, usrtb_fail, usrtb); in main() 614 pwopn, usrtb_fail, usrtb); in main() 620 printf("pwopn %d usrtb_fail %d usrtb %p\n", pwopn, usrtb_fail, usrtb); in main() 624 i, pwopn, usrtb_fail, usrtb); in main() [all …]
|
/minix/bin/pax/ |
H A D | sel_subs.c | 76 static USRT **usrtb = NULL; /* user selection table */ variable 93 if (((usrtb != NULL) && usr_match(arcn)) || in sel_chk() 128 if ((usrtb == NULL) && in usr_add() 129 ((usrtb = (USRT **)calloc(USR_TB_SZ, sizeof(USRT *))) == NULL)) { in usr_add() 157 if ((pt = usrtb[indx]) != NULL) { in usr_add() 170 pt->fow = usrtb[indx]; in usr_add() 171 usrtb[indx] = pt; in usr_add() 193 pt = usrtb[((unsigned)arcn->sb.st_uid) % USR_TB_SZ]; in usr_match()
|