Home
last modified time | relevance | path

Searched refs:first_free (Results 1 – 6 of 6) sorted by relevance

/glibc-2.36/nscd/
Dmem.c119 assert (db->head->first_free % BLOCK_ALIGN == 0); in gc()
128 size_t nmark = (db->head->first_free / BLOCK_ALIGN + BITS - 1) / BITS; in gc()
215 db->head->first_free = 0; in gc()
244 assert (off_free <= db->head->first_free); in gc()
304 assert (off_alloc <= db->head->first_free); in gc()
328 assert (off_allocend <= db->head->first_free); in gc()
392 assert (off_alloc <= db->head->first_free); in gc()
393 if (off_alloc == db->head->first_free) in gc()
408 <= db->data + db->head->first_free); in gc()
411 <= db->data + db->head->first_free); in gc()
[all …]
Dconnections.c302 check_use (const char *data, nscd_ssize_t first_free, uint8_t *usemap, in check_use() argument
308 if (start > first_free || start + len > first_free in check_use()
377 || head->first_free < 0 in verify_persistent_db()
378 || head->first_free > head->data_size in verify_persistent_db()
379 || (head->first_free & BLOCK_ALIGN_M1) != 0 in verify_persistent_db()
384 uint8_t *usemap = calloc (head->first_free, 1); in verify_persistent_db()
400 if (! check_use (data, head->first_free, usemap, use_he, work, 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()
429 if (! check_use (data, head->first_free, usemap, in verify_persistent_db()
[all …]
Dcache.c174 assert (newp->key + newp->len <= table->head->first_free); in cache_add()
509 data + table->head->first_free - (char *) table->head, in prune_cache()
Dnscd-client.h329 nscd_ssize_t first_free; /* Offset of first free byte in data area. */ member
Dnscd_stat.c143 data.dbs[cnt].dataused = dbs[cnt].head->first_free; in send_stats()
Dcachedumper.c99 DPS (first_free); in nscd_print_cache()