Home
last modified time | relevance | path

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

/linux/rust/kernel/list/
H A Dimpl_list_item_mod.rs200 // * This returns the same pointer as `prepare_to_insert` because `prepare_to_insert`
212 // * `me` originates from the most recent call to `prepare_to_insert`, which calls
215 // pointer originally passed to `prepare_to_insert`.
217 // of the most recent call to `prepare_to_insert` promised to retain ownership of the
221 // SAFETY: `me` originates from the most recent call to `prepare_to_insert`, so it
229 // `ListLinks` several times because calls to `prepare_to_insert` and `post_remove`
235 unsafe fn prepare_to_insert(me: *const Self) -> *mut $crate::list::ListLinks<$num> {
241 // * `me` originates from the most recent call to `prepare_to_insert`, which calls
244 // pointer originally passed to `prepare_to_insert`
[all...]
/linux/rust/kernel/
H A Dlist.rs359 unsafe fn prepare_to_insert(me: *const Self) -> *mut ListLinks<ID>; in prepare_to_insert() method
518 let list_links = unsafe { T::prepare_to_insert(raw_item) }; in insert_inner()