Lines Matching refs:rtree_ctx
129 rtree_ctx_t *rtree_ctx, uintptr_t key, bool dependent, bool init_missing);
327 rtree_leaf_elm_lookup(tsdn_t *tsdn, rtree_t *rtree, rtree_ctx_t *rtree_ctx, in rtree_leaf_elm_lookup() argument
337 if (likely(rtree_ctx->cache[slot].leafkey == leafkey)) { in rtree_leaf_elm_lookup()
338 rtree_leaf_elm_t *leaf = rtree_ctx->cache[slot].leaf; in rtree_leaf_elm_lookup()
353 if (likely(rtree_ctx->l2_cache[i].leafkey == leafkey)) { \ in rtree_leaf_elm_lookup()
354 rtree_leaf_elm_t *leaf = rtree_ctx->l2_cache[i].leaf; \ in rtree_leaf_elm_lookup()
363 rtree_ctx->l2_cache[i].leafkey = \ in rtree_leaf_elm_lookup()
364 rtree_ctx->l2_cache[i - 1].leafkey; \ in rtree_leaf_elm_lookup()
365 rtree_ctx->l2_cache[i].leaf = \ in rtree_leaf_elm_lookup()
366 rtree_ctx->l2_cache[i - 1].leaf; \ in rtree_leaf_elm_lookup()
367 rtree_ctx->l2_cache[i - 1].leafkey = \ in rtree_leaf_elm_lookup()
368 rtree_ctx->cache[slot].leafkey; \ in rtree_leaf_elm_lookup()
369 rtree_ctx->l2_cache[i - 1].leaf = \ in rtree_leaf_elm_lookup()
370 rtree_ctx->cache[slot].leaf; \ in rtree_leaf_elm_lookup()
372 rtree_ctx->l2_cache[0].leafkey = \ in rtree_leaf_elm_lookup()
373 rtree_ctx->cache[slot].leafkey; \ in rtree_leaf_elm_lookup()
374 rtree_ctx->l2_cache[0].leaf = \ in rtree_leaf_elm_lookup()
375 rtree_ctx->cache[slot].leaf; \ in rtree_leaf_elm_lookup()
377 rtree_ctx->cache[slot].leafkey = leafkey; \ in rtree_leaf_elm_lookup()
378 rtree_ctx->cache[slot].leaf = leaf; \ in rtree_leaf_elm_lookup()
391 return rtree_leaf_elm_lookup_hard(tsdn, rtree, rtree_ctx, key, in rtree_leaf_elm_lookup()
396 rtree_write(tsdn_t *tsdn, rtree_t *rtree, rtree_ctx_t *rtree_ctx, uintptr_t key, in rtree_write() argument
401 rtree_leaf_elm_t *elm = rtree_leaf_elm_lookup(tsdn, rtree, rtree_ctx, in rtree_write()
414 rtree_read(tsdn_t *tsdn, rtree_t *rtree, rtree_ctx_t *rtree_ctx, uintptr_t key, in rtree_read() argument
416 rtree_leaf_elm_t *elm = rtree_leaf_elm_lookup(tsdn, rtree, rtree_ctx, in rtree_read()
429 rtree_extent_read(tsdn_t *tsdn, rtree_t *rtree, rtree_ctx_t *rtree_ctx, in rtree_extent_read() argument
431 rtree_leaf_elm_t *elm = rtree_read(tsdn, rtree, rtree_ctx, key, in rtree_extent_read()
443 rtree_szind_read(tsdn_t *tsdn, rtree_t *rtree, rtree_ctx_t *rtree_ctx, in rtree_szind_read() argument
445 rtree_leaf_elm_t *elm = rtree_read(tsdn, rtree, rtree_ctx, key, in rtree_szind_read()
461 rtree_extent_szind_read(tsdn_t *tsdn, rtree_t *rtree, rtree_ctx_t *rtree_ctx, in rtree_extent_szind_read() argument
463 rtree_leaf_elm_t *elm = rtree_read(tsdn, rtree, rtree_ctx, key, in rtree_extent_szind_read()
477 rtree_szind_slab_read(tsdn_t *tsdn, rtree_t *rtree, rtree_ctx_t *rtree_ctx, in rtree_szind_slab_read() argument
479 rtree_leaf_elm_t *elm = rtree_read(tsdn, rtree, rtree_ctx, key, in rtree_szind_slab_read()
499 rtree_szind_slab_update(tsdn_t *tsdn, rtree_t *rtree, rtree_ctx_t *rtree_ctx, in rtree_szind_slab_update() argument
503 rtree_leaf_elm_t *elm = rtree_read(tsdn, rtree, rtree_ctx, key, true); in rtree_szind_slab_update()
508 rtree_clear(tsdn_t *tsdn, rtree_t *rtree, rtree_ctx_t *rtree_ctx, in rtree_clear() argument
510 rtree_leaf_elm_t *elm = rtree_read(tsdn, rtree, rtree_ctx, key, true); in rtree_clear()