Searched refs:OS_EXPECT (Results 1 – 4 of 4) sorted by relevance
| /xnu-11215.1.10/libkern/os/ |
| H A D | base_private.h | 30 #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 D | base.h | 80 #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 D | base.h | 79 #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 D | if_bridge.c | 9569 } 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)) {
|