Lines Matching refs:current_pcb
5 asm::{bitops::ffz, current::current_pcb, ptrace::user_mode},
402 if current_pcb().sig_pending.signal == 0 || (!user_mode(regs)) { in do_signal()
412 let oldset = current_pcb().sig_blocked; in do_signal()
422 current_pcb().pid in do_signal()
429 current_pcb().pid, in do_signal()
450 let _tmp = sighand_struct::convert_mut(current_pcb().sighand); in get_signal_to_deliver()
454 panic!("Sighand is NULL! pid={}", current_pcb().pid); in get_signal_to_deliver()
461 dequeue_signal(sigset_t::convert_mut(&mut current_pcb().sig_blocked).unwrap()); in get_signal_to_deliver()
465 spin_unlock_irq(unsafe { (&mut (*current_pcb().sighand).siglock) as *mut spinlock_t }); in get_signal_to_deliver()
470 let hand = sighand_struct::convert_mut(current_pcb().sighand).unwrap(); in get_signal_to_deliver()
485 current_pcb().pid in get_signal_to_deliver()
490 current_pcb().flags |= PF_SIGNALED as u64; in get_signal_to_deliver()
506 sigpending::convert_ref(&(current_pcb().sig_pending)).unwrap(), in dequeue_signal()
515 sigpending::convert_mut(&mut current_pcb().sig_pending).unwrap(), in dequeue_signal()
648 current_pcb().pid, in setup_frame()
718 let current_thread = current_pcb().thread; in setup_sigcontext()
736 let mut current_thread = current_pcb().thread; in restore_sigcontext()
827 current_pcb().pid, in sys_sigaction()
886 let pcb = current_pcb(); in do_sigaction()
1007 let mut pcb = current_pcb(); in set_current_sig_blocked()