Searched refs:swrc_refcnt (Results 1 – 4 of 4) sorted by relevance
170 uint_t swrc_refcnt; member172 _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)
120 uint_t swrc_refcnt; member122 _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)
2514 cnt = rc->swrc_refcnt++; in tavor_mtt_refcnt_inc()2535 cnt = --rc->swrc_refcnt; in tavor_mtt_refcnt_dec()
3407 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()