Lines Matching refs:ka
403 let (sig_number, info, ka) = get_signal_to_deliver(regs.clone()); in do_signal()
413 let res = handle_signal(sig_number, ka.unwrap(), &info.unwrap(), &oldset, regs); in do_signal()
434 let ka: Option<&mut sigaction>; in get_signal_to_deliver() localVariable
468 ka = Some(tmp_ka); in get_signal_to_deliver()
486 return (sig_number, info, ka); in get_signal_to_deliver()
580 ka: &mut sigaction, in handle_signal()
586 let retval = setup_frame(sig, ka, info, oldset, regs); in handle_signal()
598 ka: &mut sigaction, in setup_frame()
604 let frame: *mut sigframe = get_stack(ka, ®s, size_of::<sigframe>()); in setup_frame()
619 (*frame).handler = ka._u._sa_handler as usize as *mut c_void; in setup_frame()
641 if ka.sa_flags & SA_FLAG_RESTORER != 0 { in setup_frame()
643 (*frame).ret_code_ptr = ka.sa_restorer as usize as *mut c_void; in setup_frame()
664 regs.rip = unsafe { ka._u._sa_handler }; in setup_frame()
672 ka.sa_flags |= SA_FLAG_DFL; in setup_frame()
771 for ka in action.iter_mut() { in flush_signal_handlers()
772 if force_default || (ka.sa_flags != SA_FLAG_IGN) { in flush_signal_handlers()
773 ka.sa_flags = SA_FLAG_DFL; in flush_signal_handlers()
774 ka._u._sa_handler = None; in flush_signal_handlers()
777 ka.sa_flags &= SA_FLAG_DFL | SA_FLAG_IGN; in flush_signal_handlers()
778 ka.sa_restorer = None; in flush_signal_handlers()
779 sigset_clear(&mut ka.sa_mask); in flush_signal_handlers()