Lines Matching full: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()
149 unlock_block(s->info, s->nodes[0]); in ro_step()
150 s->nodes[0] = s->nodes[1]; in ro_step()
154 r = bn_read_lock(s->info, new_child, s->nodes + s->count); in ro_step()
165 unlock_block(s->info, s->nodes[s->count]); in ro_pop()
173 block = s->nodes[s->count - 1]; in ro_node()
191 unlock_block(s->info, s->nodes[i]); in exit_shadow_spine()
203 unlock_block(s->info, s->nodes[0]); in shadow_step()
204 s->nodes[0] = s->nodes[1]; in shadow_step()
208 r = bn_shadow(s->info, b, vt, s->nodes + s->count); in shadow_step()
211 s->root = dm_block_location(s->nodes[0]); in shadow_step()
223 return s->nodes[s->count - 1]; in shadow_current()
230 return s->count == 2 ? s->nodes[0] : NULL; in shadow_parent()