Searched refs:KASSERT (Results 1 – 8 of 8) sorted by relevance
/external/chromium_org/third_party/usrsctp/usrsctplib/ |
D | user_mbuf.c | 564 KASSERT(m && t, ("m_tag_delete: null argument, m %p t %p", (void *)m, (void *)t)); in m_tag_delete() 577 KASSERT(m, ("m_tag_delete_chain: null mbuf")); in m_tag_delete_chain() 624 KASSERT((m->m_flags & M_EXT) == M_EXT, ("%s: M_EXT not set", __func__)); in mb_free_ext() 625 KASSERT(m->m_ext.ref_cnt != NULL, ("%s: ref_cnt not set", __func__)); in mb_free_ext() 808 KASSERT(m, ("m == NULL in m_pulldown()")); in m_pulldown() 959 KASSERT((m->m_flags & M_EXT) == M_EXT, ("%s: M_EXT not set", __func__)); in mb_dupcl() 960 KASSERT(m->m_ext.ref_cnt != NULL, ("%s: ref_cnt not set", __func__)); in mb_dupcl() 961 KASSERT((n->m_flags & M_EXT) == 0, ("%s: M_EXT set", __func__)); in mb_dupcl() 993 KASSERT(off >= 0, ("m_copym, negative off %d", off)); in m_copym() 994 KASSERT(len >= 0, ("m_copym, negative len %d", len)); in m_copym() [all …]
|
D | user_environment.h | 97 #define KASSERT(cond, args) \ macro 105 #define KASSERT(cond, args) macro
|
D | user_route.h | 106 KASSERT((_rt)->rt_refcnt >= 0, \ 112 KASSERT((_rt)->rt_refcnt > 0, \
|
D | user_mbuf.h | 419 KASSERT(!((m)->m_flags & (M_PKTHDR|M_EXT)), \ 421 KASSERT((m)->m_data == (m)->m_dat, \ 431 KASSERT((m)->m_flags & M_PKTHDR && !((m)->m_flags & M_EXT), \ 433 KASSERT((m)->m_data == (m)->m_pktdat, \
|
D | user_ip6_var.h | 116 KASSERT(t->m_len >= tmp + (len), \
|
D | user_socketvar.h | 252 #define ACCEPT_LOCK_ASSERT() KASSERT(pthread_mutex_trylock(&accept_mtx) == EBUSY, ("%s: accept_mtx… 256 KASSERT(pthread_mutex_trylock(&accept_mtx) == 0, ("%s: accept_mtx locked", __func__)); \ 461 KASSERT((so)->so_count > 0, ("sorele")); \ 719 KASSERT((so)->so_count > 0, ("sorele")); \
|
D | user_socket.c | 199 KASSERT(so->so_count == 0, ("sodealloc(): so_count %d", so->so_count)); in sodealloc() 200 KASSERT(so->so_pcb == NULL, ("sodealloc(): so_pcb != NULL")); in sodealloc() 234 KASSERT((so->so_qstate & SQ_COMP) != 0 || in sofree() 238 KASSERT((so->so_qstate & SQ_COMP) == 0 || in sofree() 246 KASSERT((so->so_qstate & SQ_COMP) == 0 && in sofree() 251 KASSERT((TAILQ_EMPTY(&so->so_comp)), ("sofree: so_comp populated")); in sofree() 252 KASSERT((TAILQ_EMPTY(&so->so_incomp)), ("sofree: so_comp populated")); in sofree() 1230 KASSERT(so->so_count == 1, ("socreate: so_count %d", so->so_count)); in socreate() 1294 KASSERT(so->so_count == 1, ("socreate: so_count %d", in socreate() 1656 KASSERT((so->so_state & SS_NOFDREF) != 0, ("soaccept: !NOFDREF")); in soaccept() [all …]
|
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
D | sctp_process_lock.h | 448 #define SOCKBUF_LOCK_ASSERT(_so_buf) KASSERT(pthread_mutex_trylock(SOCKBUF_MTX(_so_buf)) == EBUSY, …
|