Home
last modified time | relevance | path

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

/DragonOS-0.1.3/kernel/src/libs/
Dffi_convert.rs6 fn convert_mut(src: *mut T) -> Option<&'static mut Self>; in convert_mut() method
Drefcount.rs18 fn convert_mut( in convert_mut() method
/DragonOS-0.1.3/kernel/src/ipc/
Dsignal_types.rs375 fn convert_mut( in convert_mut() method
391 fn convert_mut( in convert_mut() method
407 fn convert_mut( in convert_mut() method
423 fn convert_mut( in convert_mut() method
439 fn convert_mut( in convert_mut() method
453 fn convert_mut( in convert_mut() method
Dsignal.rs199 let sighand_ptr = sighand_struct::convert_mut(unsafe { &mut *pcb.sighand }); in lock_process_sighand()
268 let _pending: Option<&mut sigpending> = sigpending::convert_mut(&mut pcb.sig_pending); in __send_signal_locked()
307 sigset_t::convert_mut(&mut pcb.sig_pending.signal).unwrap(), in complete_signal()
315 let _signal: Option<&mut signal_struct> = signal_struct::convert_mut(pcb.signal); in complete_signal()
478 let _tmp = sighand_struct::convert_mut(current_pcb().sighand); in get_signal_to_deliver()
489 dequeue_signal(sigset_t::convert_mut(&mut current_pcb().sig_blocked).unwrap()); in get_signal_to_deliver()
498 let hand = sighand_struct::convert_mut(current_pcb().sighand).unwrap(); in get_signal_to_deliver()
543 sigpending::convert_mut(&mut current_pcb().sig_pending).unwrap(), in dequeue_signal()
920 sigaction::convert_mut(unsafe { &mut (*(pcb.sighand)).action[(sig as usize) - 1] }) in do_sigaction()
1041 let lock: &mut spinlock_t = &mut sighand_struct::convert_mut(pcb.sighand).unwrap().siglock; in set_current_sig_blocked()
/DragonOS-0.1.3/kernel/src/process/
Dfork.rs27 let r = RefCount::convert_mut(unsafe { &mut (*(current_pcb().sighand)).count }).unwrap(); in process_copy_sighand()