Lines Matching refs:nodes
131 s->nodes[0] = NULL; in init_ro_spine()
132 s->nodes[1] = NULL; in init_ro_spine()
140 unlock_block(s->info, s->nodes[i]); in exit_ro_spine()
151 unlock_block(s->info, s->nodes[0]); in ro_step()
152 s->nodes[0] = s->nodes[1]; in ro_step()
156 r = bn_read_lock(s->info, new_child, s->nodes + s->count); in ro_step()
167 unlock_block(s->info, s->nodes[s->count]); in ro_pop()
175 block = s->nodes[s->count - 1]; in ro_node()
193 unlock_block(s->info, s->nodes[i]); in exit_shadow_spine()
205 unlock_block(s->info, s->nodes[0]); in shadow_step()
206 s->nodes[0] = s->nodes[1]; in shadow_step()
210 r = bn_shadow(s->info, b, vt, s->nodes + s->count); in shadow_step()
213 s->root = dm_block_location(s->nodes[0]); in shadow_step()
225 return s->nodes[s->count - 1]; in shadow_current()
232 return s->count == 2 ? s->nodes[0] : NULL; in shadow_parent()