Lines Matching defs:heaps
564 * Number of buckets for cache DB entries (locks, LRU lists, TTL heaps).
701 isc_heap_t **heaps;
1109 if (rbtdb->heaps == NULL || rbtdb->heaps[idx] == NULL)
1111 heap = rbtdb->heaps[idx];
1327 if (rbtdb->heaps != NULL) {
1329 isc_heap_destroy(&rbtdb->heaps[i]);
1330 isc_mem_put(rbtdb->hmctx, rbtdb->heaps,
1722 isc_heap_delete(rbtdb->heaps[idx], rdataset->heap_index);
6076 result = isc_heap_insert(rbtdb->heaps[idx], newheader);
6088 isc_heap_delete(rbtdb->heaps[header->node->locknum],
6454 INSIST(rbtdb->heaps != NULL);
6455 result = isc_heap_insert(rbtdb->heaps[idx],
6501 INSIST(rbtdb->heaps != NULL);
6502 result = isc_heap_insert(rbtdb->heaps[idx],
6569 result = isc_heap_insert(rbtdb->heaps[idx], newheader);
6917 header = isc_heap_element(rbtdb->heaps[rbtnode->locknum], 1);
7507 result = isc_heap_insert(rbtdb->heaps[idx], header);
8186 isc_heap_delete(rbtdb->heaps[header->node->locknum],
8190 isc_heap_increased(rbtdb->heaps[header->node->locknum],
8193 isc_heap_decreased(rbtdb->heaps[header->node->locknum],
8221 this = isc_heap_element(rbtdb->heaps[i], 1);
8526 * Create the heaps.
8528 rbtdb->heaps = isc_mem_get(hmctx, rbtdb->node_lock_count *
8530 if (rbtdb->heaps == NULL) {
8535 rbtdb->heaps[i] = NULL;
8539 &rbtdb->heaps[i]);
8757 if (rbtdb->heaps != NULL) {
8759 if (rbtdb->heaps[i] != NULL)
8760 isc_heap_destroy(&rbtdb->heaps[i]);
8761 isc_mem_put(hmctx, rbtdb->heaps,
10381 header = isc_heap_element(rbtdb->heaps[locknum], 1);