Home
last modified time | relevance | path

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

/freebsd-12.1/bin/pax/
H A Dcache.c64 static UIDC **uidtb = NULL; /* uid to name cache */
66 static UIDC **usrtb = NULL; /* user name to uid cache */
85 if ((uidtb = (UIDC **)calloc(UID_SZ, sizeof(UIDC *))) == NULL) { in uidtb_start()
133 if ((usrtb = (UIDC **)calloc(UNM_SZ, sizeof(UIDC *))) == NULL) { in usrtb_start()
177 UIDC *ptr; in name_uid()
203 ptr = uidtb[uid % UID_SZ] = (UIDC *)malloc(sizeof(UIDC)); in name_uid()
318 UIDC *ptr; in uid_name()
348 (UIDC *)malloc(sizeof(UIDC)); in uid_name()
H A Dcache.h67 } UIDC; typedef
/freebsd-12.1/contrib/libc-pwcache/
H A Dpwcache.c137 static UIDC **uidtb; /* uid to name cache */
139 static UIDC **usrtb; /* user name to uid cache */
184 if ((uidtb = (UIDC **)calloc(UID_SZ, sizeof(UIDC *))) == NULL) { in uidtb_start()
226 if ((usrtb = (UIDC **)calloc(UNM_SZ, sizeof(UIDC *))) == NULL) { in usrtb_start()
266 UIDC *ptr, **pptr; in user_from_uid()
296 *pptr = ptr = (UIDC *)malloc(sizeof(UIDC)); in user_from_uid()
402 UIDC *ptr, **pptr; in uid_from_user()
434 *pptr = ptr = (UIDC *)malloc(sizeof(UIDC)); in uid_from_user()
H A Dpwcache.h67 } UIDC; typedef