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