Lines Matching refs:i32
66 let sig: SignalNumber = SignalNumber::from(regs.r9 as i32); in sys_kill()
78 si_signo: sig as i32, in sys_kill()
79 si_code: si_code_val::SI_USER as i32, in sys_kill()
110 ) -> Result<i32, i32> { in signal_kill_something_info() argument
114 return Err(-(ENOTSUP as i32)); in signal_kill_something_info()
125 ) -> Result<i32, i32> { in signal_kill_proc_info() argument
126 let mut retval = Err(-(ESRCH as i32)); in signal_kill_proc_info()
150 return if (sig as i32) <= MAX_SIG_NUM { in verify_signal()
165 ) -> Result<i32, i32> { in signal_send_sig_info() argument
169 return Err(-(EINVAL as i32)); in signal_send_sig_info()
174 let mut retval = Err(-(ESRCH as i32)); in signal_send_sig_info()
232 ) -> Result<i32, i32> { in send_signal_locked() argument
240 == (si_code_val::SI_KERNEL as i32); in send_signal_locked()
262 ) -> Result<i32, i32> { in __send_signal_locked() argument
449 sig_number as i32, in do_signal()
456 sig_number as i32, in do_signal()
512 sig_number as i32, in get_signal_to_deliver()
623 ) -> Result<i32, i32> { in handle_signal() argument
641 ) -> Result<i32, i32> { in setup_frame() argument
651 return Err(-(EPERM as i32)); in setup_frame()
677 sig as i32 in setup_frame()
721 fn copy_siginfo_to_user(to: *mut siginfo, from: &siginfo) -> Result<i32, i32> { in copy_siginfo_to_user() argument
725 return Err(-(EPERM as i32)); in copy_siginfo_to_user()
728 let retval: Result<i32, i32> = Ok(0); in copy_siginfo_to_user()
745 fn setup_sigcontext(context: &mut sigcontext, mask: &sigset_t, regs: &pt_regs) -> Result<i32, i32> { in setup_sigcontext() argument
863 let sig = SignalNumber::from(regs.r8 as i32); in sys_sigaction()
915 ) -> i32 { in do_sigaction() argument
927 return -(EINVAL as i32); in do_sigaction()
993 return 1u64 << ((sig as i32) - 1); in sigmask()