Home
last modified time | relevance | path

Searched refs:UIDC (Results 1 – 4 of 4) sorted by relevance

/freebsd-src/bin/pax/
H A Dcache.c56 static UIDC **uidtb = NULL; /* uid to name cache */
58 static UIDC **usrtb = NULL; /* user name to uid cache */
77 if ((uidtb = (UIDC **)calloc(UID_SZ, sizeof(UIDC *))) == NULL) { in uidtb_start()
125 if ((usrtb = (UIDC **)calloc(UNM_SZ, sizeof(UIDC *))) == NULL) { in usrtb_start()
169 UIDC *ptr; in name_uid()
195 ptr = uidtb[uid % UID_SZ] = (UIDC *)malloc(sizeof(UIDC)); in name_uid()
302 UIDC *ptr; in uid_name()
332 (UIDC *)malloc(sizeof(UIDC)); in uid_name()
H A Dcache.h64 } UIDC; typedef
/freebsd-src/contrib/libc-pwcache/
H A Dpwcache.c136 static UIDC **uidtb; /* uid to name cache */
138 static UIDC **usrtb; /* user name to uid cache */
183 if ((uidtb = (UIDC **)calloc(UID_SZ, sizeof(UIDC *))) == NULL) { in uidtb_start()
225 if ((usrtb = (UIDC **)calloc(UNM_SZ, sizeof(UIDC *))) == NULL) { in usrtb_start()
265 UIDC *ptr, **pptr; in user_from_uid()
295 *pptr = ptr = (UIDC *)malloc(sizeof(UIDC)); in user_from_uid()
401 UIDC *ptr, **pptr; in uid_from_user()
433 *pptr = ptr = (UIDC *)malloc(sizeof(UIDC)); in uid_from_user()
H A Dpwcache.h67 } UIDC; typedef