Lines Matching refs:i32
66 let sig: SignalNumber = SignalNumber::from(regs.r9 as i32); in sys_kill()
77 si_signo: sig as i32, in sys_kill()
78 si_code: si_code_val::SI_USER as i32, in sys_kill()
99 fn signal_kill_something_info(sig: SignalNumber, info: Option<&mut siginfo>, pid: pid_t) -> i32 { in signal_kill_something_info() argument
103 return -(ENOTSUP as i32); in signal_kill_something_info()
110 fn signal_kill_proc_info(sig: SignalNumber, info: Option<&mut siginfo>, pid: pid_t) -> i32 { in signal_kill_proc_info() argument
111 let mut retval: i32 = -(ESRCH as i32); in signal_kill_proc_info()
135 return if (sig as i32) <= MAX_SIG_NUM { in verify_signal()
150 ) -> i32 { in signal_send_sig_info() argument
154 return -(EINVAL as i32); in signal_send_sig_info()
159 let mut retval = -(ESRCH as i32); in signal_send_sig_info()
217 ) -> i32 { in send_signal_locked() argument
225 == (si_code_val::SI_KERNEL as i32); in send_signal_locked()
247 ) -> i32 { in __send_signal_locked() argument
261 retval = -(ENOTSUP as i32); in __send_signal_locked()
421 sig_number as i32, in do_signal()
428 sig_number as i32, in do_signal()
484 sig_number as i32, in get_signal_to_deliver()
595 ) -> Result<i32, i32> { in handle_signal() argument
613 ) -> Result<i32, i32> { in setup_frame() argument
623 return Err(-(EPERM as i32)); in setup_frame()
649 sig as i32 in setup_frame()
693 fn copy_siginfo_to_user(to: *mut siginfo, from: &siginfo) -> Result<i32, i32> { in copy_siginfo_to_user() argument
697 return Err(-(EPERM as i32)); in copy_siginfo_to_user()
700 let retval: Result<i32, i32> = Ok(0); in copy_siginfo_to_user()
717 fn setup_sigcontext(context: &mut sigcontext, mask: &sigset_t, regs: &pt_regs) -> Result<i32, i32> { in setup_sigcontext() argument
834 let sig = SignalNumber::from(regs.r8 as i32); in sys_sigaction()
885 ) -> i32 { in do_sigaction() argument
897 return -(EINVAL as i32); in do_sigaction()
964 return 1u64 << ((sig as i32) - 1); in sigmask()