/haiku/src/libs/compat/freebsd_network/compat/vm/ |
H A D | vm_extern.h | 44 KASSERT(powerof2(alignment), ("%s: alignment is not a power of 2: %#lx", 56 KASSERT(powerof2(boundary), ("%s: boundary is not a power of 2: %#jx",
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | systm.cpp | 18 KASSERT(timeout != 0, ("pause: timeout required"));
|
H A D | unit.cpp | 33 KASSERT(low <= high, 60 KASSERT(idStore != NULL, 78 KASSERT(idStore != NULL, 99 KASSERT(idStore != NULL, 105 KASSERT(slotIndex >= 0, ("ID-Store: %s(%p, %u): second "
|
H A D | fbsd_subr_sbuf.c | 63 #define KASSERT(e, m) macro 106 KASSERT(s != NULL, 108 KASSERT(s->s_buf != NULL, 111 KASSERT(s->s_len <= s->s_size, 115 KASSERT(s->s_len < s->s_size, 125 KASSERT((s->s_flags & SBUF_FINISHED) == state, 157 KASSERT(newsize >= size, ("%s: %d < %d\n", __func__, newsize, size)); 201 KASSERT(s->s_size >= SBUF_MINSIZE, 228 KASSERT(length >= 0, 230 KASSERT((flag [all...] |
H A D | fbsd_subr_taskqueue.c | 165 KASSERT(((cb_type >= TASKQUEUE_CALLBACK_TYPE_MIN) && 169 KASSERT((queue->tq_callbacks[cb_type] == NULL), 183 KASSERT(TAILQ_EMPTY(&queue->tq_active), ("Tasks still running?")); 184 KASSERT(queue->tq_callouts == 0, ("Armed timeout tasks")); 200 KASSERT(task->ta_func != NULL, ("enqueueing task with NULL func")); 262 KASSERT((timeout_task->f & DT_CALLOUT_ARMED) != 0, ("Stray timeout")); 276 KASSERT(timeout_task->q == NULL || timeout_task->q == queue, 278 KASSERT(!queue->tq_spin, ("Timeout for spin-queue")); 339 KASSERT(queue != NULL, ("tq is NULL")); 351 KASSERT(tas [all...] |
H A D | mutex.c | 53 KASSERT(!B_SPINLOCK_IS_LOCKED(&mutex->u.spinlock_.lock), ("spin mutex is locked")); 63 KASSERT(mutex->type == MTX_SPIN, ("not a spin mutex")); 74 KASSERT(mutex->type == MTX_SPIN, ("not a spin mutex"));
|
H A D | fbsd_subr_bufring.c | 45 KASSERT(powerof2(count), ("buf ring must be size power of 2"));
|
H A D | fbsd_kern_mbuf.c | 46 KASSERT(len >= 0, ("%s: len is < 0", __func__)); 123 KASSERT(type != EXT_CLUSTER, ("%s: EXT_CLUSTER not allowed", __func__));
|
H A D | usb.cpp | 215 KASSERT(descriptor != NULL, ("no device")); 403 KASSERT(n <= uint32_t(xfer->max_frame_count), ("frame index overflow")); 412 KASSERT(frindex < uint32_t(xfer->nframes), ("frame index overflow")); 423 KASSERT(frindex < uint32_t(xfer->nframes), ("frame index overflow")); 424 KASSERT(len <= uint32_t(xfer->max_data_length), ("length overflow")); 437 KASSERT(frindex < uint32_t(xfer->max_frame_count), ("frame index overflow")); 456 KASSERT((offset + len) < uint32_t(cache->length), ("buffer overflow")); 465 KASSERT((offset + len) < uint32_t(cache->length), ("buffer overflow")); 474 KASSERT((offset + len) < uint32_t(cache->length), ("buffer overflow")); 533 KASSERT(!xfe [all...] |
H A D | fbsd_uipc_mbuf2.c | 339 KASSERT(m && t, ("m_tag_delete: null argument, m %p t %p", m, t)); 350 KASSERT(m, ("m_tag_delete_chain: null mbuf")); 385 KASSERT(m, ("m_tag_locate: null mbuf")); 405 KASSERT(t, ("m_tag_copy: null tag")); 439 KASSERT(to && from,
|
H A D | fbsd_uipc_mbuf.c | 186 KASSERT(m->m_flags & M_EXT, ("%s: M_EXT not set on %p", __func__, m)); 187 KASSERT(!(n->m_flags & M_EXT), ("%s: M_EXT set on %p", __func__, n)); 198 KASSERT(m->m_ext.ext_cnt != NULL, 231 KASSERT(m->m_nextpkt == NULL, ("%s: m_nextpkt in m %p, m0 %p", 240 * Sanity checks on mbuf (chain) for use in KASSERT() and general 352 KASSERT(SLIST_EMPTY(&to->m_pkthdr.tags), 389 KASSERT(SLIST_EMPTY(&to->m_pkthdr.tags), ("m_dup_pkthdr: to has tags")); 447 KASSERT(off >= 0, ("m_copym, negative off %d", off)); 448 KASSERT(len >= 0, ("m_copym, negative len %d", len)); 453 KASSERT( [all...] |
/haiku/src/libs/compat/openbsd_network/compat/sys/ |
H A D | mbuf.h | 10 /* FreeBSD KASSERT */ 11 #undef KASSERT macro 12 #define KASSERT KASSERT_FREEBSD macro 16 /* back to OpenBSD KASSERT */ 17 #undef KASSERT macro 18 #define KASSERT KASSERT_OPENBSD macro
|
H A D | refcnt.h | 32 KASSERT(refs != 0); 42 KASSERT(refs >= 0);
|
H A D | systm.h | 43 #undef KASSERT macro 44 #define KASSERT KASSERT_OPENBSD macro
|
/haiku/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_phy.h | 115 KASSERT(! (rate & 0x80), ("rate %d is basic/mcs?", rate)); 118 KASSERT(cix != (uint8_t)-1, ("rate %d has no info", rate)); 131 KASSERT(! (rate & 0x80), ("rate %d is basic/mcs?", rate)); 134 KASSERT(cix != (uint8_t)-1, ("rate %d has no info", rate)); 147 KASSERT(! (rate & 0x80), ("rate %d is basic/mcs?", rate)); 150 KASSERT(rix != (uint8_t)-1, ("rate %d has no info", rate)); 162 KASSERT(! (rate & 0x80), ("rate %d is basic/mcs?", rate)); 179 KASSERT(rix != (uint8_t)-1, ("rate %d has no info", rate)); 181 KASSERT(rt->info[rix].spAckDuration != 0, 185 KASSERT(r [all...] |
H A D | ieee80211_ageq.c | 68 KASSERT(aq->aq_len == 0, ("%d frames on ageq", aq->aq_len)); 118 KASSERT(age >= 0, ("age %d", age)); 175 KASSERT(aq->aq_len > 0, ("aq len %d", aq->aq_len)); 213 KASSERT(aq->aq_len > 0, ("aq len %d", aq->aq_len)); 219 KASSERT(m->m_nextpkt == NULL, ("not last")); 221 KASSERT(aq->aq_len == 0,
|
H A D | ieee80211_power.c | 123 KASSERT(psq->psq_len == 0, ("%d frames on ps q", psq->psq_len)); 144 KASSERT(qhead->len > 0, ("qhead len %d", qhead->len)); 146 KASSERT(psq->psq_len > 0, ("psq len %d", psq->psq_len)); 249 KASSERT(qhead->len > 0, ("qhead len %d", qhead->len)); 251 KASSERT(psq->psq_len > 0, ("psq len %d", psq->psq_len)); 278 KASSERT(vap->iv_opmode == IEEE80211_M_HOSTAP || 294 KASSERT(vap->iv_opmode == IEEE80211_M_HOSTAP || 299 KASSERT(aid < vap->iv_max_aid, 394 KASSERT(age >= 0, ("age %d", age)); 460 KASSERT(( [all...] |
/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | lock.h | 13 KASSERT((ex), ("assert %s failed at %s:%d", what, file, line))
|
H A D | eventhandler.h | 66 KASSERT((list)->el_flags & EHL_INITTED, \ 70 KASSERT((list)->el_runcount > 0, \ 83 KASSERT((list)->el_runcount > 0, \
|
H A D | systm.h | 48 #define KASSERT(cond,msg) KASSERT_FREEBSD(cond,msg) macro 51 #define KASSERT(cond,msg) KASSERT_FREEBSD(cond,msg) macro
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/ |
H A D | if_rtwn_ridx.h | 85 KASSERT(ridx >= RTWN_RIDX_HT_MCS(0) && ridx != RTWN_RIDX_UNKNOWN, 90 KASSERT(cix != (uint8_t)-1, ("rate %d (%d) has no info", rate, ridx));
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8188e/ |
H A D | r88e_chan.c | 74 KASSERT(0, ("wrong 2GHz channel %d!\n", chan)); 78 KASSERT(0, ("wrong channel band (flags %08X)\n", c->ic_flags)); 104 KASSERT(max_mcs <= RTWN_RIDX_COUNT, ("increase ridx limit\n"));
|
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/ |
H A D | if_wpi_debug.h | 122 KASSERT(0, ("Unknown CSR: %d\n", csr)); 135 KASSERT(0, ("Unknown register: %d\n", prph));
|
/haiku/headers/private/firewire/ |
H A D | fwglue.h | 19 #define KASSERT(cond,msg) do { \ macro
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8821a/ |
H A D | r21a_beacon.c | 89 KASSERT(0, ("wrong port id %d\n", id));
|