Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/libs/
Dffi_convert.rs6 fn convert_mut(src: *mut T) -> Option<&'static mut Self>; in convert_mut() method
Drefcount.rs26 fn convert_mut( in convert_mut() method
/DragonOS-0.1.7/kernel/src/ipc/
Dsignal_types.rs376 fn convert_mut( in convert_mut() method
392 fn convert_mut( in convert_mut() method
408 fn convert_mut( in convert_mut() method
424 fn convert_mut( in convert_mut() method
440 fn convert_mut( in convert_mut() method
454 fn convert_mut( in convert_mut() method
Dsignal.rs205 let sighand_ptr = sighand_struct::convert_mut(unsafe { &mut *pcb.sighand }); in lock_process_sighand()
274 let _pending: Option<&mut sigpending> = sigpending::convert_mut(&mut pcb.sig_pending); in __send_signal_locked()
313 sigset_t::convert_mut(&mut pcb.sig_pending.signal).unwrap(), in complete_signal()
321 let _signal: Option<&mut signal_struct> = signal_struct::convert_mut(pcb.signal); in complete_signal()
484 let _tmp = sighand_struct::convert_mut(current_pcb().sighand); in get_signal_to_deliver()
495 dequeue_signal(sigset_t::convert_mut(&mut current_pcb().sig_blocked).unwrap()); in get_signal_to_deliver()
504 let hand = sighand_struct::convert_mut(current_pcb().sighand).unwrap(); in get_signal_to_deliver()
549 sigpending::convert_mut(&mut current_pcb().sig_pending).unwrap(), in dequeue_signal()
956 sigaction::convert_mut(unsafe { &mut (*(pcb.sighand)).action[(sig as usize) - 1] }) in do_sigaction()
1077 let lock: &mut spinlock_t = &mut sighand_struct::convert_mut(pcb.sighand).unwrap().siglock; in set_current_sig_blocked()
/DragonOS-0.1.7/kernel/src/process/
Dfork.rs28 let r = RefCount::convert_mut(unsafe { &mut (*(current_pcb().sighand)).count }).unwrap(); in process_copy_sighand()