Lines Matching defs:child_field_of_parent
358 // we store `parent` and `child_field_of_parent`, and the new `node` will go somewhere
359 // in the subtree of `parent` that `child_field_of_parent` points at. Once
362 let mut child_field_of_parent: &mut *mut bindings::rb_node =
365 while !(*child_field_of_parent).is_null() {
366 let curr = *child_field_of_parent;
373 Ordering::Less => child_field_of_parent = unsafe { &mut (*curr).rb_left },
375 Ordering::Greater => child_field_of_parent = unsafe { &mut (*curr).rb_right },
389 child_field_of_parent,
1301 /// - `child_field_of_parent` is a valid pointer to the left-child or right-child of `parent`. If `parent` is
1309 child_field_of_parent: *mut *mut bindings::rb_node,
1328 unsafe { bindings::rb_link_node(node_links, self.parent, self.child_field_of_parent) };