Home
last modified time | relevance | path

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

/xnu-10002.1.13/osfmk/kern/
H A Dzalloc_internal.h574 #define MAX_ZONES 690 macro
578 extern struct zone zone_array[MAX_ZONES];
607 if (delta >= MAX_ZONES * sizeof(*z)) { in zone_index()
611 __builtin_assume(quo < MAX_ZONES); in zone_index()
H A Dzalloc.c188 static_assert(MAX_ZONES < (1u << 10), "MAX_ZONES must fit in zm_index");
504 static struct zone_stats zone_stats_startup[MAX_ZONES];
505 struct zone zone_array[MAX_ZONES];
506 SECURITY_READ_ONLY_LATE(zone_security_flags_t) zone_security_array[MAX_ZONES] = {
507 [0 ... MAX_ZONES - 1] = {
522 static bitmap_t zone_destroyed_bitmap[BITMAP_LEN(MAX_ZONES)];
8241 meta.zm_index == 0 || meta.zm_index >= MAX_ZONES || in panic_display_zone_fault()
9054 if (zone < zone_array || zone > &zone_array[MAX_ZONES]) { in zone_raise_reserve()
9089 assert(num_zones_in_use <= nzones && nzones < MAX_ZONES); in zone_create_find()
9122 for (int i = bitmap_first(zone_destroyed_bitmap, MAX_ZONES); in zone_create_find()
[all …]
H A Dkalloc.c1468 assert(zone_budget + current_zones <= MAX_ZONES); in kalloc_type_apply_policy()
3356 if (__probable(zid < MAX_ZONES)) { in kern_os_typed_free()