/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/inline/ |
H A D | err.D_OP_INCOMPAT.badxlate.d | 41 inline struct vnode *invalid = xlate<psinfo_t>(curthread->td_proc);
|
/freebsd-13-stable/tools/sched/ |
H A D | schedgraph.d | 85 printf("%d %d KTRGRAPH group:\"thread\", id:\"%s/%s tid %d\", state:\"proc exit\", attributes: prio:td\n", cpu, timestamp, curthread->td_proc->p_comm, curthread->td_name, curthread->td_tid); 90 printf("%d %d KTRGRAPH group:\"thread\", id:\"%s/%s tid %d\", state:\"exit\", attributes: prio:td\n", cpu, timestamp, curthread->td_proc->p_comm, curthread->td_name, curthread->td_tid); 95 printf("%d %d KTRGRAPH group:\"thread\", id:\"%s/%s tid %d\", point:\"priority change\", attributes: prio:%d, new prio:%d, linkedto:\"%s/%s tid %d\"\n", cpu, timestamp, args[0]->td_proc->p_comm, args[0]->td_name, args[0]->td_tid, args[0]->td_priority, arg2, curthread->td_proc->p_comm, curthread->td_name, curthread->td_tid); 100 printf("%d %d KTRGRAPH group:\"thread\", id:\"%s/%s tid %d\", point:\"lend prio\", attributes: prio:%d, new prio:%d, linkedto:\"%s/%s tid %d\"\n", cpu, timestamp, curthread->td_proc->p_comm, curthread->td_name, curthread->td_tid, args[0]->td_priority, arg2, args[0]->td_proc->p_comm, args[0]->td_name, args[0]->td_tid); 105 printf("%d %d KTRGRAPH group:\"thread\", id:\"%s/%s tid %d\", state:\"runq add\", attributes: prio:%d, linkedto:\"%s/%s tid %d\"\n", cpu, timestamp, args[0]->td_proc->p_comm, args[0]->td_name, args[0]->td_tid, args[0]->td_priority, curthread->td_proc->p_comm, curthread->td_name, curthread->td_tid); 106 printf("%d %d KTRGRAPH group:\"thread\", id:\"%s/%s tid %d\", point:\"wokeup\", attributes: linkedto:\"%s/%s tid %d\"\n", cpu, timestamp, curthread->td_proc->p_comm, curthread->td_name, curthread->td_tid, args[0]->td_proc [all...] |
/freebsd-13-stable/sys/vm/ |
H A D | vm_unix.c | 92 struct vmspace *vm = td->td_proc->p_vmspace; 147 PROC_LOCK(td->td_proc); 148 error = racct_set(td->td_proc, RACCT_DATA, new - base); 150 PROC_UNLOCK(td->td_proc); 154 error = racct_set(td->td_proc, RACCT_VMEM, 157 racct_set_force(td->td_proc, RACCT_DATA, 159 PROC_UNLOCK(td->td_proc); 164 error = racct_set(td->td_proc, RACCT_MEMLOCK, 168 racct_set_force(td->td_proc, RACCT_DATA, 170 racct_set_force(td->td_proc, RACCT_VME [all...] |
H A D | vm_mmap.c | 244 p = td->td_proc; 484 if (i386_read_exec && SV_PROC_FLAG(td->td_proc, SV_ILP32) && 537 map = &td->td_proc->p_vmspace->vm_map; 593 map = &td->td_proc->p_vmspace->vm_map; 668 if (SV_PROC_FLAG(td->td_proc, SV_ILP32)) { 679 vm_error = vm_map_protect(&td->td_proc->p_vmspace->vm_map, 728 switch (vm_map_inherit(&td->td_proc->p_vmspace->vm_map, addr, 766 return (kern_procctl(td, P_PID, td->td_proc->p_pid, 774 map = &td->td_proc->p_vmspace->vm_map; 827 map = &td->td_proc [all...] |
/freebsd-13-stable/sys/ddb/ |
H A D | db_thread.c | 49 if (kdb_thread->td_proc != NULL) 50 pid = kdb_thread->td_proc->p_pid; 93 if (thr->td_proc->p_flag & P_INMEM) {
|
/freebsd-13-stable/share/examples/kld/cdev/module/ |
H A D | cdev.c | 105 struct proc *procp = td->td_proc; 117 struct proc *procp = td->td_proc; 129 struct proc *procp = td->td_proc;
|
/freebsd-13-stable/sys/kern/ |
H A D | kern_context.c | 75 PROC_LOCK(td->td_proc); 77 PROC_UNLOCK(td->td_proc); 115 PROC_LOCK(td->td_proc); 117 PROC_UNLOCK(td->td_proc);
|
H A D | p1003_1b.c | 68 td->td_name, td->td_proc->p_pid, s); 125 targetp = td->td_proc; 147 targetp = targettd->td_proc; 166 targetp = td->td_proc; 191 targetp = targettd->td_proc; 213 targetp = td->td_proc; 236 targetp = targettd->td_proc; 259 targetp = td->td_proc; 284 targetp = targettd->td_proc; 346 targetp = td->td_proc; [all...] |
H A D | kern_kthread.c | 154 p = td->td_proc; 288 newtd->td_proc = p; /* needed for cpu_copy_thread */ 334 p = td->td_proc; 372 p = td->td_proc; 403 p = td->td_proc; 433 p = td->td_proc;
|
H A D | kern_thr.c | 199 p = td->td_proc; 240 newtd->td_proc = td->td_proc; 329 p = td->td_proc; 396 p = td->td_proc; 429 PROC_UNLOCK(ttd->td_proc); 448 ksi.ksi_pid = td->td_proc->p_pid; 477 p = ttd->td_proc; 512 struct proc *p = td->td_proc; 565 p = td->td_proc; [all...] |
H A D | kern_thread.c | 574 atomic_subtract_rel_int(&td->td_proc->p_exitthreads, 1); 854 p = td->td_proc; 889 p = td->td_proc; 919 atomic_add_int(&td->td_proc->p_exitthreads, 1); 952 if (PMC_PROC_IS_USING_PMCS(td->td_proc)) { 1028 td->td_proc = p; 1050 struct proc *p = td->td_proc; 1188 * adjusted to also account for td->td_proc != p. For now 1191 KASSERT((mode == SINGLE_ALLPROC && td->td_proc != p) || 1192 (mode != SINGLE_ALLPROC && td->td_proc [all...] |
/freebsd-13-stable/sys/compat/linuxkpi/common/src/ |
H A D | linux_schedule.c | 126 PROC_LOCK(td->td_proc); 128 SIGSETOR(pending, td->td_proc->p_siglist); 130 PROC_UNLOCK(td->td_proc); 141 PROC_LOCK(td->td_proc); 143 SIGISMEMBER(td->td_proc->p_siglist, SIGKILL); 144 PROC_UNLOCK(td->td_proc); 165 PROC_LOCK(td->td_proc); 167 PROC_UNLOCK(td->td_proc); 278 PHOLD(task->task_thread->td_proc); 287 PRELE(task->task_thread->td_proc); [all...] |
/freebsd-13-stable/sys/mips/mips/ |
H A D | pm_machdep.c | 98 p = td->td_proc; 220 if (proc_readmem(td, td->td_proc, addr, v, sizeof(*v)) != sizeof(*v)) 229 if (proc_writemem(td, td->td_proc, addr, &v, sizeof(v)) != sizeof(v)) 244 p = td->td_proc; 336 PROC_LOCK(curthread->td_proc); 338 PROC_UNLOCK(curthread->td_proc); 434 if (!SV_PROC_FLAG(td->td_proc, SV_LP64)) 446 if (SV_PROC_FLAG(td->td_proc, SV_LP64)) 476 if (!SV_PROC_FLAG(td->td_proc, SV_LP64)) 477 td->td_proc [all...] |
H A D | sys_machdep.c | 75 td->td_proc->p_md.md_tls_tcb_offset));
|
/freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | file.h | 56 if (fget_unlocked(curthread->td_proc->p_fd, fd, 92 if (fget_unlocked(curthread->td_proc->p_fd, fd, 112 if (fget_unlocked(curthread->td_proc->p_fd, fd,
|
/freebsd-13-stable/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | sig.h | 56 p = td->td_proc;
|
/freebsd-13-stable/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_core.h | 47 (dev)->priv.name, __func__, __LINE__, curthread->td_proc->p_pid, \ 58 __func__, __LINE__, curthread->td_proc->p_pid, \ 63 __func__, __LINE__, curthread->td_proc->p_pid, \ 68 __func__, __LINE__, curthread->td_proc->p_pid, \
|
/freebsd-13-stable/sys/dev/usb/ |
H A D | usb_freebsd.h | 61 #define USB_TD_GET_PROC(td) (td)->td_proc
|
H A D | usb_freebsd_loader.h | 60 #define USB_TD_GET_PROC(td) (td)->td_proc
|
/freebsd-13-stable/sys/cddl/compat/opensolaris/sys/ |
H A D | sig.h | 55 p = td->td_proc;
|
/freebsd-13-stable/sys/dev/hyperv/utilities/ |
H A D | hv_snapshot.c | 530 struct proc *td_proc; local 531 td_proc = td->td_proc; 535 __func__, td_proc->p_comm, FS_VSS_DEV_NAME); 551 struct proc *td_proc; local 552 td_proc = td->td_proc; 557 __func__, td_proc->p_comm, FS_VSS_DEV_NAME); 566 struct proc *td_proc; local 569 td_proc 612 struct proc *td_proc; local 631 struct proc *td_proc; local 646 struct proc *td_proc; local [all...] |
/freebsd-13-stable/sys/compat/linux/ |
H A D | linux_emul.c | 149 p = newtd->td_proc; 172 p = td->td_proc; 261 p = td->td_proc; 328 FOREACH_THREAD_IN_PROC(td->td_proc, othertd) { 339 if (SV_PROC_FLAG(td->td_proc, SV_ILP32) && 370 p = td->td_proc;
|
/freebsd-13-stable/sys/powerpc/powerpc/ |
H A D | copyinout.c | 169 pm = &td->td_proc->p_vmspace->vm_pmap; 208 pm = &td->td_proc->p_vmspace->vm_pmap; 248 pm = &td->td_proc->p_vmspace->vm_pmap; 298 pm = &td->td_proc->p_vmspace->vm_pmap; 327 pm = &td->td_proc->p_vmspace->vm_pmap; 362 pm = &td->td_proc->p_vmspace->vm_pmap; 399 pm = &td->td_proc->p_vmspace->vm_pmap; 427 pm = &td->td_proc->p_vmspace->vm_pmap; 455 pm = &td->td_proc->p_vmspace->vm_pmap; 484 pm = &td->td_proc [all...] |
/freebsd-13-stable/sys/arm/arm/ |
H A D | machdep_ptrace.c | 45 if (proc_readmem(td, td->td_proc, addr, v, sizeof(*v)) != sizeof(*v)) 54 if (proc_writemem(td, td->td_proc, addr, &v, sizeof(v)) != sizeof(v)) 143 p = td->td_proc; 195 p = td->td_proc; 204 p = td->td_proc;
|
/freebsd-13-stable/sys/net/ |
H A D | bpfdesc.h | 122 #define BPF_PID_REFRESH(bd, td) (bd)->bd_pid = (td)->td_proc->p_pid 123 #define BPF_PID_REFRESH_CUR(bd) (bd)->bd_pid = curthread->td_proc->p_pid
|