Home
last modified time | relevance | path

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

/linux-6.15/rust/kernel/list/
H A Dimpl_list_item_mod.rs7 use crate::list::ListLinks;
34 unsafe fn raw_get_list_links(ptr: *mut Self) -> *mut ListLinks<ID> { in raw_get_list_links()
37 unsafe { (ptr as *mut u8).add(Self::OFFSET) as *mut ListLinks<ID> } in raw_get_list_links()
60 unsafe fn raw_get_list_links(ptr: *mut Self) -> *mut $crate::list::ListLinks$(<$id>)? {
124 using ListLinks;
134 unsafe fn view_links(me: *const Self) -> *mut $crate::list::ListLinks<$num> {
150 unsafe fn view_value(me: *mut $crate::list::ListLinks<$num>) -> *const Self {
166 unsafe fn prepare_to_insert(me: *const Self) -> *mut $crate::list::ListLinks<$num> {
176 unsafe fn post_remove(me: *mut $crate::list::ListLinks<$num>) -> *const Self {
229 unsafe fn view_links(me: *const Self) -> *mut $crate::list::ListLinks<$num> {
[all …]
/linux-6.15/rust/kernel/
H A Dlist.rs85 unsafe fn view_links(me: *const Self) -> *mut ListLinks<ID>; in view_links()
103 unsafe fn view_value(me: *mut ListLinks<ID>) -> *const Self; in view_value()
133 unsafe fn post_remove(me: *mut ListLinks<ID>) -> *const Self; in post_remove()
149 pub struct ListLinks<const ID: u64 = 0> { struct
158 unsafe impl<const ID: u64> Send for ListLinks<ID> {} implementation
161 unsafe impl<const ID: u64> Sync for ListLinks<ID> {} implementation
163 impl<const ID: u64> ListLinks<ID> { impl
168 ListLinks { in new()
202 pub inner: ListLinks<ID>,
226 inner: ListLinks { in new()
[all …]