Home
last modified time | relevance | path

Searched refs:cast_into (Results 1 – 5 of 5) sorted by relevance

/linux/rust/kernel/
H A Dtypes.rs369 init_func(Self::cast_into(slot)); in ffi_init()
389 pin_init::pin_init_from_closure::<_, E>(move |slot| init_func(Self::cast_into(slot))) in try_ffi_init()
402 pub const fn cast_into(this: *const Self) -> *mut T { in cast_into() method
H A Ddevres.rs175 let inner = Opaque::cast_into(inner); in new()
H A Dlist.rs404 unsafe { Opaque::cast_into(ptr::addr_of!((*me).inner)) } in fields()
H A Dconfigfs.rs282 Opaque::cast_into( in group()
/linux/rust/kernel/list/
H A Dimpl_list_item_mod.rs282 let cell_inner = $crate::types::Opaque::cast_into(self_ptr);
331 let cell_inner = $crate::types::Opaque::cast_into(self_ptr);