Lines Matching refs:_stcb
107 #define sctp_free_a_readq(_stcb, _readq) { \ argument
109 panic("On strm q stcb:%p readq:%p", (_stcb), (_readq)); \
114 #define sctp_free_a_readq(_stcb, _readq) { \ argument
120 #define sctp_alloc_a_readq(_stcb, _readq) { \ argument
127 #define sctp_free_a_strmoq(_stcb, _strmoq, _so_locked) { \ argument
136 #define sctp_alloc_a_strmoq(_stcb, _strmoq) { \ argument
145 #define sctp_free_a_chunk(_stcb, _chk, _so_locked) { \ argument
147 sctp_auth_key_release((_stcb), (_chk)->auth_keyid, _so_locked); \
150 if (_stcb) { \
151 SCTP_TCB_LOCK_ASSERT((_stcb)); \
156 if (((_stcb)->asoc.free_chunk_cnt > SCTP_BASE_SYSCTL(sctp_asoc_free_resc_limit)) || \
161 TAILQ_INSERT_TAIL(&(_stcb)->asoc.free_chunks, (_chk), sctp_next); \
162 (_stcb)->asoc.free_chunk_cnt++; \
171 #define sctp_alloc_a_chunk(_stcb, _chk) { \ argument
172 if (TAILQ_EMPTY(&(_stcb)->asoc.free_chunks)) { \
180 (_chk) = TAILQ_FIRST(&(_stcb)->asoc.free_chunks); \
181 TAILQ_REMOVE(&(_stcb)->asoc.free_chunks, (_chk), sctp_next); \
185 (_stcb)->asoc.free_chunk_cnt--; \