Home
last modified time | relevance | path

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

/titanic_41/usr/src/ucblib/librpcsoc/
H A Dsvc_udp.c339 cache_ptr *uc_entries; /* hash table of entries in cache */ member
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) {
/titanic_41/usr/src/lib/libnsl/rpc/
H A Dsvc_dg.c660 cache_ptr *uc_entries; /* hash table of entries in cache */ member
718 uc->uc_entries = calloc(size * SPARSENESS, sizeof (cache_ptr)); in svc_dg_enablecache()
719 if (uc->uc_entries == NULL) { in svc_dg_enablecache()
728 free(uc->uc_entries); in svc_dg_enablecache()
787 for (vicp = &uc->uc_entries[loc]; in cache_set()
854 victim->cache_next = uc->uc_entries[loc]; in cache_set()
855 uc->uc_entries[loc] = victim; in cache_set()
893 for (ent = uc->uc_entries[loc]; ent != NULL; ent = ent->cache_next) { in cache_get()