Lines Matching refs:container_of
9 use crate::{alloc::Flags, bindings, container_of, error::Result, prelude::*};
338 let node = unsafe { container_of!(curr, Node<K, V>, links) }; in raw_entry()
386 let this = unsafe { container_of!(node, Node<K, V>, links) }; in get()
433 let this = unsafe { container_of!(node, Node<K, V>, links) }; in cursor_lower_bound()
495 let this = unsafe { container_of!(next, Node<K, V>, links) }; in drop()
770 let this = unsafe { container_of!(self.current.as_ptr(), Node<K, V>, links) }; in remove_current()
806 let this = unsafe { container_of!(neighbor, Node<K, V>, links) }; in remove_neighbor()
912 let this = unsafe { container_of!(node.as_ptr(), Node<K, V>, links) }; in to_key_value_raw()
1021 let cur = unsafe { container_of!(self.next, Node<K, V>, links) }; in next()
1208 unsafe { &(*container_of!(self.node_links, Node<K, V>, links)).value } in get()
1216 unsafe { &mut (*(container_of!(self.node_links, Node<K, V>, links))).value } in get_mut()
1226 unsafe { &mut (*(container_of!(self.node_links, Node<K, V>, links))).value } in into_mut()
1239 node: unsafe { KBox::from_raw(container_of!(self.node_links, Node<K, V>, links)) }, in remove_node()
1270 let old_node = unsafe { KBox::from_raw(container_of!(self.node_links, Node<K, V>, links)) }; in replace()