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
70 return (-(EINVAL as i64)) as u64; in sys_kill()
89 let retval = signal_kill_something_info(sig, Some(&mut info), pid) as u64; in sys_kill()
160 let mut flags: u64 = 0; in signal_send_sig_info()
180 flags: &mut u64, in lock_process_sighand() argument
202 fn unlock_process_sighand(pcb: &mut process_control_block, flags: u64) { in unlock_process_sighand() argument
257 if sig == SignalNumber::SIGKILL || (pcb.flags & (PF_KTHREAD as u64)) != 0 { in __send_signal_locked()
327 if (pcb.flags & (PF_EXITING as u64)) > 0 { in wants_signal()
380 let mut state: u64 = 0; in signal_wake_up()
382 state = PF_WAKEKILL as u64; in signal_wake_up()
387 fn signal_wake_up_state(pcb: &mut process_control_block, state: u64) { in signal_wake_up_state() argument
392 if !process_wake_up_state(pcb, state | (PROC_INTERRUPTIBLE as u64)) { in signal_wake_up_state()
490 current_pcb().flags |= PF_SIGNALED as u64; in get_signal_to_deliver()
493 unsafe { process_do_exit(info.unwrap()._sinfo.data.si_signo as u64) }; in get_signal_to_deliver()
618 let access_check_ok = unsafe { verify_area(frame as u64, size_of::<sigframe>() as u64) }; in setup_frame()
627 (*frame).arg0 = sig as u64; in setup_frame()
658 regs.rdi = sig as u64; in setup_frame()
659 regs.rsi = unsafe { &(*frame).info as *const siginfo as u64 }; in setup_frame()
660 regs.rsp = frame as u64; in setup_frame()
677 regs.cs = (USER_CS | 0x3) as u64; in setup_frame()
678 regs.ds = (USER_DS | 0x3) as u64; in setup_frame()
695 if unsafe { !verify_area(to as u64, size_of::<siginfo>() as u64) } { in copy_siginfo_to_user()
778 pub extern "C" fn sys_sigaction(regs: &mut pt_regs) -> u64 { in sys_sigaction() argument
788 if unsafe { !verify_area(act as usize as u64, size_of::<sigaction>() as u64) } { in sys_sigaction()
789 return (-(EFAULT as i64)) as u64; in sys_sigaction()
792 let _input_sah = unsafe { (*act).sa_handler as u64 }; in sys_sigaction()
807 new_ka.sa_restorer = sar as u64; in sys_sigaction()
813 _sa_handler: unsafe { (*act).sa_handler as u64 }, in sys_sigaction()
817 sa_restorer: unsafe { (*act).sa_restorer as u64 }, in sys_sigaction()
822 if new_ka.sa_restorer != NULL as u64 { in sys_sigaction()
837 return (-(EINVAL as i64)) as u64; in sys_sigaction()
856 if unsafe { !verify_area(old_act as usize as u64, size_of::<sigaction>() as u64) } { in sys_sigaction()
857 return (-(EFAULT as i64)) as u64; in sys_sigaction()
860 let sah: u64; in sys_sigaction()
878 return retval as u64; in sys_sigaction()
962 pub fn sigmask(sig: SignalNumber) -> u64 { in sigmask() argument
968 pub extern "C" fn sys_rt_sigreturn(regs: &mut pt_regs) -> u64 { in sys_rt_sigreturn() argument
977 if unsafe { !verify_area(frame as u64, size_of::<sigframe>() as u64) } { in sys_rt_sigreturn()
981 process_do_exit(SignalNumber::SIGSEGV as u64); in sys_rt_sigreturn()
993 process_do_exit(SignalNumber::SIGSEGV as u64); in sys_rt_sigreturn()