Searched defs:uc_entries (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/ucblib/librpcsoc/
H A Dsvc_udp.c339 cache_ptr *uc_entries; /* hash table of entries in cache */ member in struct:udp_cache
380 uc->uc_entries = ALLOC(cache_ptr, size * SPARSENESS);
381 if (uc->uc_entries == NULL) {
387 BZERO(uc->uc_entries, cache_ptr, size * SPARSENESS);
392 FREE((char *)uc->uc_entries, cache_ptr, size * SPARSENESS);
424 for (vicp = &uc->uc_entries[loc];
464 victim->cache_next = uc->uc_entries[loc];
465 uc->uc_entries[loc] = victim;
490 for (ent = uc->uc_entries[loc]; ent != NULL; ent = ent->cache_next) {
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc_dg.c660 cache_ptr *uc_entries; /* hash table of entries in cache */ member in struct:cl_cache
718 uc->uc_entries = calloc(size * SPARSENESS, sizeof (cache_ptr));
719 if (uc->uc_entries == NULL) {
728 free(uc->uc_entries);
787 for (vicp = &uc->uc_entries[loc];
854 victim->cache_next = uc->uc_entries[loc];
855 uc->uc_entries[loc] = victim;
893 for (ent = uc->uc_entries[loc]; ent != NULL; ent = ent->cache_next) {

Completed in 45 milliseconds