Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libdtrace/common/
H A Ddt_proc.c201 dt_proc_notify(dtrace_hdl_t *dtp, dt_proc_hash_t *dph, dt_proc_t *dpr, in dt_proc_notify() argument
217 (void) pthread_mutex_lock(&dph->dph_lock); in dt_proc_notify()
219 dprn->dprn_next = dph->dph_notify; in dt_proc_notify()
220 dph->dph_notify = dprn; in dt_proc_notify()
222 (void) pthread_cond_broadcast(&dph->dph_cv); in dt_proc_notify()
223 (void) pthread_mutex_unlock(&dph->dph_lock); in dt_proc_notify()
467 dt_proc_hash_t *dph = dtp->dt_procs; in dt_proc_control() local
633 dt_proc_notify(dtp, dph, dpr, NULL); in dt_proc_control()
673 dt_proc_hash_t *dph = dtp->dt_procs; in dt_proc_lookup() local
675 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()
93 (void) pthread_cond_reltimedwait_np(&dph->dph_cv, &dph->dph_lock, &tv); in dtrace_sleep()
95 while ((dprn = dph->dph_notify) != NULL) { in dtrace_sleep()
105 dph->dph_notify = dprn->dprn_next; in dtrace_sleep()
109 (void) pthread_mutex_unlock(&dph->dph_lock); in dtrace_sleep()
/titanic_50/usr/src/uts/common/inet/ip/
H A Dspd.c936 ipsec_copy_chain(ipsec_policy_head_t *dph, ipsec_policy_t *src, in ipsec_copy_chain() argument
945 ipsec_insert_always(&dph->iph_rulebyid, dst); in ipsec_copy_chain()
960 ipsec_copy_polhead(ipsec_policy_head_t *sph, ipsec_policy_head_t *dph, in ipsec_copy_polhead() argument
965 rw_enter(&dph->iph_lock, RW_WRITER); in ipsec_copy_polhead()
967 ipsec_polhead_flush(dph, ns); in ipsec_copy_polhead()
972 ipsec_policy_root_t *dpr = &dph->iph_root[dir]; in ipsec_copy_polhead()
979 if (ipsec_copy_chain(dph, spr->ipr_nonhash[af], in ipsec_copy_polhead()
985 if (ipsec_copy_chain(dph, in ipsec_copy_polhead()
992 dph->iph_gen++; in ipsec_copy_polhead()
995 rw_exit(&dph->iph_lock); in ipsec_copy_polhead()
[all …]