Searched refs:cache_ptr (Results 1 – 2 of 2) sorted by relevance
| /src/crypto/krb5/src/lib/rpc/ |
| H A D | svc_udp.c | 357 typedef struct cache_node *cache_ptr; typedef 375 cache_ptr cache_next; 385 cache_ptr *uc_entries; /* hash table of entries in cache */ 386 cache_ptr *uc_fifo; /* fifo list of entries in cache */ 425 uc->uc_entries = ALLOC(cache_ptr, size * SPARSENESS); in svcudp_enablecache() 430 BZERO(uc->uc_entries, cache_ptr, size * SPARSENESS); in svcudp_enablecache() 431 uc->uc_fifo = ALLOC(cache_ptr, size); in svcudp_enablecache() 436 BZERO(uc->uc_fifo, cache_ptr, size); in svcudp_enablecache() 450 cache_ptr victim; in cache_set() 451 cache_ptr *vicp; in cache_set() [all …]
|
| /src/lib/libc/rpc/ |
| H A D | svc_dg.c | 464 typedef struct cache_node *cache_ptr; typedef 482 cache_ptr cache_next; 490 cache_ptr *uc_entries; /* hash table of entries in cache */ 491 cache_ptr *uc_fifo; /* fifo list of entries in cache */ 534 uc->uc_entries = ALLOC(cache_ptr, size * SPARSENESS); in svc_dg_enablecache() 541 MEMZERO(uc->uc_entries, cache_ptr, size * SPARSENESS); in svc_dg_enablecache() 542 uc->uc_fifo = ALLOC(cache_ptr, size); in svc_dg_enablecache() 545 FREE(uc->uc_entries, cache_ptr, size * SPARSENESS); in svc_dg_enablecache() 550 MEMZERO(uc->uc_fifo, cache_ptr, size); in svc_dg_enablecache() 572 cache_ptr victim; in cache_set() [all …]
|