Lines Matching refs:current_pcb
10 asm::{bitops::ffz, current::current_pcb, ptrace::user_mode},
290 q._sinfo.data._sifields._kill._pid = current_pcb().pid; in __send_signal_locked()
294 let sq: &mut SigQueue = SigQueue::from_c_void(current_pcb().sig_pending.sigqueue); in __send_signal_locked()
437 if current_pcb().sig_pending.signal == 0 || (!user_mode(regs)) { in do_signal()
446 let oldset = current_pcb().sig_blocked; in do_signal()
456 current_pcb().pid in do_signal()
463 current_pcb().pid, in do_signal()
484 let _tmp = sighand_struct::convert_mut(current_pcb().sighand); in get_signal_to_deliver()
488 panic!("Sighand is NULL! pid={}", current_pcb().pid); in get_signal_to_deliver()
495 dequeue_signal(sigset_t::convert_mut(&mut current_pcb().sig_blocked).unwrap()); in get_signal_to_deliver()
499 spin_unlock_irq(unsafe { (&mut (*current_pcb().sighand).siglock) as *mut spinlock_t }); in get_signal_to_deliver()
504 let hand = sighand_struct::convert_mut(current_pcb().sighand).unwrap(); in get_signal_to_deliver()
519 current_pcb().pid in get_signal_to_deliver()
524 current_pcb().flags |= PF_SIGNALED as u64; in get_signal_to_deliver()
540 sigpending::convert_ref(&(current_pcb().sig_pending)).unwrap(), in dequeue_signal()
549 sigpending::convert_mut(&mut current_pcb().sig_pending).unwrap(), in dequeue_signal()
668 if current_pcb().fp_state != null_mut() { in setup_frame()
670 let fp_state: &mut FpState = (current_pcb().fp_state as usize as *mut FpState) in setup_frame()
693 current_pcb().pid, in setup_frame()
774 let current_thread = current_pcb().thread; in setup_sigcontext()
792 let mut current_thread = current_pcb().thread; in restore_sigcontext()
801 *(current_pcb().fp_state as usize as *mut FpState) = (*context).sc_stack.fpstate; in restore_sigcontext()
888 current_pcb().pid, in sys_sigaction()
952 let pcb = current_pcb(); in do_sigaction()
1067 let mut pcb = current_pcb(); in set_current_sig_blocked()