Home
last modified time | relevance | path

Searched refs:KASSERT (Results 1 – 25 of 27) sorted by relevance

12

/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_process_lock.h261KASSERT(pthread_mutex_lock(&SCTP_BASE_INFO(wq_addr_mtx)) == 0, ("%s: wq_addr_mtx already locked", …
263KASSERT(pthread_mutex_unlock(&SCTP_BASE_INFO(wq_addr_mtx)) == 0, ("%s: wq_addr_mtx not locked", __…
271KASSERT(pthread_mutex_trylock(&SCTP_BASE_INFO(wq_addr_mtx)) == EBUSY, ("%s: wq_addr_mtx not locked…
279KASSERT(pthread_mutex_lock(&SCTP_BASE_INFO(ipi_ep_mtx)) == 0, ("%s: ipi_ep_mtx already locked", __…
281KASSERT(pthread_mutex_lock(&SCTP_BASE_INFO(ipi_ep_mtx)) == 0, ("%s: ipi_ep_mtx already locked", __…
283KASSERT(pthread_mutex_unlock(&SCTP_BASE_INFO(ipi_ep_mtx)) == 0, ("%s: ipi_ep_mtx not locked", __fu…
285KASSERT(pthread_mutex_unlock(&SCTP_BASE_INFO(ipi_ep_mtx)) == 0, ("%s: ipi_ep_mtx not locked", __fu…
305KASSERT(pthread_mutex_lock(&SCTP_BASE_INFO(ipi_pktlog_mtx)) == 0, ("%s: ipi_pktlog_mtx already loc…
307KASSERT(pthread_mutex_unlock(&SCTP_BASE_INFO(ipi_pktlog_mtx)) == 0, ("%s: ipi_pktlog_mtx not locke…
327KASSERT(pthread_mutex_lock(&(_inp)->inp_rdata_mtx) == 0, ("%s: inp_rdata_mtx already locked", __fu…
[all …]
Dsctp_callout.h63 #define SCTP_TIMERQ_LOCK() KASSERT(pthread_mutex_lock(&SCTP_BASE_VAR(timer_mtx)) == 0, ("%…
64 #define SCTP_TIMERQ_UNLOCK() KASSERT(pthread_mutex_unlock(&SCTP_BASE_VAR(timer_mtx)) == 0, (…
Dsctputil.c988 KASSERT((sctp_mtu_sizes[i - 1] & 0x00000003) == 0, in sctp_get_prev_mtu()
1008 KASSERT((sctp_mtu_sizes[i] & 0x00000003) == 0, in sctp_get_next_mtu()
1613 KASSERT(it->inp == it->stcb->sctp_ep, in sctp_iterator_work()
1808 KASSERT(tmr->self == NULL || tmr->self == tmr, in sctp_timeout_handler()
1810 KASSERT(SCTP_IS_TIMER_TYPE_VALID(tmr->type), in sctp_timeout_handler()
1813 KASSERT(stcb == NULL || stcb->sctp_ep == inp, in sctp_timeout_handler()
1889 KASSERT(inp != NULL && stcb != NULL && net != NULL, in sctp_timeout_handler()
1931 KASSERT(inp != NULL && stcb != NULL && net != NULL, in sctp_timeout_handler()
1943 KASSERT(inp != NULL && stcb != NULL && net == NULL, in sctp_timeout_handler()
1956 KASSERT(inp != NULL && stcb != NULL && net != NULL, in sctp_timeout_handler()
[all …]
Dsctp_crc32.c775 KASSERT(m != NULL, ("sctp_calculate_cksum, offset > length of mbuf chain")); in sctp_calculate_cksum()
Dsctp_bsd_addr.c794 KASSERT(SCTP_BUF_NEXT(m) == NULL, ("%s: no chain allowed", __FUNCTION__));
Dsctp_pcb.c7821 KASSERT(control->length > 0, ("control has zero length"));
7848 KASSERT(chk->send_size > 0, ("chunk has zero length"));
7881 KASSERT(control->length > 0, ("control has zero length"));
7908 KASSERT(chk->send_size > 0, ("chunk has zero length"));
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/
Duser_mbuf.c294 KASSERT(len >= 0, ("%s: len is < 0", __func__)); in m_getm2()
417 KASSERT(progress == total, ("%s: progress != total", __func__)); in m_uiotombuf()
699 KASSERT(m && t, ("m_tag_delete: null argument, m %p t %p", (void *)m, (void *)t)); in m_tag_delete()
712 KASSERT(m, ("m_tag_delete_chain: null mbuf")); in m_tag_delete_chain()
759 KASSERT((m->m_flags & M_EXT) == M_EXT, ("%s: M_EXT not set", __func__)); in mb_free_ext()
760 KASSERT(m->m_ext.ref_cnt != NULL, ("%s: ref_cnt not set", __func__)); in mb_free_ext()
941 KASSERT(m, ("m == NULL in m_pulldown()")); in m_pulldown()
1090 KASSERT((m->m_flags & M_EXT) == M_EXT, ("%s: M_EXT not set", __func__)); in mb_dupcl()
1091 KASSERT(m->m_ext.ref_cnt != NULL, ("%s: ref_cnt not set", __func__)); in mb_dupcl()
1092 KASSERT((n->m_flags & M_EXT) == 0, ("%s: M_EXT set", __func__)); in mb_dupcl()
[all …]
Duser_environment.h106 #define KASSERT(cond, args) \ macro
113 #define KASSERT(cond, args) macro
Duser_socketvar.h256 #define ACCEPT_LOCK() KASSERT(pthread_mutex_lock(&accept_mtx) == 0, ("%s: accept_mtx already locked…
257 #define ACCEPT_UNLOCK() KASSERT(pthread_mutex_unlock(&accept_mtx) == 0, ("%s: accept_mtx not locked…
263KASSERT(pthread_mutex_trylock(&accept_mtx) == EBUSY, ("%s: accept_mtx not locked", __func__))
265 KASSERT(pthread_mutex_trylock(&accept_mtx) == 0, ("%s: accept_mtx locked", __func__)); \
412 KASSERT((so)->so_count > 0, ("sorele")); \
Duser_mbuf.h389 KASSERT(!((m)->m_flags & (M_PKTHDR|M_EXT)), \
391 KASSERT((m)->m_data == (m)->m_dat, \
401 KASSERT((m)->m_flags & M_PKTHDR && !((m)->m_flags & M_EXT), \
403 KASSERT((m)->m_data == (m)->m_pktdat, \
Duser_route.h106 KASSERT((_rt)->rt_refcnt >= 0, \
112 KASSERT((_rt)->rt_refcnt > 0, \
Duser_atomic.h205 KASSERT(pthread_mutex_lock(&atomic_mtx) == 0, ("atomic_lock: atomic_mtx already locked"))
212 KASSERT(pthread_mutex_unlock(&atomic_mtx) == 0, ("atomic_unlock: atomic_mtx not locked"))
Duser_ip6_var.h116 KASSERT(t->m_len >= tmp + (len), \
Duser_socket.c230 KASSERT(so->so_count == 0, ("sodealloc(): so_count %d", so->so_count)); in sodealloc()
231 KASSERT(so->so_pcb == NULL, ("sodealloc(): so_pcb != NULL")); in sodealloc()
265 KASSERT((so->so_qstate & SQ_COMP) != 0 || in sofree()
269 KASSERT((so->so_qstate & SQ_COMP) == 0 || in sofree()
277 KASSERT((so->so_qstate & SQ_COMP) == 0 && in sofree()
282 KASSERT((TAILQ_EMPTY(&so->so_comp)), ("sofree: so_comp populated")); in sofree()
283 KASSERT((TAILQ_EMPTY(&so->so_incomp)), ("sofree: so_comp populated")); in sofree()
1292 KASSERT(so->so_count == 1, ("socreate: so_count %d", so->so_count)); in socreate()
1577 KASSERT((so->so_state & SS_NOFDREF) != 0, ("soaccept: !NOFDREF")); in soaccept()
1637 KASSERT(!(so->so_qstate & SQ_INCOMP), ("accept1: so SQ_INCOMP")); in user_accept()
[all …]
/third_party/FreeBSD/sys/kern/
Dsubr_kobj.c145 KASSERT(kobj_mutex_inited == 0, in kobj_class_compile_static()
295 KASSERT(kobj_mutex_inited == 0, in kobj_init_static()
Dsubr_bus.c263 KASSERT(bus_current_pass == pass, ("Failed to update bus pass level")); in bus_set_pass()
1106 KASSERT(dev != NULL, ("device_get_ivars(NULL, ...)")); in device_get_ivars()
1117 KASSERT(dev != NULL, ("device_set_ivars(NULL, ...)")); in device_set_ivars()
1488 KASSERT(name != NULL || unit == -1, in device_add_child_ordered()
1669 KASSERT(dev->busy == 0, ("attach failed but busy")); in device_attach()
/third_party/FreeBSD/sys/sys/
Dsystm.h49 #define KASSERT(exp, msg) LOS_ASSERT_MSG(exp, msg) macro
/third_party/FreeBSD/sys/dev/random/
Dyarrow.c269KASSERT(yarrow_state.ys_pool[RANDOM_YARROW_FAST].ysp_thresh > 0, ("random: Yarrow fast threshold =… in random_yarrow_reseed_internal()
270KASSERT(yarrow_state.ys_pool[RANDOM_YARROW_SLOW].ysp_thresh > 0, ("random: Yarrow slow threshold =… in random_yarrow_reseed_internal()
381KASSERT((bytecount % RANDOM_BLOCKSIZE) == 0, ("%s(): bytecount (= %d) must be a multiple of %d", _… in random_yarrow_read()
Dunit_test.h92 #define KASSERT(exp,msg) do { \ macro
Dhash.c45 #define KASSERT(x, y) assert(x) macro
/third_party/FreeBSD/sys/dev/usb/
Dusb_transfer.c2024 KASSERT(frindex < xfer->max_frame_count, ("frame index overflow")); in usbd_xfer_get_frame()
2034 KASSERT(frindex < xfer->max_frame_count, ("frame index overflow")); in usbd_xfer_get_frame_buffer()
2060 KASSERT(frindex < xfer->max_frame_count, ("frame index overflow")); in usbd_xfer_frame_len()
2077 KASSERT(frindex < xfer->max_frame_count, ("frame index overflow")); in usbd_xfer_set_frame_data()
2088 KASSERT(frindex < xfer->max_frame_count, ("frame index overflow")); in usbd_xfer_frame_data()
2107 KASSERT(frindex < xfer->max_frame_count, ("frame index overflow")); in usbd_xfer_old_frame_length()
2136 KASSERT(!xfer->flags.ext_buffer, ("Cannot offset data frame " in usbd_xfer_set_frame_offset()
2138 KASSERT(frindex < xfer->max_frame_count, ("frame index overflow")); in usbd_xfer_set_frame_offset()
2185 KASSERT(frindex < xfer->max_frame_count, ("frame index overflow")); in usbd_xfer_set_frame_len()
Dusb_core.h66 #define USB_ASSERT KASSERT
Dusb_device.c1934 KASSERT(LIST_FIRST(&udev->pd_list) == NULL, ("stale cdev entries")); in usb_cdev_create()
2088 KASSERT(LIST_FIRST(&udev->pd_list) == NULL, ("leaked cdev entries")); in usb_free_device()
2596 KASSERT(state < USB_STATE_MAX, ("invalid udev state")); in usb_set_device_state()
Dusb_dev.c366 KASSERT(e >= 0 && e <= 15, ("endpoint %d out of range", e)); in usb_fifo_create()
993 KASSERT(f != NULL, ("fifo not found")); in usb_ioctl()
/third_party/FreeBSD/sys/crypto/rijndael/
Drijndael-alg-fst.c37 #define KASSERT(exp, msg) assert(exp) macro
739 KASSERT(keyBits == 128 || keyBits == 192 || keyBits == 256, in rijndaelKeySetupEnc()

12