Lines Matching defs:pd
74 tavor_ah_alloc(tavor_state_t *state, tavor_pdhdl_t pd,
131 tavor_pd_refcnt_inc(pd);
144 tavor_pd_refcnt_dec(pd);
151 udav_entry.pd = pd->pd_pdnum;
169 status = tavor_mr_register(state, pd, &mr_attr, &mr, &op);
211 ah->ah_pdhdl = pd;
227 tavor_pd_refcnt_dec(pd);
248 tavor_pdhdl_t pd;
264 pd = ah->ah_pdhdl;
295 tavor_pd_refcnt_dec(pd);
317 tavor_ah_query(tavor_state_t *state, tavor_ahhdl_t ah, tavor_pdhdl_t *pd,
336 *pd = ah->ah_pdhdl;
1716 tavor_pdhdl_t pd;
1734 pd = (tavor_pdhdl_t)rsrc->tr_addr;
1735 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*pd))
1737 pd->pd_refcnt = 0;
1738 *pdhdl = pd;
1753 tavor_pdhdl_t pd;
1762 pd = *pdhdl;
1763 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*pd))
1764 rsrc = pd->pd_rsrcp;
1773 if (pd->pd_refcnt != 0) {
1775 tnf_int, refcnt, pd->pd_refcnt);
1796 tavor_pd_refcnt_inc(tavor_pdhdl_t pd)
1799 mutex_enter(&pd->pd_lock);
1801 tnf_uint, refcnt, pd->pd_refcnt);
1802 pd->pd_refcnt++;
1803 mutex_exit(&pd->pd_lock);
1813 tavor_pd_refcnt_dec(tavor_pdhdl_t pd)
1816 mutex_enter(&pd->pd_lock);
1817 pd->pd_refcnt--;
1819 tnf_uint, refcnt, pd->pd_refcnt);
1820 mutex_exit(&pd->pd_lock);