Lines Matching refs:u64

42         _sa_handler: NULL as u64,
46 sa_restorer: NULL as u64,
53 _sa_handler: NULL as u64,
57 sa_restorer: NULL as u64,
64 pub extern "C" fn sys_kill(regs: &pt_regs) -> u64 { in sys_kill() argument
71 return (-(EINVAL as i64)) as u64; in sys_kill()
99 return x as u64; in sys_kill()
175 let mut flags: u64 = 0; in signal_send_sig_info()
195 flags: &mut u64, in lock_process_sighand() argument
217 fn unlock_process_sighand(pcb: &mut process_control_block, flags: u64) { in unlock_process_sighand() argument
271 if sig == SignalNumber::SIGKILL || (pcb.flags & (PF_KTHREAD as u64)) != 0 { in __send_signal_locked()
356 if (pcb.flags & (PF_EXITING as u64)) > 0 { in wants_signal()
409 let mut state: u64 = 0; in signal_wake_up()
411 state = PF_WAKEKILL as u64; in signal_wake_up()
416 fn signal_wake_up_state(pcb: &mut process_control_block, state: u64) { in signal_wake_up_state() argument
421 if !process_wake_up_state(pcb, state | (PROC_INTERRUPTIBLE as u64)) { in signal_wake_up_state()
518 current_pcb().flags |= PF_SIGNALED as u64; in get_signal_to_deliver()
521 unsafe { process_do_exit(info.unwrap()._sinfo.data.si_signo as u64) }; in get_signal_to_deliver()
646 let access_check_ok = unsafe { verify_area(frame as u64, size_of::<sigframe>() as u64) }; in setup_frame()
655 (*frame).arg0 = sig as u64; in setup_frame()
686 regs.rdi = sig as u64; in setup_frame()
687 regs.rsi = unsafe { &(*frame).info as *const siginfo as u64 }; in setup_frame()
688 regs.rsp = frame as u64; in setup_frame()
705 regs.cs = (USER_CS | 0x3) as u64; in setup_frame()
706 regs.ds = (USER_DS | 0x3) as u64; in setup_frame()
723 if unsafe { !verify_area(to as u64, size_of::<siginfo>() as u64) } { in copy_siginfo_to_user()
806 pub extern "C" fn sys_sigaction(regs: &mut pt_regs) -> u64 { in sys_sigaction() argument
816 if unsafe { !verify_area(act as usize as u64, size_of::<sigaction>() as u64) } { in sys_sigaction()
817 return (-(EFAULT as i64)) as u64; in sys_sigaction()
820 let _input_sah = unsafe { (*act).sa_handler as u64 }; in sys_sigaction()
835 new_ka.sa_restorer = sar as u64; in sys_sigaction()
841 _sa_handler: unsafe { (*act).sa_handler as u64 }, in sys_sigaction()
845 sa_restorer: unsafe { (*act).sa_restorer as u64 }, in sys_sigaction()
851 if new_ka.sa_restorer != NULL as u64 { in sys_sigaction()
866 return (-(EINVAL as i64)) as u64; in sys_sigaction()
885 if unsafe { !verify_area(old_act as usize as u64, size_of::<sigaction>() as u64) } { in sys_sigaction()
886 return (-(EFAULT as i64)) as u64; in sys_sigaction()
889 let sah: u64; in sys_sigaction()
908 return retval as u64; in sys_sigaction()
991 pub fn sigmask(sig: SignalNumber) -> u64 { in sigmask() argument
997 pub extern "C" fn sys_rt_sigreturn(regs: &mut pt_regs) -> u64 { in sys_rt_sigreturn() argument
1001 if unsafe { !verify_area(frame as u64, size_of::<sigframe>() as u64) } { in sys_rt_sigreturn()
1005 process_do_exit(SignalNumber::SIGSEGV as u64); in sys_rt_sigreturn()
1017 process_do_exit(SignalNumber::SIGSEGV as u64); in sys_rt_sigreturn()