Searched refs:targetp (Results 1 – 8 of 8) sorted by relevance
| /freebsd-12-stable/sys/kern/ |
| D | p1003_1b.c | 116 struct proc *targetp; 125 targetp = td->td_proc; 127 PROC_LOCK(targetp); 129 targetp = pfind(uap->pid); 130 if (targetp == NULL) 132 targettd = FIRST_THREAD_IN_PROC(targetp); 136 PROC_UNLOCK(targetp); 144 struct proc *targetp; 147 targetp = targettd->td_proc; 148 PROC_LOCK_ASSERT(targetp, MA_OWNED); [all …]
|
| D | kern_time.c | 273 kern_process_cputime(struct proc *targetp, struct timespec *ats) in kern_process_cputime() argument 278 PROC_LOCK_ASSERT(targetp, MA_OWNED); in kern_process_cputime() 279 PROC_STATLOCK(targetp); in kern_process_cputime() 280 rufetch(targetp, &ru); in kern_process_cputime() 281 runtime = targetp->p_rux.rux_runtime; in kern_process_cputime() 282 if (curthread->td_proc == targetp) in kern_process_cputime() 284 PROC_STATUNLOCK(targetp); in kern_process_cputime()
|
| D | kern_ktrace.c | 1302 ktrcanset(struct thread *td, struct proc *targetp) in ktrcanset() argument 1305 PROC_LOCK_ASSERT(targetp, MA_OWNED); in ktrcanset() 1306 if (targetp->p_traceflag & KTRFAC_ROOT && in ktrcanset() 1310 if (p_candebug(td, targetp) != 0) in ktrcanset()
|
| /freebsd-12-stable/sys/nfs/ |
| D | nfs_lock.c | 361 struct proc *targetp; in nfslockdans() local 368 if ((targetp = pfind(ansp->la_msg_ident.pid)) == NULL) in nfslockdans() 376 if (targetp->p_nlminfo == NULL || in nfslockdans() 378 (timevalcmp(&targetp->p_nlminfo->pid_start, in nfslockdans() 380 targetp->p_nlminfo->msg_seq != ansp->la_msg_ident.msg_seq))) { in nfslockdans() 381 PROC_UNLOCK(targetp); in nfslockdans() 385 targetp->p_nlminfo->retcode = ansp->la_errno; in nfslockdans() 386 targetp->p_nlminfo->set_getlk_pid = ansp->la_set_getlk_pid; in nfslockdans() 387 targetp->p_nlminfo->getlk_pid = ansp->la_getlk_pid; in nfslockdans() 389 wakeup(targetp->p_nlminfo); in nfslockdans() [all …]
|
| /freebsd-12-stable/contrib/ntp/libntp/lib/isc/include/isc/ |
| D | task.h | 121 void (*attach)(isc_task_t *source, isc_task_t **targetp); 212 isc_task_attach(isc_task_t *source, isc_task_t **targetp);
|
| /freebsd-12-stable/contrib/ntp/libntp/lib/isc/ |
| D | task.c | 186 isc__task_attach(isc_task_t *source0, isc_task_t **targetp); 392 isc__task_attach(isc_task_t *source0, isc_task_t **targetp) { in isc__task_attach() argument 400 REQUIRE(targetp != NULL && *targetp == NULL); in isc__task_attach() 408 *targetp = (isc_task_t *)source; in isc__task_attach()
|
| /freebsd-12-stable/contrib/bmake/ |
| D | suff.c | 913 SuffScanTargets(void *targetp, void *gsp) in SuffScanTargets() argument 915 GNode *target = (GNode *)targetp; in SuffScanTargets()
|
| /freebsd-12-stable/sys/sys/ |
| D | syscallsubr.h | 101 void kern_process_cputime(struct proc *targetp, struct timespec *ats);
|