Lines Matching refs:nodes
129 s->nodes[0] = NULL; in init_ro_spine()
130 s->nodes[1] = NULL; in init_ro_spine()
138 unlock_block(s->info, s->nodes[i]); in exit_ro_spine()
147 unlock_block(s->info, s->nodes[0]); in ro_step()
148 s->nodes[0] = s->nodes[1]; in ro_step()
152 r = bn_read_lock(s->info, new_child, s->nodes + s->count); in ro_step()
163 unlock_block(s->info, s->nodes[s->count]); in ro_pop()
171 block = s->nodes[s->count - 1]; in ro_node()
189 unlock_block(s->info, s->nodes[i]); in exit_shadow_spine()
199 unlock_block(s->info, s->nodes[0]); in shadow_step()
200 s->nodes[0] = s->nodes[1]; in shadow_step()
204 r = bn_shadow(s->info, b, vt, s->nodes + s->count); in shadow_step()
207 s->root = dm_block_location(s->nodes[0]); in shadow_step()
219 return s->nodes[s->count - 1]; in shadow_current()
226 return s->count == 2 ? s->nodes[0] : NULL; in shadow_parent()