Lines Matching refs:proc
40 extern int32_t dtrace_systrace_syscall(struct proc *, void *, int *);
45 unix_syscall(struct arm_saved_state * regs, thread_t thread_act, struct proc * proc);
93 struct proc * proc) in unix_syscall() argument
151 pid = proc_pid(proc); in unix_syscall()
158 pid, proc->p_comm, thread_tid(current_thread())); in unix_syscall()
161 …if (__improbable(proc_syscall_filter_mask(proc) != NULL && !bitstr_test(proc_syscall_filter_mask(p… in unix_syscall()
162 error = mac_proc_check_syscall_unix(proc, syscode); in unix_syscall()
180 AUDIT_SYSCALL_ENTER(code, proc, uthread); in unix_syscall()
181 error = (*(callp->sy_call))(proc, &uthread->uu_arg[0], &(uthread->uu_rval[0])); in unix_syscall()
182 AUDIT_SYSCALL_EXIT(code, proc, uthread, error); in unix_syscall()
190 … pid, get_bsdtask_info(current_task()) ? proc->p_comm : "unknown", thread_tid(current_thread())); in unix_syscall()
235 struct proc *proc; in unix_syscall_return() local
244 proc = current_proc(); in unix_syscall_return()
262 AUDIT_SYSCALL_EXIT(code, proc, uthread, error); in unix_syscall_return()
284 error, uthread->uu_rval[0], uthread->uu_rval[1], proc_getpid(proc)); in unix_syscall_return()