/openbmc/linux/rust/kernel/ |
H A D | types.rs | 30 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()
|
H A D | kunit.rs | 9 use core::{ffi::c_void, fmt}; 22 &args as *const _ as *const c_void, in err() constant 38 &args as *const _ as *const c_void, in info() constant
|
H A D | print.rs | 10 ffi::{c_char, c_void}, 24 ptr: *const c_void, in rust_fmt_argument() argument 114 &args as *const _ as *const c_void, constant 134 &args as *const _ as *const c_void, in call_printk_cont() constant
|
H A D | allocator.rs | 39 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()
|
H A D | error.rs | 280 let const_ptr: *const core::ffi::c_void = ptr.cast(); in from_err_ptr()
|
/openbmc/qemu/rust/hw/char/pl011/src/ |
H A D | device.rs | 8 os::raw::{c_int, c_uchar, c_uint, c_void}, 123 const CLASS_INIT: Option<unsafe extern "C" fn(klass: *mut ObjectClass, data: *mut c_void)> = 126 unsafe extern "C" fn(klass: *mut ObjectClass, data: *mut c_void), 152 addr_of_mut!(*self).cast::<c_void>(), in init() 174 addr_of_mut!(*self).cast::<c_void>(), in init() 289 addr_of_mut!(break_enable).cast::<c_void>(), in write() 419 addr_of_mut!(*self).cast::<c_void>(), in realize() 548 pub unsafe extern "C" fn pl011_can_receive(opaque: *mut c_void) -> c_int { in pl011_can_receive() 563 pub unsafe extern "C" fn pl011_receive(opaque: *mut c_void, buf: *const u8, size: c_int) { in pl011_receive() argument 582 pub unsafe extern "C" fn pl011_event(opaque: *mut c_void, event: QEMUChrEvent) { in pl011_event() argument [all …]
|
H A D | memory_ops.rs | 6 use std::os::raw::{c_uint, c_void}; 26 unsafe extern "C" fn pl011_read(opaque: *mut c_void, addr: hwaddr, size: c_uint) -> u64 { in pl011_read() argument 43 unsafe extern "C" fn pl011_write(opaque: *mut c_void, addr: hwaddr, data: u64, _size: c_uint) { in pl011_write() argument
|
H A D | device_class.rs | 6 use std::os::raw::{c_int, c_void}; 15 extern "C" fn pl011_clock_needed(opaque: *mut c_void) -> bool { in pl011_clock_needed() 35 extern "C" fn pl011_post_load(opaque: *mut c_void, version_id: c_int) -> c_int { in pl011_post_load() argument
|
/openbmc/qemu/rust/qemu-api/tests/ |
H A D | tests.rs | 5 use std::{ffi::CStr, os::raw::c_void}; 68 const CLASS_INIT: Option<unsafe extern "C" fn(klass: *mut ObjectClass, data: *mut c_void)> = in test_device_decl_macros() 71 unsafe extern "C" fn(klass: *mut ObjectClass, data: *mut c_void), in test_device_decl_macros()
|
/openbmc/qemu/rust/qemu-api/src/ |
H A D | lib.rs | 41 os::raw::c_void, 56 fn qemu_memalign(alignment: usize, size: usize) -> *mut c_void; in qemu_memalign() argument 57 fn qemu_vfree(ptr: *mut c_void); in qemu_vfree() argument 122 const _: [(); 8] = [(); ::core::mem::size_of::<*mut c_void>()];
|
H A D | definitions.rs | 7 use std::{ffi::CStr, os::raw::c_void}; 24 const CLASS_INIT: Option<unsafe extern "C" fn(klass: *mut ObjectClass, data: *mut c_void)>; 26 unsafe extern "C" fn(klass: *mut ObjectClass, data: *mut c_void),
|
H A D | device_class.rs | 14 _: *mut ::std::os::raw::c_void,
|
/openbmc/linux/rust/kernel/sync/ |
H A D | arc.rs | 239 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()
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pyruvate/ |
H A D | 0001-musl-Define-SOCK_SEQPACKET-in-common-place.patch | 81 pub fn getrandom(buf: *mut ::c_void, buflen: ::size_t, flags: ::c_uint) -> ::ssize_t;
|
/openbmc/openbmc/poky/meta/recipes-devtools/rust/files/ |
H A D | rv32-rustix-libc-backend.patch | 32 fn as_ptr(&mut self) -> *mut c::c_void { 33 self.0.as_raw_fd() as *mut c::c_void
|
H A D | rv32-cargo-rustix-0.38.28-fix.patch | 58 fn as_ptr(&mut self) -> *mut c::c_void { 59 self.0.as_raw_fd() as *mut c::c_void
|