Searched refs:td_proc (Results 1 - 25 of 282) sorted by relevance

1234567891011>>

/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/inline/
H A Derr.D_OP_INCOMPAT.badxlate.d41 inline struct vnode *invalid = xlate<psinfo_t>(curthread->td_proc);
/freebsd-13-stable/tools/sched/
H A Dschedgraph.d85 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 Dvm_unix.c92 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 Dvm_mmap.c244 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 Ddb_thread.c49 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 Dcdev.c105 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 Dkern_context.c75 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 Dp1003_1b.c68 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 Dkern_kthread.c154 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 Dkern_thr.c199 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 Dkern_thread.c574 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 Dlinux_schedule.c126 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 Dpm_machdep.c98 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 Dsys_machdep.c75 td->td_proc->p_md.md_tls_tcb_offset));
/freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/
H A Dfile.h56 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 Dsig.h56 p = td->td_proc;
/freebsd-13-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_core.h47 (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 Dusb_freebsd.h61 #define USB_TD_GET_PROC(td) (td)->td_proc
H A Dusb_freebsd_loader.h60 #define USB_TD_GET_PROC(td) (td)->td_proc
/freebsd-13-stable/sys/cddl/compat/opensolaris/sys/
H A Dsig.h55 p = td->td_proc;
/freebsd-13-stable/sys/dev/hyperv/utilities/
H A Dhv_snapshot.c530 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 Dlinux_emul.c149 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 Dcopyinout.c169 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 Dmachdep_ptrace.c45 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 Dbpfdesc.h122 #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

Completed in 221 milliseconds

1234567891011>>