Home
last modified time | relevance | path

Searched refs:view_value (Results 1 – 2 of 2) sorted by relevance

/linux/rust/kernel/list/
H A Dimpl_list_item_mod.rs220 unsafe fn view_value(me: *mut $crate::list::ListLinks<$num>) -> *const Self {
292 // `post_remove`, or `view_value`. By the safety requirements of those methods,
315 // requirements for `view_value`.
323 // GUARANTEES: (only when using the `view_value` safety requirements)
328 unsafe fn view_value(links_field: *mut $crate::list::ListLinks<$num>) -> *const Self {
345 // `prepare_to_insert` method may not be called in parallel with `view_value` or
351 // The first guarantee of `view_value` is exactly what `post_remove` guarantees.
353 // SAFETY: This specific implementation of `view_value` allows the caller to
355 // requirements for `view_value`.
356 unsafe { <Self as $crate::list::ListItem<$num>>::view_value(m
[all...]
/linux/rust/kernel/
H A Dlist.rs341 unsafe fn view_value(me: *mut ListLinks<ID>) -> *const Self; in view_value() method
817 let item = unsafe { T::view_value(ListLinks::from_fields(current)) }; in next()
1144 let me = unsafe { T::view_value(ListLinks::from_fields(self.ptr)) }; in arc()
1171 let me = unsafe { T::view_value(ListLinks::from_fields(self.ptr)) }; in deref()