Searched refs:targetp (Results 1 - 14 of 14) sorted by relevance

/freebsd-11-stable/sys/kern/
H A Dp1003_1b.c114 struct proc *targetp;
123 targetp = td->td_proc;
125 PROC_LOCK(targetp);
127 targetp = pfind(uap->pid);
128 if (targetp == NULL)
130 targettd = FIRST_THREAD_IN_PROC(targetp);
134 PROC_UNLOCK(targetp);
142 struct proc *targetp;
145 targetp = targettd->td_proc;
146 PROC_LOCK_ASSERT(targetp, MA_OWNE
[all...]
H A Dkern_time.c273 get_process_cputime(struct proc *targetp, struct timespec *ats) argument
278 PROC_STATLOCK(targetp);
279 rufetch(targetp, &ru);
280 runtime = targetp->p_rux.rux_runtime;
281 if (curthread->td_proc == targetp)
283 PROC_STATUNLOCK(targetp);
H A Dkern_ktrace.c1276 ktrcanset(struct thread *td, struct proc *targetp) argument
1279 PROC_LOCK_ASSERT(targetp, MA_OWNED);
1280 if (targetp->p_traceflag & KTRFAC_ROOT &&
1284 if (p_candebug(td, targetp) != 0)
/freebsd-11-stable/contrib/ntp/lib/isc/include/isc/
H A Dtaskpool.h87 isc_taskpool_gettask(isc_taskpool_t *pool, isc_task_t **targetp);
102 isc_taskpool_t **targetp);
109 * 'targetp'.
112 * 'sourcep' is attached to 'targetp' without any other action being taken.
119 * \li 'targetp' is not NULL and '*source' is NULL
123 * \li On success, '*targetp' points to a valid task pool.
H A Dtask.h121 void (*attach)(isc_task_t *source, isc_task_t **targetp);
212 isc_task_attach(isc_task_t *source, isc_task_t **targetp);
214 * Attach *targetp to source.
220 *\li 'targetp' points to a NULL isc_task_t *.
224 *\li *targetp is attached to source.
H A Dmem.h210 void (*attach)(isc_mem_t *source, isc_mem_t **targetp);
/freebsd-11-stable/contrib/ntp/lib/isc/
H A Dtaskpool.c102 isc_taskpool_gettask(isc_taskpool_t *pool, isc_task_t **targetp) { argument
105 isc_task_attach(pool->tasks[i % pool->ntasks], targetp);
116 isc_taskpool_t **targetp)
122 REQUIRE(targetp != NULL && *targetp == NULL);
157 *targetp = pool;
115 isc_taskpool_expand(isc_taskpool_t **sourcep, unsigned int size, isc_taskpool_t **targetp) argument
H A Dmem_api.c91 isc_mem_attach(isc_mem_t *source, isc_mem_t **targetp) { argument
93 REQUIRE(targetp != NULL && *targetp == NULL);
95 source->methods->attach(source, targetp);
97 ENSURE(*targetp == source);
H A Dtask_api.c127 isc_task_attach(isc_task_t *source, isc_task_t **targetp) { argument
129 REQUIRE(targetp != NULL && *targetp == NULL);
131 source->methods->attach(source, targetp);
133 ENSURE(*targetp == source);
H A Dtask.c186 isc__task_attach(isc_task_t *source0, isc_task_t **targetp);
392 isc__task_attach(isc_task_t *source0, isc_task_t **targetp) { argument
396 * Attach *targetp to source.
400 REQUIRE(targetp != NULL && *targetp == NULL);
408 *targetp = (isc_task_t *)source;
H A Dmem.c242 isc__mem_attach(isc_mem_t *source, isc_mem_t **targetp);
1123 isc__mem_attach(isc_mem_t *source0, isc_mem_t **targetp) { argument
1127 REQUIRE(targetp != NULL && *targetp == NULL);
1133 *targetp = (isc_mem_t *)source;
/freebsd-11-stable/sys/nfs/
H A Dnfs_lock.c359 struct proc *targetp; local
366 if ((targetp = pfind(ansp->la_msg_ident.pid)) == NULL)
374 if (targetp->p_nlminfo == NULL ||
376 (timevalcmp(&targetp->p_nlminfo->pid_start,
378 targetp->p_nlminfo->msg_seq != ansp->la_msg_ident.msg_seq))) {
379 PROC_UNLOCK(targetp);
383 targetp->p_nlminfo->retcode = ansp->la_errno;
384 targetp->p_nlminfo->set_getlk_pid = ansp->la_set_getlk_pid;
385 targetp->p_nlminfo->getlk_pid = ansp->la_getlk_pid;
387 wakeup(targetp
[all...]
/freebsd-11-stable/sys/dev/vxge/
H A Dvxge-osdep.h279 #define vxge_os_xchg (targetp, newval)
/freebsd-11-stable/contrib/bmake/
H A Dsuff.c914 SuffScanTargets(void *targetp, void *gsp)
916 GNode *target = (GNode *)targetp;
913 SuffScanTargets(void *targetp, void *gsp) argument

Completed in 260 milliseconds