Searched refs:GID_SZ (Results 1 – 4 of 4) sorted by relevance
/freebsd/bin/pax/ |
H A D | cache.c | 101 if ((gidtb = (GIDC **)calloc(GID_SZ, sizeof(GIDC *))) == NULL) { in gidtb_start() 244 ptr = gidtb[gid % GID_SZ]; in name_gid() 262 ptr = gidtb[gid % GID_SZ] = (GIDC *)malloc(sizeof(GIDC)); in name_gid() 381 ptr = grptb[st_hash(name, namelen, GID_SZ)]; in gid_name() 394 ptr = grptb[st_hash(name, namelen, GID_SZ)] = in gid_name()
|
H A D | cache.h | 51 #define GID_SZ 251 /* size of gid cache */ macro
|
/freebsd/contrib/libc-pwcache/ |
H A D | pwcache.c | 204 if ((gidtb = (GIDC **)calloc(GID_SZ, sizeof(GIDC *))) == NULL) { in gidtb_start() 342 pptr = gidtb + (gid % GID_SZ); in group_from_gid() 480 pptr = grptb + st_hash(name, namelen, GID_SZ); in gid_from_group() 572 FLUSHTB(gidtb, GID_SZ, gidtb_fail); in pwcache_groupdb()
|
H A D | pwcache.h | 54 #define GID_SZ 251 /* size of gid to group_name cache */ macro
|