Lines Matching refs:td_proc
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;
2188 if (pmc_can_attach(pm, td->td_proc) != 0)
2189 pmc_detach_one_process(td->td_proc,
3098 if ((po = pmc_find_owner_descriptor(curthread->td_proc)) == NULL) {
3104 if ((pp = pmc_find_process_descriptor(curthread->td_proc,
3434 p = td->td_proc;
3479 if ((po = pmc_find_owner_descriptor(td->td_proc)) == NULL) {
3498 if ((po = pmc_find_owner_descriptor(td->td_proc)) == NULL) {
3979 curthread->td_proc, n, cpu) == 0 &&
3992 curthread->td_proc, n,
4068 pmc_register_owner(curthread->td_proc, pmc)) != 0) {
4106 a.pm_pid = td->td_proc->p_pid;
4172 a.pm_pid = td->td_proc->p_pid;
4584 if ((po = pmc_find_owner_descriptor(td->td_proc)) == NULL) {
4704 ps->ps_pid = td->td_proc->p_pid;
4768 (td->td_proc->p_flag & P_KPROC) == 0 &&
5279 * If the parent process (curthread->td_proc) is a
5284 if ((ppold = pmc_find_process_descriptor(curthread->td_proc,