Lines Matching refs:reftable_index
3106 uint64_t reftable_index, uint64_t *reftable_size,
3117 uint64_t reftable_index, uint64_t *reftable_size, in alloc_refblock() argument
3124 if (!refblock_empty && reftable_index >= *reftable_size) { in alloc_refblock()
3128 new_reftable_size = ROUND_UP(reftable_index + 1, in alloc_refblock()
3151 if (!refblock_empty && !(*reftable)[reftable_index]) { in alloc_refblock()
3157 (*reftable)[reftable_index] = offset; in alloc_refblock()
3171 uint64_t reftable_index, uint64_t *reftable_size, in flush_refblock() argument
3179 if (reftable_index < *reftable_size && (*reftable)[reftable_index]) { in flush_refblock()
3180 offset = (*reftable)[reftable_index]; in flush_refblock()
3227 uint64_t reftable_index; in walk_over_reftable() local
3233 for (reftable_index = 0; reftable_index < s->refcount_table_size; in walk_over_reftable()
3234 reftable_index++) in walk_over_reftable()
3236 uint64_t refblock_offset = s->refcount_table[reftable_index] in walk_over_reftable()
3239 status_cb(bs, (uint64_t)index * s->refcount_table_size + reftable_index, in walk_over_reftable()
3249 reftable_index); in walk_over_reftable()
3288 offset = ((reftable_index << s->refcount_block_bits) in walk_over_reftable()