Lines Matching refs:trans
57 #define SIP_XACTION_REFCNT_INCR(trans) \ argument
58 (trans)->sip_xaction_ref_cnt++;
61 #define SIP_XACTION_REFCNT_DECR(trans) { \ argument
62 (void) pthread_mutex_lock(&((trans)->sip_xaction_mutex)); \
63 assert((trans)->sip_xaction_ref_cnt > 0); \
64 (trans)->sip_xaction_ref_cnt--; \
65 if ((trans)->sip_xaction_ref_cnt == 0 && \
66 SIP_IS_XACTION_TERMINATED((trans)->sip_xaction_state)) { \
67 (void) pthread_mutex_unlock(&((trans)->sip_xaction_mutex));\
68 sip_xaction_delete(trans); \
70 (void) pthread_mutex_unlock(&((trans)->sip_xaction_mutex));\