Home
last modified time | relevance | path

Searched refs:self_ptr (Results 1 – 4 of 4) sorted by relevance

/linux/rust/kernel/list/
H A Dimpl_list_item_mod.rs285 let self_ptr = unsafe {
289 let cell_inner = $crate::types::Opaque::cast_into(self_ptr);
337 let self_ptr = unsafe {
341 let cell_inner = $crate::types::Opaque::cast_into(self_ptr);
282 let self_ptr = unsafe { global() localVariable
334 let self_ptr = unsafe { global() localVariable
/linux/rust/kernel/drm/gem/
H A Dmod.rs113 unsafe fn from_raw<'a>(self_ptr: *mut bindings::drm_gem_object) -> &'a Self; in from_raw()
152 unsafe fn from_raw<'a>(self_ptr: *mut bindings::drm_gem_object) -> &'a Self { in from_raw()
155 unsafe { &*crate::container_of!(Opaque::cast_from(self_ptr), Object<T>, obj) } in from_raw()
/linux/rust/kernel/
H A Dlist.rs443 self_ptr: Opaque<*const T>, in new()
467 self_ptr: Opaque::uninit(),
478 unsafe { ptr::addr_of!((*me).self_ptr) } in is_empty()
427 self_ptr: Opaque<*const T>, global() field
/linux/drivers/android/binder/
H A Dpage_range.rs315 let self_ptr = self as *const ShrinkablePageRange; in register_with_vma() localVariable
318 (&raw mut (*info).range).write(self_ptr); in register_with_vma()