Searched refs:BIT (Results 1 – 7 of 7) sorted by relevance
| /xnu-11215.1.10/san/memory/ |
| H A D | kasan_internal.h | 39 #define BIT(x) (1U << (x)) macro 100 TYPE_LOAD = BIT(0), /* regular memory load */ 101 TYPE_STORE = BIT(1), /* regular store */ 102 TYPE_MEMR = BIT(2), /* memory intrinsic (read) */ 103 TYPE_MEMW = BIT(3), /* memory intrinsic (write) */ 104 TYPE_STRR = BIT(4), /* string intrinsic (read) */ 105 TYPE_STRW = BIT(5), /* string intrinsic (write) */ 108 TYPE_ZFREE = BIT(6), /* zfree() */ 109 TYPE_FSFREE = BIT(7), /* fakestack free */ 111 TYPE_UAF = BIT(12), [all …]
|
| /xnu-11215.1.10/osfmk/kern/ |
| H A D | bits.h | 53 #define BIT(b) (1ULL << (b)) macro 55 #define mask(width) (width >= 64 ? -1ULL : (BIT(width) - 1)) 59 #define bit_set(x, b) ((x) |= BIT(b)) 60 #define bit_clear(x, b) ((x) &= ~BIT(b)) 61 #define bit_test(x, b) ((bool)((x) & BIT(b))) 195 prev = __c11_atomic_fetch_or(map, BIT(n), mem_order); in atomic_bit_set() 203 prev = __c11_atomic_fetch_and(map, ~BIT(n), mem_order); in atomic_bit_clear()
|
| H A D | sched_prim.c | 7614 online_cores_goal = BIT(lsb_first(pcs.pcs_managed_cores)); in sched_compute_requested_powered_cores() 7711 if ((pcs.pcs_recommended_cores & pcs.pcs_effective.pcs_online_cores) == BIT(processor->cpu_id)) { in sched_processor_exit_user() 8644 assertf(pcs.pcs_effective.pcs_online_cores != BIT(cpu_id), in sched_assert_not_last_online_cpu() 8841 if ((pcs.pcs_effective.pcs_online_cores & pcs.pcs_recommended_cores) == BIT(processor->cpu_id)) { in sched_mark_processor_offline() 8842 sched_update_recommended_cores_locked(REASON_SYSTEM, BIT(processor->cpu_id)); in sched_mark_processor_offline() 8846 if ((pcs.pcs_effective.pcs_online_cores & pcs.pcs_recommended_cores) == BIT(processor->cpu_id)) { in sched_mark_processor_offline()
|
| /xnu-11215.1.10/osfmk/arm64/ |
| H A D | lock_ticket_pv.c | 116 const cpumap_t kickmask = BIT(cpu_number()); in hw_lck_ticket_lock_wait_pv()
|
| /xnu-11215.1.10/osfmk/arm/ |
| H A D | machine_routines.h | 1254 #define ONES(x) (BIT((x))-1) 1257 #define SIGN(p) ((p) & BIT(55))
|
| /xnu-11215.1.10/tools/tests/zero-to-n/ |
| H A D | zero-to-n.c | 235 #define BIT(b) (1ULL << (b)) macro 236 #define mask(width) (width >= 64 ? -1ULL : (BIT(width) - 1))
|
| /xnu-11215.1.10/bsd/netinet/ |
| H A D | tcp_log.c | 82 #define TCP_LOG_THFLAGS_IF_FAMILY_DEFAULT (0xfffffffe & ~BIT(IFNET_FAMILY_LOOPBACK))
|