Home
last modified time | relevance | path

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

/xnu-11215.1.10/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-11215.1.10/EXTERNAL_HEADERS/image4/shim/
H A Dbase.h79 #define OS_EXPECT(x, v) __builtin_expect((x), (v)) macro
116 #define OS_EXPECT(x, v) (x) macro
/xnu-11215.1.10/bsd/net/
H A Dif_bridge.c9569 } else if (OS_EXPECT((size_t)m->m_len < sizeof(struct ip), 0)) {
9671 } else if (OS_EXPECT((size_t)m->m_len < sizeof(struct ip6_hdr), 0)) {