Searched refs:zones (Results 1 – 10 of 10) sorted by relevance
| /xnu-8020.140.41/tools/lldbmacros/ |
| H A D | zonetriage.py | 85 for zval in kern.zones: 121 for zval in kern.zones:
|
| H A D | memory.py | 777 zone_array = [z[0] for z in kern.zones] 779 zone_security = kern.zones[zid][1] 782 for zval, zsval in kern.zones: 996 zones = [] 997 for zval, zsval in kern.zones: 999 zones.append(GetZone(zval, zsval, marks, security_marks)) 1001 print(json.dumps(zones)) 1004 for zval, zsval in kern.zones: 1137 zone_array = [z[0] for z in kern.zones] 1139 zone_security = kern.zones[zid][1] [all …]
|
| H A D | README.md | 209 …07c000 29808 182 25 3600 144 4096 28 1 64 X$ zones
|
| /xnu-8020.140.41/doc/allocators/ |
| H A D | read-only.md | 9 Read-only zones are intended for very specific use cases where the data being 82 Read-only zones cannot be created after lockdown. To create a new read-only 87 We require identifiers for read-only zones for two reasons: firstly to ensure 88 that we're making conscious, considered choices over which zones are made
|
| H A D | api-basics.md | 13 allocator implemented as a collection of zones of fixed size, and overflowing to 63 made with `Z_WAITOK` from regular (non exhaustible) zones, or from `kalloc*` 71 The first blessed way to allocate memory in the kernel is by using zones. 74 It is generally recommended to create zones early and to store the `zone_t`
|
| /xnu-8020.140.41/osfmk/kern/ |
| H A D | kalloc.c | 393 struct kheap_zones *zones = kheap->kh_zones; in kalloc_zones_init() local 394 struct kalloc_zone_cfg *cfg = zones->cfg; in kalloc_zones_init() 395 zone_t *k_zone = zones->k_zone; in kalloc_zones_init() 401 assert(zones->cfg[zones->max_k_zone - 1].kzc_size == KHEAP_MAX_SIZE); in kalloc_zones_init() 403 for (uint32_t i = 0; i < zones->max_k_zone && in kalloc_zones_init() 413 zone_security_array[zone_index(z)].z_kheap_id = (uint8_t)zones->heap_id; in kalloc_zones_init() 420 zone_view_count += zones->max_k_zone; in kalloc_zones_init() 437 zones->k_zindex_start = zindex; in kalloc_zones_init() 440 zones->dlut[i] = zindex; in kalloc_zones_init() 2920 struct kheap_zones *zones; in kheap_startup_init() local [all …]
|
| H A D | zalloc.c | 9791 KMEM_RANGE_REGISTER_DYNAMIC(zones, &zone_map_range, ^() {
|
| /xnu-8020.140.41/doc/ |
| H A D | startup.md | 141 - `ZONE_DEFINE`, `ZONE_INIT`: automatically initialized permanent zones. 148 created VM/pmap zones to become dynamic.
|
| /xnu-8020.140.41/osfmk/mach/ |
| H A D | mach_host.defs | 251 * Returns information about the memory allocation zones. 380 * Returns names of zones that have zlog enabled.
|
| /xnu-8020.140.41/osfmk/vm/ |
| H A D | vm_resident.c | 9544 struct kheap_zones *zones = kheap->kh_zones; in vm_page_diagnose_heap() local 9547 for (; i < zones->max_k_zone; i++) { in vm_page_diagnose_heap() 9548 vm_page_diagnose_zone(info + i, zones->k_zone[i]); in vm_page_diagnose_heap() 9551 for (kalloc_heap_t kh = zones->views; kh; kh = kh->kh_next, i++) { in vm_page_diagnose_heap()
|