Lines Matching refs:dph
201 dt_proc_notify(dtrace_hdl_t *dtp, dt_proc_hash_t *dph, dt_proc_t *dpr,
217 (void) pthread_mutex_lock(&dph->dph_lock);
219 dprn->dprn_next = dph->dph_notify;
220 dph->dph_notify = dprn;
222 (void) pthread_cond_broadcast(&dph->dph_cv);
223 (void) pthread_mutex_unlock(&dph->dph_lock);
467 dt_proc_hash_t *dph = dtp->dt_procs;
633 dt_proc_notify(dtp, dph, dpr, NULL);
673 dt_proc_hash_t *dph = dtp->dt_procs;
675 dt_proc_t *dpr, **dpp = &dph->dph_hash[pid & (dph->dph_hashlen - 1)];
697 dt_proc_hash_t *dph = dtp->dt_procs;
759 (void) pthread_mutex_lock(&dph->dph_lock);
761 npp = &dph->dph_notify;
772 (void) pthread_mutex_unlock(&dph->dph_lock);
779 assert(dph->dph_lrucnt != 0);
780 dph->dph_lrucnt--;
783 dt_list_delete(&dph->dph_lrulist, dpr);
867 dt_proc_hash_t *dph = dtp->dt_procs;
892 dpr->dpr_hash = dph->dph_hash[dpr->dpr_pid & (dph->dph_hashlen - 1)];
893 dph->dph_hash[dpr->dpr_pid & (dph->dph_hashlen - 1)] = dpr;
894 dt_list_prepend(&dph->dph_lrulist, dpr);
905 dt_proc_hash_t *dph = dtp->dt_procs;
906 uint_t h = pid & (dph->dph_hashlen - 1);
915 for (dpr = dph->dph_hash[h]; dpr != NULL; dpr = dpr->dpr_hash) {
927 dph->dph_lrucnt--;
932 dt_list_delete(&dph->dph_lrulist, dpr);
933 dt_list_prepend(&dph->dph_lrulist, dpr);
967 if (dph->dph_lrucnt >= dph->dph_lrulim) {
968 for (opr = dt_list_prev(&dph->dph_lrulist);
980 dph->dph_lrucnt++;
986 dpr->dpr_hash = dph->dph_hash[h];
987 dph->dph_hash[h] = dpr;
988 dt_list_prepend(&dph->dph_lrulist, dpr);
1000 dt_proc_hash_t *dph = dtp->dt_procs;
1006 (!dpr->dpr_cacheable || dph->dph_lrucnt > dph->dph_lrulim))
1096 dt_proc_hash_t *dph = dtp->dt_procs;
1100 while ((dpr = dt_list_next(&dph->dph_lrulist)) != NULL)
1104 dt_free(dtp, dph);