Lines Matching full:do

42  * order to do this the goal is that most functions are not aware of locking.
50 * This sometimes mean we do extra locks and unlocks and lose a bit of
68 * lock. So when we go to lookup an association we will want to do a
70 * the SCTP_BASE_INFO() list's we will do a SCTP_INP_INFO_WLOCK().
80 #define SCTP_INP_INFO_LOCK_INIT() do { \
84 #define SCTP_INP_INFO_LOCK_DESTROY() do { \
91 #define SCTP_INP_INFO_RLOCK() do { \
95 #define SCTP_INP_INFO_WLOCK() do { \
99 #define SCTP_INP_INFO_RUNLOCK() do { \
103 #define SCTP_INP_INFO_WUNLOCK() do { \
107 #define SCTP_INP_INFO_LOCK_ASSERT() do { \
111 #define SCTP_INP_INFO_RLOCK_ASSERT() do { \
115 #define SCTP_INP_INFO_WLOCK_ASSERT() do { \
119 #define SCTP_MCORE_QLOCK_INIT(cpstr) do { \
124 #define SCTP_MCORE_QDESTROY(cpstr) do { \
131 #define SCTP_MCORE_QLOCK(cpstr) do { \
135 #define SCTP_MCORE_QUNLOCK(cpstr) do { \
139 #define SCTP_MCORE_LOCK_INIT(cpstr) do { \
144 #define SCTP_MCORE_DESTROY(cpstr) do { \
151 #define SCTP_MCORE_LOCK(cpstr) do { \
155 #define SCTP_MCORE_UNLOCK(cpstr) do { \
159 #define SCTP_IPI_ADDR_INIT() do { \
163 #define SCTP_IPI_ADDR_DESTROY() do { \
170 #define SCTP_IPI_ADDR_RLOCK() do { \
174 #define SCTP_IPI_ADDR_WLOCK() do { \
178 #define SCTP_IPI_ADDR_RUNLOCK() do { \
182 #define SCTP_IPI_ADDR_WUNLOCK() do { \
186 #define SCTP_IPI_ADDR_LOCK_ASSERT() do { \
190 #define SCTP_IPI_ADDR_WLOCK_ASSERT() do { \
194 #define SCTP_IPI_ITERATOR_WQ_INIT() do { \
199 #define SCTP_IPI_ITERATOR_WQ_DESTROY() do { \
203 #define SCTP_IPI_ITERATOR_WQ_LOCK() do { \
207 #define SCTP_IPI_ITERATOR_WQ_UNLOCK() do { \
211 #define SCTP_IP_PKTLOG_INIT() do { \
216 #define SCTP_IP_PKTLOG_DESTROY() do { \
220 #define SCTP_IP_PKTLOG_LOCK() do { \
224 #define SCTP_IP_PKTLOG_UNLOCK() do { \
234 #define SCTP_INP_READ_LOCK_INIT(_inp) do { \
239 #define SCTP_INP_READ_LOCK_DESTROY(_inp) do { \
243 #define SCTP_INP_READ_LOCK(_inp) do { \
247 #define SCTP_INP_READ_UNLOCK(_inp) do { \
251 #define SCTP_INP_READ_LOCK_ASSERT(_inp) do { \
256 #define SCTP_INP_LOCK_INIT(_inp) do { \
261 #define SCTP_INP_LOCK_DESTROY(_inp) do { \
272 #define SCTP_INP_RLOCK(_inp) do { \
278 #define SCTP_INP_WLOCK(_inp) do { \
284 #define SCTP_INP_RLOCK(_inp) do { \
288 #define SCTP_INP_WLOCK(_inp) do { \
293 #define SCTP_INP_RUNLOCK(_inp) do { \
297 #define SCTP_INP_WUNLOCK(_inp) do { \
301 #define SCTP_INP_RLOCK_ASSERT(_inp) do { \
306 #define SCTP_INP_WLOCK_ASSERT(_inp) do { \
314 #define SCTP_ASOC_CREATE_LOCK_INIT(_inp) do { \
319 #define SCTP_ASOC_CREATE_LOCK_DESTROY(_inp) do { \
324 #define SCTP_ASOC_CREATE_LOCK(_inp) do { \
330 #define SCTP_ASOC_CREATE_LOCK(_inp) do { \
335 #define SCTP_ASOC_CREATE_UNLOCK(_inp) do { \
346 * when we stuff data up into the receiving sb_mb. I.e. we will need to do an
350 #define SCTP_TCB_LOCK_INIT(_tcb) do { \
355 #define SCTP_TCB_LOCK_DESTROY(_tcb) do { \
360 #define SCTP_TCB_LOCK(_tcb) do { \
366 #define SCTP_TCB_LOCK(_tcb) do { \
375 #define SCTP_TCB_UNLOCK(_tcb) do { \
379 #define SCTP_TCB_UNLOCK_IFOWNED(_tcb) do { \
384 #define SCTP_TCB_LOCK_ASSERT(_tcb) do { \
389 #define SCTP_ITERATOR_LOCK_INIT() do { \
393 #define SCTP_ITERATOR_LOCK_DESTROY() do { \
398 do { \
404 #define SCTP_ITERATOR_UNLOCK() do { \
408 #define SCTP_WQ_ADDR_INIT() do { \
413 #define SCTP_WQ_ADDR_DESTROY() do { \
420 #define SCTP_WQ_ADDR_LOCK() do { \
424 #define SCTP_WQ_ADDR_UNLOCK() do { \
428 #define SCTP_WQ_ADDR_LOCK_ASSERT() do { \
433 #define SCTP_INCR_EP_COUNT() do { \
437 #define SCTP_DECR_EP_COUNT() do { \
441 #define SCTP_INCR_ASOC_COUNT() do { \
445 #define SCTP_DECR_ASOC_COUNT() do { \
449 #define SCTP_INCR_LADDR_COUNT() do { \
453 #define SCTP_DECR_LADDR_COUNT() do { \
457 #define SCTP_INCR_RADDR_COUNT() do { \
461 #define SCTP_DECR_RADDR_COUNT() do { \
465 #define SCTP_INCR_CHK_COUNT() do { \
469 #define SCTP_DECR_CHK_COUNT() do { \
477 #define SCTP_INCR_READQ_COUNT() do { \
481 #define SCTP_DECR_READQ_COUNT() do { \
485 #define SCTP_INCR_STRMOQ_COUNT() do { \
489 #define SCTP_DECR_STRMOQ_COUNT() do { \