Home
last modified time | relevance | path

Searched refs:ref_t (Results 1 – 7 of 7) sorted by relevance

/nscd/
A Dnscd-client.h195 typedef uint32_t ref_t; typedef
289 ref_t key; /* Pointer to key. */
291 ref_t next; /* Next entry in this hash bucket list. */
292 ref_t packet; /* Records for the result. */
297 ref_t *prevp; /* Pointer to field containing forward
345 ref_t array[0];
A Dmem.c73 markrange (BITMAP_T *mark, ref_t start, size_t len) in markrange()
163 ref_t *prevp = &db->head->array[idx]; in gc()
164 ref_t run = *prevp; in gc()
221 ref_t highref = (high * BITS - 1) * BLOCK_ALIGN; in gc()
247 ref_t off_free = (byte * BITS + cnt) * BLOCK_ALIGN; in gc()
307 ref_t off_alloc = (byte * BITS + cnt) * BLOCK_ALIGN; in gc()
331 ref_t off_allocend = (byte * BITS + cnt) * BLOCK_ALIGN; in gc()
337 ref_t disp = off_alloc - off_free; in gc()
438 ref_t run = db->head->array[idx]; in gc()
535 + roundup (db->head->module * sizeof (ref_t), in mempool_alloc()
[all …]
A Dcache.c81 ref_t work = table->head->array[hash]; in cache_search()
183 (ref_t *) &newp->next, in cache_add()
184 (ref_t) ((char *) newp in cache_add()
207 + sizeof (ref_t), MS_ASYNC); in cache_add()
347 ref_t run = table->head->array[--cnt]; in prune_cache()
463 ref_t *old = &table->head->array[first]; in prune_cache()
464 ref_t run = table->head->array[first]; in prune_cache()
A Dnscd_helper.c358 size_t size = (sizeof (*head) + roundup (head->module * sizeof (ref_t), in __nscd_get_mapping()
373 + roundup (head->module * sizeof (ref_t), ALIGN)); in __nscd_get_mapping()
456 ref_t trail = mapped->head->array[hash]; in __nscd_cache_search()
458 ref_t work = trail; in __nscd_cache_search()
466 ref_t here_key, here_packet; in __nscd_cache_search()
A Dcachedumper.c36 #define NO_REF ((ref_t) -1)
115 ALIGN / sizeof (ref_t))]; in nscd_print_cache()
122 ref_t r = dps->array[i]; in nscd_print_cache()
A Dconnections.c303 enum usekey use, ref_t start, size_t len) in check_use()
389 ALIGN / sizeof (ref_t))]; in verify_persistent_db()
394 ref_t trail = head->array[cnt]; in verify_persistent_db()
395 ref_t work = trail; in verify_persistent_db()
461 for (ref_t idx = 0; idx < head->first_free; ++idx) in verify_persistent_db()
536 + roundup (head.module * sizeof (ref_t), in nscd_init()
569 ALIGN / sizeof (ref_t))]; in nscd_init()
611 * sizeof (ref_t), ALIGN) in nscd_init()
738 ALIGN / sizeof (ref_t))]; in nscd_init()
764 * sizeof (ref_t))); in nscd_init()
[all …]
A Dnscd_conf.c300 * sizeof (ref_t), ALIGN) in nscd_parse_file()

Completed in 18 milliseconds