Lines Matching refs:sighand
160 let sighand_ptr = sighand_struct::convert_mut(unsafe { &mut *pcb.sighand }); in lock_process_sighand()
170 let ret = unsafe { ((*pcb).sighand as *mut sighand_struct).as_mut() }; in lock_process_sighand()
179 let lock = unsafe { &mut (*pcb.sighand).siglock }; in unlock_process_sighand()
227 assert!(spin_is_locked(unsafe { &(*pcb.sighand).siglock })); in __send_signal_locked()
341 sighand_struct::convert_ref(pcb.sighand).unwrap().action[(sig as usize) - 1] in sig_fatal()
378 assert!(spin_is_locked(&unsafe { (*pcb.sighand).siglock })); in signal_wake_up_state()
436 let sighand: &mut sighand_struct; in get_signal_to_deliver() localVariable
439 let _tmp = sighand_struct::convert_mut(current_pcb().sighand); in get_signal_to_deliver()
441 sighand = i; in get_signal_to_deliver()
447 spin_lock_irq(&mut sighand.siglock); in get_signal_to_deliver()
454 spin_unlock_irq(unsafe { (&mut (*current_pcb().sighand).siglock) as *mut spinlock_t }); in get_signal_to_deliver()
459 let hand = sighand_struct::convert_mut(current_pcb().sighand).unwrap(); in get_signal_to_deliver()
477 spin_unlock_irq(&mut sighand.siglock); in get_signal_to_deliver()
485 spin_unlock_irq(&mut sighand.siglock); in get_signal_to_deliver()
770 let action = unsafe { &mut (*(*pcb).sighand).action }; in flush_signal_handlers()
794 sigaction::convert_mut(unsafe { &mut (*(pcb.sighand)).action[(sig as usize) - 1] }) in do_sigaction()
797 spin_lock_irq(unsafe { &mut (*(pcb.sighand)).siglock }); in do_sigaction()
800 spin_unlock_irq(unsafe { &mut (*(pcb.sighand)).siglock }); in do_sigaction()
860 spin_unlock_irq(unsafe { &mut (*(pcb.sighand)).siglock }); in do_sigaction()
914 let lock: &mut spinlock_t = &mut sighand_struct::convert_mut(pcb.sighand).unwrap().siglock; in set_current_sig_blocked()