Home
last modified time | relevance | path

Searched refs:c_void (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/rust/kernel/
Dtypes.rs30 fn into_foreign(self) -> *const core::ffi::c_void; in into_foreign() argument
38 unsafe fn borrow<'a>(ptr: *const core::ffi::c_void) -> Self::Borrowed<'a>; in borrow()
48 unsafe fn from_foreign(ptr: *const core::ffi::c_void) -> Self; in from_foreign()
54 fn into_foreign(self) -> *const core::ffi::c_void { in into_foreign() argument
58 unsafe fn borrow<'a>(ptr: *const core::ffi::c_void) -> &'a T { in borrow()
66 unsafe fn from_foreign(ptr: *const core::ffi::c_void) -> Self { in from_foreign()
76 fn into_foreign(self) -> *const core::ffi::c_void { in into_foreign() argument
80 unsafe fn borrow<'a>(_: *const core::ffi::c_void) -> Self::Borrowed<'a> {} in borrow()
82 unsafe fn from_foreign(_: *const core::ffi::c_void) -> Self {} in from_foreign()
Dkunit.rs9 use core::{ffi::c_void, fmt};
22 &args as *const _ as *const c_void, in err()
38 &args as *const _ as *const c_void, in info()
Dprint.rs10 ffi::{c_char, c_void},
24 ptr: *const c_void, in rust_fmt_argument() argument
114 &args as *const _ as *const c_void,
134 &args as *const _ as *const c_void, in call_printk_cont()
Dallocator.rs39 unsafe { bindings::krealloc(ptr as *const core::ffi::c_void, size, flags) as *mut u8 } in krealloc_aligned()
51 bindings::kfree(ptr as *const core::ffi::c_void); in dealloc()
Derror.rs280 let const_ptr: *const core::ffi::c_void = ptr.cast(); in from_err_ptr()
/Linux-v6.6/rust/kernel/sync/
Darc.rs239 fn into_foreign(self) -> *const core::ffi::c_void { in into_foreign() argument
243 unsafe fn borrow<'a>(ptr: *const core::ffi::c_void) -> ArcBorrow<'a, T> { in borrow()
253 unsafe fn from_foreign(ptr: *const core::ffi::c_void) -> Self { in from_foreign()