Searched refs:c_void (Results 1 – 6 of 6) sorted by relevance
/DragonOS-0.1.3/kernel/src/exception/ |
D | softirq.rs | 1 use core::{ffi::c_void, ptr::null_mut}; 27 pub action: Option<unsafe extern "C" fn(data: *mut ::core::ffi::c_void)>, //软中断处理函数 28 pub data: *mut c_void, 83 action: Option<unsafe extern "C" fn(data: *mut ::core::ffi::c_void)>, in register_softirq() argument 84 data: *mut c_void, in register_softirq() argument 191 action: Option<unsafe extern "C" fn(data: *mut ::core::ffi::c_void)>, in register_softirq() argument 192 data: *mut c_void, in register_softirq() argument
|
/DragonOS-0.1.3/kernel/src/process/ |
D | initial_proc.rs | 1 use core::ffi::c_void; 44 Box::leak(Box::new(SigQueue::default())) as *mut SigQueue as *mut c_void; in initial_proc_init_signal()
|
D | fork.rs | 1 use core::{ffi::c_void, ptr::null_mut, sync::atomic::compiler_fence}; 103 Box::leak(Box::new(SigQueue::default())) as *mut SigQueue as *mut c_void; in process_copy_signal()
|
/DragonOS-0.1.3/kernel/src/ipc/ |
D | signal_types.rs | 4 use core::ffi::c_void; 65 arg1: *mut ::core::ffi::c_void, 141 pub sa_handler: *mut core::ffi::c_void, 142 pub sa_sigaction: *mut core::ffi::c_void, 145 pub sa_restorer: *mut core::ffi::c_void, 549 pub fn from_c_void(p: *mut c_void) -> &'static mut SigQueue{ in from_c_void() 632 pub ret_code_ptr: *mut core::ffi::c_void, 640 pub handler: *mut c_void, 664 pub sp: *mut c_void,
|
D | signal.rs | 1 use core::{ffi::c_void, intrinsics::size_of, ptr::read_volatile, sync::atomic::compiler_fence}; 658 (*frame).handler = ka._u._sa_handler as usize as *mut c_void; in setup_frame() 671 (*frame).ret_code_ptr = ka.sa_restorer as usize as *mut c_void; in setup_frame() 901 (*old_act).sa_handler = sah as *mut c_void; in sys_sigaction() 904 (*old_act).sa_restorer = old_ka.sa_restorer as *mut c_void; in sys_sigaction()
|
/DragonOS-0.1.3/kernel/src/mm/ |
D | allocator.rs | 32 kfree(ptr as *mut ::core::ffi::c_void); in local_dealloc()
|