Home
last modified time | relevance | path

Searched refs:usrtb (Results 1 – 2 of 2) sorted by relevance

/dragonfly/lib/libc/gen/
H A Dpwcache.c133 static UIDC **usrtb; /* user name to uid cache */ variable
216 if (usrtb != NULL) in usrtb_start()
220 if ((usrtb = (UIDC **)calloc(UNM_SZ, sizeof(UIDC *))) == NULL) { in usrtb_start()
404 if ((usrtb == NULL) && (usrtb_start() < 0)) in uid_from_user()
411 pptr = usrtb + st_hash(name, namelen, UNM_SZ); in uid_from_user()
542 FLUSHTB(usrtb, UNM_SZ, usrtb_fail); in pwcache_userdb()
603 i, pwopn, usrtb_fail, usrtb); in main()
611 pwopn, usrtb_fail, usrtb); in main()
617 printf("pwopn %d usrtb_fail %d usrtb %p\n", pwopn, usrtb_fail, usrtb); in main()
621 i, pwopn, usrtb_fail, usrtb); in main()
[all …]
/dragonfly/bin/pax/
H A Dsel_subs.c59 static USRT **usrtb = NULL; /* user selection table */ variable
76 if (((usrtb != NULL) && usr_match(arcn)) || in sel_chk()
111 if ((usrtb == NULL) && in usr_add()
112 ((usrtb = (USRT **)calloc(USR_TB_SZ, sizeof(USRT *))) == NULL)) { in usr_add()
139 if ((pt = usrtb[indx]) != NULL) { in usr_add()
152 pt->fow = usrtb[indx]; in usr_add()
153 usrtb[indx] = pt; in usr_add()
175 pt = usrtb[((unsigned)arcn->sb.st_uid) % USR_TB_SZ]; in usr_match()