Home
last modified time | relevance | path

Searched refs:OS_EXPECT (Results 1 – 3 of 3) sorted by relevance

/xnu-8019.80.24/libkern/os/
H A Dbase_private.h30 #define os_fastpath(x) ((__typeof__(x))OS_EXPECT((long)(x), ~0l))
33 #define os_slowpath(x) ((__typeof__(x))OS_EXPECT((long)(x), 0l))
36 #define os_likely(x) OS_EXPECT(!!(x), 1)
39 #define os_unlikely(x) OS_EXPECT(!!(x), 0)
H A Dbase.h80 #define OS_EXPECT(x, v) __builtin_expect((x), (v)) macro
117 #define OS_EXPECT(x, v) (x) macro
/xnu-8019.80.24/bsd/net/
H A Dif_bridge.c8607 } else if (OS_EXPECT((size_t)m->m_len < sizeof(struct ip), 0)) {
8709 } else if (OS_EXPECT((size_t)m->m_len < sizeof(struct ip6_hdr), 0)) {