Home
last modified time | relevance | path

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

/nscd/
A Dmem.c56 if (h1->packet < h2->packet) in sort_he_data()
58 if (h1->packet > h2->packet) in sort_he_data()
260 && (*next_data)->packet < off_free) in gc()
375 assert ((*next_data)->packet == off_alloc); in gc()
382 <= (*next_data)->packet + dh->allocsize); in gc()
384 (*next_data)->packet -= disp; in gc()
389 && (*next_data)->packet == off_alloc); in gc()
460 if (he->packet + sizeof (struct datahead) in gc()
469 + he->packet); in gc()
470 if (he->packet + dh->allocsize in gc()
[all …]
A Dcache.c94 = (struct datahead *) (table->data + here->packet); in cache_search()
136 cache_add (int type, const void *key, size_t len, struct datahead *packet, in cache_add() argument
165 packet->usable = false; in cache_add()
176 newp->packet = (char *) packet - table->data; in cache_add()
177 assert ((newp->packet & BLOCK_ALIGN_M1) == 0); in cache_add()
188 if (packet->notfound) in cache_add()
221 if (next_wakeup > packet->timeout + CACHE_PRUNE_INTERVAL) in cache_add()
223 table->wakeup_time = packet->timeout; in cache_add()
352 struct datahead *dh = (struct datahead *) (data + runp->packet); in prune_cache()
471 = (struct datahead *) (data + runp->packet); in prune_cache()
A Dconnections.c422 if (here->packet < 0 in verify_persistent_db()
423 || here->packet > head->first_free in verify_persistent_db()
424 || here->packet + sizeof (struct datahead) > head->first_free) in verify_persistent_db()
427 struct datahead *dh = (struct datahead *) (data + here->packet); in verify_persistent_db()
431 here->packet, dh->allocsize)) in verify_persistent_db()
440 if (here->key < here->packet + sizeof (struct datahead) in verify_persistent_db()
441 || here->key > here->packet + dh->allocsize in verify_persistent_db()
442 || here->key + here->len > here->packet + dh->allocsize) in verify_persistent_db()
A Dnscd-client.h292 ref_t packet; /* Records for the result. */ member
A Dnscd.h281 struct datahead *packet, bool first,
A Dcachedumper.c140 struct datahead *dh = (struct datahead *) (data + here->packet); in nscd_print_cache()
A Dnscd_helper.c483 && ((here_packet = atomic_forced_read (here->packet)) in __nscd_cache_search()

Completed in 19 milliseconds