Searched refs:__predict_true (Results 1 - 12 of 12) sorted by relevance

/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dcdefs.h134 * compiler feature. Use __predict_true() if you expect the expression
142 * document it), and/or __predict_true() `no-error' condition
156 #define __predict_true(exp) __builtin_expect((exp), 1) macro
159 #define __predict_true(exp) (exp) macro
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_ageq.c111 if (__predict_true(aq->aq_len < aq->aq_maxlen)) {
H A Dieee80211_haiku.cpp452 if (__predict_true(n != NULL)) {
H A Dieee80211_output.c267 if (__predict_true((vap->iv_caps & IEEE80211_C_8023ENCAP) == 0)) {
304 if (__predict_true((vap->iv_caps & IEEE80211_C_8023ENCAP) == 0)) {
1646 if (__predict_true((m->m_flags & M_FF) == 0)) {
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/
H A Digb_txrx.c536 if (__predict_true(status &
H A Dem_txrx.c746 if (__predict_true(status &
H A Dif_em.c3601 if (__predict_true(sc->intr_type == IFLIB_INTR_MSIX)) {
3618 if (__predict_true(sc->intr_type == IFLIB_INTR_MSIX)) {
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/
H A Digc_txrx.c556 if (__predict_true(status &
H A Dif_igc.c2154 if (__predict_true(adapter->intr_type == IFLIB_INTR_MSIX)) {
2171 if (__predict_true(adapter->intr_type == IFLIB_INTR_MSIX)) {
/haiku/src/libs/compat/freebsd_iflib/
H A Diflib.c2211 if (__predict_true(bit_test(fl->ifl_rx_bitmap, frag_idx))) {
3329 if (__predict_true(pi->ipi_ipproto == IPPROTO_TCP)) {
3579 if (__predict_true((pi.ipi_csum_flags | pi.ipi_vtag))) {
3870 if (__predict_true(r->items[(cidx + i) & (r->size-1)] != (void *)txq))
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/ral/
H A Drt2860.c1601 if (__predict_true(error == 0)) {
1846 if (__predict_true(error == 0)) {
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/
H A Dif_wpi.c2595 if (__predict_true(sc->sc_running))

Completed in 132 milliseconds