Home
last modified time | relevance | path

Searched refs:swrc_refcnt (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/
H A Dtavor_mr.h170 uint_t swrc_refcnt; member
172 _NOTE(DATA_READABLE_WITHOUT_LOCK(tavor_sw_refcnt_t::swrc_refcnt))
174 tavor_sw_refcnt_t::swrc_refcnt))
175 #define TAVOR_MTT_REFCNT_INIT(swrc_tmp) ((swrc_tmp)->swrc_refcnt = 1)
176 #define TAVOR_MTT_IS_NOT_SHARED(swrc_tmp) ((swrc_tmp)->swrc_refcnt == 1)
177 #define TAVOR_MTT_IS_SHARED(swrc_tmp) ((swrc_tmp)->swrc_refcnt != 1)
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_mr.h120 uint_t swrc_refcnt; member
122 _NOTE(DATA_READABLE_WITHOUT_LOCK(hermon_sw_refcnt_t::swrc_refcnt))
124 hermon_sw_refcnt_t::swrc_refcnt))
125 #define HERMON_MTT_REFCNT_INIT(swrc_tmp) ((swrc_tmp)->swrc_refcnt = 1)
126 #define HERMON_MTT_IS_NOT_SHARED(swrc_tmp) ((swrc_tmp)->swrc_refcnt == 1)
127 #define HERMON_MTT_IS_SHARED(swrc_tmp) ((swrc_tmp)->swrc_refcnt != 1)
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_mr.c2514 cnt = rc->swrc_refcnt++; in tavor_mtt_refcnt_inc()
2535 cnt = --rc->swrc_refcnt; in tavor_mtt_refcnt_dec()
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_mr.c3407 return (atomic_inc_uint_nv(&rc->swrc_refcnt)); in hermon_mtt_refcnt_inc()
3421 return (atomic_dec_uint_nv(&rc->swrc_refcnt)); in hermon_mtt_refcnt_dec()