Lines Matching refs:neighbor
802 if let Some(neighbor) = self.get_neighbor_raw(direction) { in remove_neighbor()
803 let neighbor = neighbor.as_ptr(); in remove_neighbor() localVariable
806 unsafe { bindings::rb_erase(neighbor, addr_of_mut!(self.tree.root)) }; in remove_neighbor()
809 let this = unsafe { container_of!(neighbor, Node<K, V>, links) }.cast_mut(); in remove_neighbor()
830 self.get_neighbor_raw(direction).map(|neighbor| Self { in mv()
832 current: neighbor, in mv()
847 self.get_neighbor_raw(direction).map(|neighbor| { in peek()
851 unsafe { Self::to_key_value(neighbor) } in peek()
866 self.get_neighbor_raw(direction).map(|neighbor| { in peek_mut()
870 unsafe { Self::to_key_value_mut(neighbor) } in peek_mut()
876 let neighbor = unsafe { in get_neighbor_raw() localVariable
883 NonNull::new(neighbor) in get_neighbor_raw()