Home
last modified time | relevance | path

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

/DragonOS-0.1.8/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.8/kernel/src/ipc/
Dsignal.rs160 let sighand_ptr = sighand_struct::convert_mut(unsafe { &mut *pcb.sighand }); in lock_process_sighand()
229 let _pending: Option<&mut sigpending> = sigpending::convert_mut(&mut pcb.sig_pending); in __send_signal_locked()
268 sigset_t::convert_mut(&mut pcb.sig_pending.signal).unwrap(), in complete_signal()
276 let _signal: Option<&mut signal_struct> = signal_struct::convert_mut(pcb.signal); in complete_signal()
439 let _tmp = sighand_struct::convert_mut(current_pcb().sighand); in get_signal_to_deliver()
450 dequeue_signal(sigset_t::convert_mut(&mut current_pcb().sig_blocked).unwrap()); in get_signal_to_deliver()
459 let hand = sighand_struct::convert_mut(current_pcb().sighand).unwrap(); in get_signal_to_deliver()
504 sigpending::convert_mut(&mut current_pcb().sig_pending).unwrap(), in dequeue_signal()
794 sigaction::convert_mut(unsafe { &mut (*(pcb.sighand)).action[(sig as usize) - 1] }) in do_sigaction()
914 let lock: &mut spinlock_t = &mut sighand_struct::convert_mut(pcb.sighand).unwrap().siglock; in set_current_sig_blocked()
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
/DragonOS-0.1.8/kernel/src/process/
Dfork.rs28 let r = RefCount::convert_mut(unsafe { &mut (*(current_pcb().sighand)).count }).unwrap(); in process_copy_sighand()