Home
last modified time | relevance | path

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

/freebsd-14.2/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_proc.c225 dph->dph_notify = dprn; in dt_proc_notify()
559 dt_proc_t *dpr, **dpp = &dph->dph_hash[pid & (dph->dph_hashlen - 1)]; in dt_proc_lookup()
640 npp = &dph->dph_notify; in dt_proc_destroy()
659 dph->dph_lrucnt--; in dt_proc_destroy()
769 dpr->dpr_hash = dph->dph_hash[dpr->dpr_pid & (dph->dph_hashlen - 1)]; in dt_proc_create()
770 dph->dph_hash[dpr->dpr_pid & (dph->dph_hashlen - 1)] = dpr; in dt_proc_create()
804 dph->dph_lrucnt--; in dt_proc_grab()
842 if (dph->dph_lrucnt >= dph->dph_lrulim) { in dt_proc_grab()
855 dph->dph_lrucnt++; in dt_proc_grab()
881 (!dpr->dpr_cacheable || dph->dph_lrucnt > dph->dph_lrulim)) in dt_proc_release()
[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()