Lines Matching refs:ka
442 let (sig_number, info, ka) = get_signal_to_deliver(regs.clone()); in do_signal()
452 let res = handle_signal(sig_number, ka.unwrap(), &info.unwrap(), &oldset, regs); in do_signal()
473 let ka: Option<&mut sigaction>; in get_signal_to_deliver() localVariable
507 ka = Some(tmp_ka); in get_signal_to_deliver()
525 return (sig_number, info, ka); in get_signal_to_deliver()
619 ka: &mut sigaction, in handle_signal()
625 let retval = setup_frame(sig, ka, info, oldset, regs); in handle_signal()
637 ka: &mut sigaction, in setup_frame()
643 let frame: *mut sigframe = get_stack(ka, ®s, size_of::<sigframe>()); in setup_frame()
658 (*frame).handler = ka._u._sa_handler as usize as *mut c_void; in setup_frame()
669 if ka.sa_flags & SA_FLAG_RESTORER != 0 { in setup_frame()
671 (*frame).ret_code_ptr = ka.sa_restorer as usize as *mut c_void; in setup_frame()
689 regs.rip = unsafe { ka._u._sa_handler }; in setup_frame()
697 ka.sa_flags |= SA_FLAG_DFL; in setup_frame()
784 for ka in action.iter_mut() { in flush_signal_handlers()
785 if force_default || (ka.sa_flags != SA_FLAG_IGN) { in flush_signal_handlers()
786 ka.sa_flags = SA_FLAG_DFL; in flush_signal_handlers()
787 ka._u._sa_handler = None; in flush_signal_handlers()
790 ka.sa_flags &= SA_FLAG_DFL | SA_FLAG_IGN; in flush_signal_handlers()
791 ka.sa_restorer = None; in flush_signal_handlers()
792 sigset_clear(&mut ka.sa_mask); in flush_signal_handlers()