Lines Matching refs:sighand
205 let sighand_ptr = sighand_struct::convert_mut(unsafe { &mut *pcb.sighand }); in lock_process_sighand()
215 let ret = unsafe { ((*pcb).sighand as *mut sighand_struct).as_mut() }; in lock_process_sighand()
224 let lock = unsafe { &mut (*pcb.sighand).siglock }; in unlock_process_sighand()
272 assert!(spin_is_locked(unsafe { &(*pcb.sighand).siglock })); in __send_signal_locked()
386 sighand_struct::convert_ref(pcb.sighand).unwrap().action[(sig as usize) - 1] in sig_fatal()
423 assert!(spin_is_locked(&unsafe { (*pcb.sighand).siglock })); in signal_wake_up_state()
481 let sighand: &mut sighand_struct; in get_signal_to_deliver() localVariable
484 let _tmp = sighand_struct::convert_mut(current_pcb().sighand); in get_signal_to_deliver()
486 sighand = i; in get_signal_to_deliver()
492 spin_lock_irq(&mut sighand.siglock); in get_signal_to_deliver()
499 spin_unlock_irq(unsafe { (&mut (*current_pcb().sighand).siglock) as *mut spinlock_t }); in get_signal_to_deliver()
504 let hand = sighand_struct::convert_mut(current_pcb().sighand).unwrap(); in get_signal_to_deliver()
522 spin_unlock_irq(&mut sighand.siglock); in get_signal_to_deliver()
530 spin_unlock_irq(&mut sighand.siglock); in get_signal_to_deliver()
815 let action = unsafe { &mut (*(*pcb).sighand).action }; in flush_signal_handlers()
956 sigaction::convert_mut(unsafe { &mut (*(pcb.sighand)).action[(sig as usize) - 1] }) in do_sigaction()
959 spin_lock_irq(unsafe { &mut (*(pcb.sighand)).siglock }); in do_sigaction()
962 spin_unlock_irq(unsafe { &mut (*(pcb.sighand)).siglock }); in do_sigaction()
1022 spin_unlock_irq(unsafe { &mut (*(pcb.sighand)).siglock }); in do_sigaction()
1077 let lock: &mut spinlock_t = &mut sighand_struct::convert_mut(pcb.sighand).unwrap().siglock; in set_current_sig_blocked()