/freebsd-13-stable/sys/compat/linux/ |
H A D | linux_util.h | 90 if (pid != td->td_proc->p_pid) { \ 93 pid = td->td_proc->p_pid; \
|
H A D | linux_fork.c | 220 proc_reparent(p2, td->td_proc->p_pptr, true); 259 p = td->td_proc; 283 newtd->td_proc = p;
|
/freebsd-13-stable/sys/amd64/amd64/ |
H A D | sys_machdep.c | 364 map = &td->td_proc->p_vmspace->vm_map; 378 map = &td->td_proc->p_vmspace->vm_map; 501 target = curthread->td_proc; 565 struct proc *p = td->td_proc; 629 pldt = td->td_proc->p_md.md_ldt; 665 mdp = &td->td_proc->p_md; 669 p = td->td_proc; 809 mdp = &td->td_proc->p_md;
|
H A D | vm_machdep.c | 213 p1 = td1->td_proc; 266 mdp1 = &td1->td_proc->p_md; 327 if (td->td_proc->p_md.md_ldt != NULL) 633 if (SV_PROC_FLAG(td->td_proc, SV_ILP32)) { 687 if (SV_PROC_FLAG(td->td_proc, SV_ILP32)) {
|
/freebsd-13-stable/sys/kern/ |
H A D | sysv_shm.c | 335 struct proc *p = td->td_proc; 387 struct proc *p = td->td_proc; 720 PROC_LOCK(td->td_proc); 721 if (racct_add(td->td_proc, RACCT_NSHM, 1)) { 722 PROC_UNLOCK(td->td_proc); 725 if (racct_add(td->td_proc, RACCT_SHMSIZE, size)) { 726 racct_sub(td->td_proc, RACCT_NSHM, 1); 727 PROC_UNLOCK(td->td_proc); 730 PROC_UNLOCK(td->td_proc); 743 PROC_LOCK(td->td_proc); [all...] |
H A D | uipc_syscalls.c | 296 if (SV_PROC_FLAG(td->td_proc, SV_AOUT) && 697 !SV_PROC_FLAG(td->td_proc, SV_AOUT)) 709 SV_PROC_FLAG(td->td_proc, SV_AOUT)) { 806 PROC_LOCK(td->td_proc); 808 PROC_UNLOCK(td->td_proc); 836 if (SV_PROC_FLAG(td->td_proc, SV_AOUT)) 898 if (SV_PROC_FLAG(td->td_proc, SV_AOUT)) 989 SV_PROC_FLAG(td->td_proc, SV_AOUT)) 1013 SV_PROC_FLAG(td->td_proc, SV_AOUT)) { 1073 SV_PROC_FLAG(td->td_proc, SV_AOU [all...] |
H A D | kern_clock.c | 432 p = td->td_proc; 460 struct proc *p = td->td_proc; 651 p = td->td_proc; 702 SDT_PROBE2(sched, , , tick, td, td->td_proc); 740 if (td->td_proc->p_flag & P_PROFIL)
|
H A D | sys_process.c | 103 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); \ 104 if ((td->td_proc->p_flag & P_INMEM) == 0) \ 646 if (p->p_pptr != td->td_proc) 693 curp = td->td_proc; 720 p = td->td_proc; 736 p = td2->td_proc; 777 if (SV_PROC_FLAG(td2->td_proc, SV_ILP32)) 803 if (p == td->td_proc) { 856 if (error == 0 && td2->td_proc != p) 904 proc_reparent(p, td->td_proc, fals [all...] |
H A D | kern_time.c | 212 pid = td->td_proc->p_pid; 266 PROC_LOCK_ASSERT(targettd->td_proc, MA_OWNED); 284 if (curthread->td_proc == targetp) 299 p = td->td_proc; 306 PROC_UNLOCK(td2->td_proc); 324 p = td->td_proc; 758 struct proc *p = td->td_proc; 822 struct proc *p = td->td_proc; 1241 struct proc *p = td->td_proc; 1380 struct proc *p = td->td_proc; [all...] |
H A D | subr_sleepqueue.c | 461 p = td->td_proc; 611 (void *)td, (long)td->td_proc->p_pid, (void *)td->td_name); 813 SDT_PROBE2(sched, , , wakeup, td, td->td_proc); 854 (void *)td, (long)td->td_proc->p_pid, td->td_name); 1036 (void *)td, (long)td->td_proc->p_pid, (void *)td->td_name); 1136 (void *)td, (long)td->td_proc->p_pid, (void *)td->td_name); 1505 td->td_tid, td->td_proc->p_pid,
|
H A D | kern_switch.c | 167 if (((td->td_proc->p_flag & P_SYSTEM) == 0 && 211 (long)td->td_proc->p_pid, td->td_name, td->td_critnest); 256 (long)td->td_proc->p_pid, td->td_name, td->td_critnest);
|
H A D | kern_loginclass.c | 209 struct proc *p = td->td_proc;
|
H A D | sys_generic.c | 571 PROC_LOCK(td->td_proc); 573 PROC_UNLOCK(td->td_proc); 605 AUDIT_ARG_FILE(td->td_proc, fp); 665 td->td_proc->p_pid, td->td_name, uap->com); 732 fdp = td->td_proc->p_fd; 848 AUDIT_ARG_FILE(td->td_proc, fp); 1086 fdp = td->td_proc->p_fd; 1325 fdp = td->td_proc->p_fd; 1372 fdp = td->td_proc->p_fd; 1564 fdp = td->td_proc [all...] |
/freebsd-13-stable/sys/i386/i386/ |
H A D | trap.c | 209 p = td->td_proc; 331 PROC_LOCK(td->td_proc); 336 PROC_UNLOCK(td->td_proc); 748 p = td->td_proc; 1027 p = td->td_proc; 1143 syscallname(td->td_proc, td->td_sa.code))); 1146 syscallname(td->td_proc, td->td_sa.code)));
|
/freebsd-13-stable/sys/dev/hwpmc/ |
H A D | hwpmc_mod.c | 1360 p = td->td_proc; 1365 KASSERT(pp->pp_proc == td->td_proc, 1542 p = td->td_proc; 1718 pmc = pmc_find_process_descriptor(td->td_proc, PMC_FLAG_NONE); 1731 pmc = pmc_find_process_descriptor(td->td_proc, PMC_FLAG_NONE); 1766 pid = td->td_proc->p_pid; 1774 if ((pp = pmc_find_process_descriptor(td->td_proc, 0)) == NULL) 1806 pid = td->td_proc->p_pid; 1815 if ((pp = pmc_find_process_descriptor(td->td_proc, 0)) == NULL) 2112 p = td->td_proc; [all...] |
/freebsd-13-stable/sys/fs/procfs/ |
H A D | procfs.c | 97 sbuf_printf(sb, "%ld", (long)td->td_proc->p_pid);
|
/freebsd-13-stable/sys/security/audit/ |
H A D | audit.c | 288 ar->k_ar.ar_subj_pid = td->td_proc->p_pid; 618 if (code >= td->td_proc->p_sysent->sv_size) 621 event = td->td_proc->p_sysent->sv_table[code].sy_auevent; 839 ar->k_ar.ar_arg_signum = td->td_proc->p_sig;
|
/freebsd-13-stable/sys/dev/tdfx/ |
H A D | tdfx_pci.c | 391 printf("3dfx: Opened by #%d\n", td->td_proc->p_pid); 409 printf("Closed by #%d\n", td->td_proc->p_pid); 775 printf("IOCTL'd by #%d, cmd: 0x%x, data: %p\n", td->td_proc->p_pid, (u_int32_t)cmd, 795 printf("Bad IOCTL from #%d\n", td->td_proc->p_pid);
|
/freebsd-13-stable/sys/compat/cloudabi/ |
H A D | cloudabi_proc.c | 136 p = td->td_proc;
|
/freebsd-13-stable/sys/compat/cloudabi32/ |
H A D | cloudabi32_module.c | 80 td->td_proc->p_osrel = __FreeBSD_version;
|
/freebsd-13-stable/sys/compat/cloudabi64/ |
H A D | cloudabi64_module.c | 80 td->td_proc->p_osrel = __FreeBSD_version;
|
/freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | sched.h | 94 #define task_pid_group_leader(task) (task)->task_thread->td_proc->p_pid
|
/freebsd-13-stable/sys/netinet/ |
H A D | sctp_syscalls.c | 300 PROC_LOCK(td->td_proc); 302 PROC_UNLOCK(td->td_proc); 424 PROC_LOCK(td->td_proc); 426 PROC_UNLOCK(td->td_proc);
|
/freebsd-13-stable/sys/x86/x86/ |
H A D | stack_machdep.c | 117 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED);
|
/freebsd-13-stable/sys/fs/fuse/ |
H A D | fuse_file.c | 193 fri->lock_owner = td->td_proc->p_pid; 343 fufh->pid = td->td_proc->p_pid;
|