Searched refs:cache_ptr (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/ucblib/librpcsoc/ |
H A D | svc_udp.c | 311 typedef struct cache_node *cache_ptr; typedef 329 cache_ptr cache_next; 339 cache_ptr *uc_entries; /* hash table of entries in cache */ 340 cache_ptr *uc_fifo; /* fifo list of entries in cache */ 380 uc->uc_entries = ALLOC(cache_ptr, size * SPARSENESS); 387 BZERO(uc->uc_entries, cache_ptr, size * SPARSENESS); 388 uc->uc_fifo = ALLOC(cache_ptr, size); 392 FREE((char *)uc->uc_entries, cache_ptr, size * SPARSENESS); 396 BZERO(uc->uc_fifo, cache_ptr, size); 410 register cache_ptr victim; [all …]
|
/titanic_44/usr/src/lib/libnsl/rpc/ |
H A D | svc_dg.c | 634 typedef struct cache_node *cache_ptr; typedef 652 cache_ptr cache_next; 660 cache_ptr *uc_entries; /* hash table of entries in cache */ 661 cache_ptr *uc_fifo; /* fifo list of entries in cache */ 718 uc->uc_entries = calloc(size * SPARSENESS, sizeof (cache_ptr)); in svc_dg_enablecache() 725 uc->uc_fifo = calloc(size, sizeof (cache_ptr)); in svc_dg_enablecache() 755 cache_ptr victim; in cache_set() 756 cache_ptr *vicp; in cache_set() 871 cache_ptr ent; in cache_get()
|