Home
last modified time | relevance | path

Searched refs:dph (Results 1 – 2 of 2) sorted by relevance

/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_proc.c206 dt_proc_notify(dtrace_hdl_t *dtp, dt_proc_hash_t *dph, dt_proc_t *dpr, in dt_proc_notify() argument
222 (void) pthread_mutex_lock(&dph->dph_lock); in dt_proc_notify()
224 dprn->dprn_next = dph->dph_notify; in dt_proc_notify()
225 dph->dph_notify = dprn; in dt_proc_notify()
227 (void) pthread_cond_broadcast(&dph->dph_cv); in dt_proc_notify()
228 (void) pthread_mutex_unlock(&dph->dph_lock); in dt_proc_notify()
392 dt_proc_hash_t *dph = dtp->dt_procs; in dt_proc_control() local
517 dt_proc_notify(dtp, dph, dpr, NULL); in dt_proc_control()
557 dt_proc_hash_t *dph = dtp->dt_procs; in dt_proc_lookup() local
559 dt_proc_t *dpr, **dpp = &dph->dph_hash[pid & (dph->dph_hashlen - 1)]; in dt_proc_lookup()
[all …]
H A Ddt_work.c49 dt_proc_hash_t *dph = dtp->dt_procs; in dtrace_sleep() local
76 (void) pthread_mutex_lock(&dph->dph_lock); in dtrace_sleep()
81 (void) pthread_mutex_unlock(&dph->dph_lock); in dtrace_sleep()
94 (void) pthread_cond_reltimedwait_np(&dph->dph_cv, &dph->dph_lock, &tv); in dtrace_sleep()
110 (void) pthread_cond_timedwait(&dph->dph_cv, &dph->dph_lock, &tv); in dtrace_sleep()
113 while ((dprn = dph->dph_notify) != NULL) { in dtrace_sleep()
123 dph->dph_notify = dprn->dprn_next; in dtrace_sleep()
127 (void) pthread_mutex_unlock(&dph->dph_lock); in dtrace_sleep()