/freebsd-13-stable/sys/kern/ |
H A D | subr_prof.c | 418 p = td->td_proc; 426 upp = &td->td_proc->p_stats->p_prof; 467 prof = &td->td_proc->p_stats->p_prof; 468 PROC_PROFLOCK(td->td_proc); 470 PROC_PROFUNLOCK(td->td_proc); 474 PROC_PROFUNLOCK(td->td_proc); 490 struct proc *p = td->td_proc;
|
H A D | kern_descrip.c | 340 PROC_LOCK(td->td_proc); 341 lim = racct_get_limit(td->td_proc, RACCT_NOFILE); 342 PROC_UNLOCK(td->td_proc); 486 p = td->td_proc; 882 p = td->td_proc; 1183 if (proc->p_session != curthread->td_proc->p_session) { 1207 if (pgrp->pg_session != curthread->td_proc->p_session) { 1297 if (td->td_proc->p_fdtol != NULL) { 1329 if (__predict_false(td->td_proc->p_fdtol != NULL)) { 1358 fdp = td->td_proc [all...] |
H A D | kern_sig.c | 610 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); 611 mtx_assert(&td->td_proc->p_sigacts->ps_mtx, MA_OWNED); 625 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); 648 if (SV_PROC_FLAG(td->td_proc, SV_AOUT) && td->td_sigstk.ss_size == 0) 700 struct proc *p = td->td_proc; 1027 MPASS(td->td_proc == p); 1054 p = td->td_proc; 1183 if (error == EINTR && td->td_proc->p_osrel < P_OSREL_SIGWAIT) 1256 FOREACH_THREAD_IN_PROC(td->td_proc, thr) { 1276 p = td->td_proc; [all...] |
H A D | kern_resource.c | 110 low = td->td_proc->p_nice; 124 pg = td->td_proc->p_pgrp; 194 curp = td->td_proc; 314 p = td->td_proc; 321 p = td1->td_proc; 395 p = td->td_proc; 651 return (kern_proc_setrlimit(td, td->td_proc, which, limp)); 833 if (td->td_proc == p) { 856 p = td->td_proc; 1067 p = td->td_proc; [all...] |
H A D | sysv_msg.c | 713 PROC_LOCK(td->td_proc); 714 error = racct_add(td->td_proc, RACCT_NMSGQ, 1); 715 PROC_UNLOCK(td->td_proc); 827 PROC_LOCK(td->td_proc); 828 if (racct_add(td->td_proc, RACCT_MSGQQUEUED, 1)) { 829 PROC_UNLOCK(td->td_proc); 834 if (racct_add(td->td_proc, RACCT_MSGQSIZE, msgsz)) { 835 racct_sub(td->td_proc, RACCT_MSGQQUEUED, 1); 836 PROC_UNLOCK(td->td_proc); 840 PROC_UNLOCK(td->td_proc); [all...] |
H A D | sched_4bsd.c | 612 NICE_WEIGHT * (td->td_proc->p_nice - PRIO_MIN); 838 SDT_PROBE3(sched, , , change__pri, td, td->td_proc, prio); 843 SDT_PROBE4(sched, , , lend__pri, td, td->td_proc, prio, 989 p = td->td_proc; 1049 if (PMC_PROC_IS_USING_PMCS(td->td_proc)) 1053 SDT_PROBE2(sched, , , off__cpu, newtd, newtd->td_proc); 1089 if (PMC_PROC_IS_USING_PMCS(td->td_proc)) 1301 SDT_PROBE4(sched, , , enqueue, td, td->td_proc, NULL, 1397 SDT_PROBE4(sched, , , enqueue, td, td->td_proc, NULL, 1439 SDT_PROBE3(sched, , , dequeue, td, td->td_proc, NUL [all...] |
H A D | kern_fork.c | 314 p1 = td->td_proc; 341 pdtmp = pdinit(td->td_proc->p_pd, false); 342 fdtmp = fdinit(td->td_proc->p_fd, false, NULL); 377 p1 = td->td_proc; 798 p = td->td_proc; 888 p1 = td->td_proc; 1059 p = td->td_proc; 1112 p = td->td_proc;
|
H A D | subr_trap.c | 99 struct proc *p = td->td_proc; 210 p = td->td_proc;
|
/freebsd-13-stable/sys/compat/linux/ |
H A D | linux_misc.c | 219 struct vmspace *vm = td->td_proc->p_vmspace; 368 PROC_LOCK(td->td_proc); 370 a_out->a_data + bss_size > lim_cur_proc(td->td_proc, RLIMIT_DATA) || 371 racct_set(td->td_proc, RACCT_DATA, a_out->a_data + 373 PROC_UNLOCK(td->td_proc); 377 PROC_UNLOCK(td->td_proc); 405 error = vm_map_find(&td->td_proc->p_vmspace->vm_map, NULL, 0, 431 map = &td->td_proc->p_vmspace->vm_map; 454 error = vm_map_find(&td->td_proc->p_vmspace->vm_map, NULL, 0, 652 p = td->td_proc; [all...] |
H A D | linux_futex.c | 1011 pem = pem_find(td->td_proc); 1023 pem = pem_find(td->td_proc); 1035 pem = pem_find(td->td_proc); 1052 pem = pem_find(td->td_proc); 1065 pem = pem_find(td->td_proc); 1077 pem = pem_find(td->td_proc); 1141 if (SV_PROC_ABI(td2->td_proc) != SV_ABI_LINUX) { 1144 PROC_UNLOCK(td2->td_proc); 1153 p_candebug(td, td2->td_proc)) { 1154 PROC_UNLOCK(td2->td_proc); [all...] |
/freebsd-13-stable/sys/mips/mips/ |
H A D | freebsd32_machdep.c | 278 PROC_LOCK(td->td_proc); 280 PROC_UNLOCK(td->td_proc); 318 PROC_LOCK(td->td_proc); 320 PROC_UNLOCK(td->td_proc); 362 p = td->td_proc; 468 td->td_proc->p_md.md_tls_tcb_offset));
|
H A D | trap.c | 366 if (sa->code == SYS___syscall && SV_PROC_FLAG(td->td_proc, SV_ILP32)) { 392 if (!SV_PROC_FLAG(td->td_proc, SV_ILP32)) { 418 if (!SV_PROC_FLAG(td->td_proc, SV_ILP32)) { 437 printf("SYSCALL #%d pid:%u\n", sa->code, td->td_proc->p_pid); 440 se = td->td_proc->p_sysent; 460 if (!SV_PROC_FLAG(td->td_proc, SV_ILP32)) 463 sa->code, td->td_proc->p_pid, sa->callp->sy_narg, nsaved); 466 if (SV_PROC_FLAG(td->td_proc, SV_ILP32)) { 905 frame_regs[inst.RType.rt] += td->td_proc->p_md.md_tls_tcb_offset; 1409 p = td->td_proc; [all...] |
/freebsd-13-stable/sys/ddb/ |
H A D | db_ps.c | 336 db_printf("%s", td->td_proc->p_comm); 361 db_printf(" proc (pid %d): %p\n", td->td_proc->p_pid, td->td_proc); 454 p = kdb_thread->td_proc;
|
/freebsd-13-stable/sys/fs/procfs/ |
H A D | procfs_fpregs.c | 108 if (SV_PROC_FLAG(td2->td_proc, SV_ILP32) == 0) {
|
H A D | procfs_regs.c | 108 if ((SV_PROC_FLAG(td2->td_proc, SV_ILP32)) == 0) {
|
/freebsd-13-stable/sys/arm/arm/ |
H A D | syscall.c | 120 p = td->td_proc;
|
/freebsd-13-stable/sys/arm64/arm64/ |
H A D | undefined.c | 102 if (SV_PROC_FLAG(td->td_proc, SV_ILP32) &&
|
H A D | genassym.c | 71 ASSYM(TD_PROC, offsetof(struct thread, td_proc));
|
/freebsd-13-stable/sys/cddl/dev/dtrace/ |
H A D | dtrace_cddl.h | 142 #define t_procp td_proc
|
/freebsd-13-stable/sys/compat/freebsd32/ |
H A D | freebsd32_capability.c | 105 fdp = td->td_proc->p_fd;
|
/freebsd-13-stable/sys/amd64/amd64/ |
H A D | trap.c | 227 p = td->td_proc; 333 PROC_LOCK(td->td_proc); 338 PROC_UNLOCK(td->td_proc); 720 p = td->td_proc; 1014 p = td->td_proc; 1056 p = td->td_proc; 1200 syscallname(td->td_proc, td->td_sa.code))); 1203 syscallname(td->td_proc, td->td_sa.code))); 1206 syscallname(td->td_proc, td->td_sa.code),
|
/freebsd-13-stable/cddl/lib/libdtrace/ |
H A D | psinfo.d | 93 inline psinfo_t *curpsinfo = xlate <psinfo_t *> (curthread->td_proc);
|
/freebsd-13-stable/sys/fs/fuse/ |
H A D | fuse_ipc.c | 481 PROC_LOCK(td->td_proc); 482 mtx_lock(&td->td_proc->p_sigacts->ps_mtx); 483 tmpset = td->td_proc->p_siglist; 485 mtx_unlock(&td->td_proc->p_sigacts->ps_mtx); 486 PROC_UNLOCK(td->td_proc); 954 return fdisp_make_pid(fdip, op, data, nid, td->td_proc->p_pid, cred); 966 td->td_proc->p_pid, cred); 976 td->td_proc->p_pid, cred);
|
/freebsd-13-stable/sys/net/route/ |
H A D | route_tables.c | 97 fibnum = curthread->td_proc->p_fibnum; 157 td->td_proc->p_fibnum = uap->fibnum;
|
/freebsd-13-stable/sys/dev/cfi/ |
H A D | cfi_dev.c | 162 (uintptr_t)NULL, (uintptr_t)td->td_proc)) 175 if (sc->sc_opened != td->td_proc)
|