Lines Matching defs:idx
798 static isc_result_t resign_insert(dns_rbtdb_t *rbtdb, int idx,
1088 int idx;
1108 idx = header->node->locknum;
1109 if (rbtdb->heaps == NULL || rbtdb->heaps[idx] == NULL)
1111 heap = rbtdb->heaps[idx];
1145 set_index(void *what, unsigned int idx) {
1148 h->heap_index = idx;
1708 int idx;
1715 idx = rdataset->node->locknum;
1718 ISC_LIST_UNLINK(rbtdb->rdatasets[idx], rdataset, link);
1722 isc_heap_delete(rbtdb->heaps[idx], rdataset->heap_index);
6069 resign_insert(dns_rbtdb_t *rbtdb, int idx, rdatasetheader_t *newheader) {
6076 result = isc_heap_insert(rbtdb->heaps[idx], newheader);
6129 int idx;
6446 idx = newheader->node->locknum;
6449 ISC_LIST_APPEND(rbtdb->rdatasets[idx],
6452 ISC_LIST_PREPEND(rbtdb->rdatasets[idx],
6455 result = isc_heap_insert(rbtdb->heaps[idx],
6464 result = resign_insert(rbtdb, idx, newheader);
6499 idx = newheader->node->locknum;
6502 result = isc_heap_insert(rbtdb->heaps[idx],
6511 ISC_LIST_APPEND(rbtdb->rdatasets[idx],
6514 ISC_LIST_PREPEND(rbtdb->rdatasets[idx],
6517 result = resign_insert(rbtdb, idx, newheader);
6567 idx = newheader->node->locknum;
6569 result = isc_heap_insert(rbtdb->heaps[idx], newheader);
6576 ISC_LIST_APPEND(rbtdb->rdatasets[idx],
6579 ISC_LIST_PREPEND(rbtdb->rdatasets[idx],
6582 result = resign_insert(rbtdb, idx, newheader);
7506 int idx = header->node->locknum;
7507 result = isc_heap_insert(rbtdb->heaps[idx], header);