| /xnu-12377.41.6/osfmk/vm/ |
| H A D | vm_tests.c | 566 assertf(kr == KERN_SUCCESS, "kr = 0x%x", kr); in vm_test_4k() 567 …assertf(alloc1_addr == expected_addr, "alloc1_addr = 0x%lx expected 0x%lx", alloc1_addr, expected_… in vm_test_4k() 573 assertf(kr == KERN_SUCCESS, "kr = 0x%x", kr); in vm_test_4k() 584 assertf(kr == KERN_SUCCESS, "kr = 0x%x", kr); in vm_test_4k() 585 …assertf(alloc1_addr == expected_addr, "alloc1_addr = 0x%lx expected 0x%lx", alloc1_addr, expected_… in vm_test_4k() 596 assertf(kr == KERN_SUCCESS, "kr = 0x%x", kr); in vm_test_4k() 597 …assertf(alloc2_addr == expected_addr, "alloc2_addr = 0x%lx expected 0x%lx", alloc2_addr, expected_… in vm_test_4k() 608 assertf(kr == KERN_SUCCESS, "kr = 0x%x", kr); in vm_test_4k() 609 …assertf(alloc3_addr == expected_addr, "alloc3_addr = 0x%lx expected 0x%lx\n", alloc3_addr, expecte… in vm_test_4k() 620 assertf(kr == KERN_SUCCESS, "kr = 0x%x", kr); in vm_test_4k() [all …]
|
| H A D | vm_page_internal.h | 166 assertf(fault_phys_offset < PAGE_SIZE && in VMP_CS_FOR_OFFSET() 177 assertf(fault_page_size <= PAGE_SIZE, in VMP_CS_VALIDATED() 191 assertf(fault_page_size <= PAGE_SIZE, in VMP_CS_TAINTED() 205 assertf(fault_page_size <= PAGE_SIZE, in VMP_CS_NX() 220 assertf(fault_page_size <= PAGE_SIZE, in VMP_CS_SET_VALIDATED() 242 assertf(fault_page_size <= PAGE_SIZE, in VMP_CS_SET_TAINTED() 264 assertf(fault_page_size <= PAGE_SIZE, in VMP_CS_SET_NX()
|
| H A D | vm_compressor_algorithms.c | 402 assertf(rval == PAGE_SIZE, "LZ4 decode: size != pgsize %d, header: 0x%x, 0x%x, 0x%x", in metadecompressor() 461 assertf(((new_codec == VM_COMPRESSOR_DEFAULT_CODEC) || (new_codec == CMODE_WK) || in vm_compressor_algorithm_init()
|
| H A D | vm_map_store.c | 146 assertf(VM_MAP_PAGE_SHIFT(VME_SUBMAP(entry)) >= VM_MAP_PAGE_SHIFT(map), in vm_map_store_entry_link() 215 assertf(!entry->vme_permanent, in _vm_map_store_entry_unlink()
|
| H A D | vm_map.c | 770 assertf(!new->use_pmap, "old %p new %p\n", old, new); in vm_map_entry_copy() 1293 assertf(kr == KERN_SUCCESS, in vm_map_apple_protected() 1295 assertf(map_addr == tmp_entry.vme_start, in vm_map_apple_protected() 3028 assertf(vmk_flags.__vmkf_unused2 == 0, "vmk_flags unused2=0x%llx\n", vmk_flags.__vmkf_unused2); in vm_map_enter() 3287 assertf(VM_MAP_PAGE_ALIGNED(*address, VM_MAP_PAGE_MASK(map)), "0x%llx", (uint64_t)*address); in vm_map_enter() 3288 assertf(VM_MAP_PAGE_ALIGNED(size, VM_MAP_PAGE_MASK(map)), "0x%llx", (uint64_t)size); in vm_map_enter() 4316 assertf(vmk_flags.__vmkf_unused2 == 0, "vmk_flags unused2=0x%llx\n", vmk_flags.__vmkf_unused2); in vm_map_enter_mem_object() 5120 assertf(FALSE, "kernel_prefault && !UPL_VALID_PAGE"); in vm_map_enter_mem_object() 5131 assertf(p, "offset 0x%llx: no VM page", page_offset); in vm_map_enter_mem_object() 5147 assertf(VM_PAGE_GET_PHYS_PAGE(p) == UPL_PHYS_PAGE(page_list, i), in vm_map_enter_mem_object() [all …]
|
| H A D | vm_compressor.c | 902 …assertf((tmp_slot_ptr.s_cseg == c_segments_limit), "vm_compressor_init: overflowed s_cseg field in… in vm_compressor_set_size() 942 …assertf((tmp_slot_ptr.s_cseg == c_segments_limit), "vm_compressor_init: freezer reserve overflowed… in vm_compressor_set_size() 2439 …assertf(c_seg_dst->c_has_donated_pages == c_seg_src->c_has_donated_pages, "Mismatched donation sta… in c_seg_coalesce() 2467 …assertf(c_seg_dst->c_populated_offset >= c_seg_dst->c_nextoffset, "Unexpected segment offsets: %u,… in c_seg_coalesce() 4948 assertf(ok, "corrupt tags encoding in:%p, %ud out:%p", buffer_in, size_in, temp_tags); in decompress_mte_tags() 5095 assertf(((c_size <= max_csize_adj) && (c_size >= -1)), in c_compress_page() 5442 assertf(flags & C_MTE, in c_decompress_page() 5445 assertf(!(flags & C_MTE), in c_decompress_page() 5715 …assertf(c_segment_pages_compressed_incore >= 0, "-ve incore count %p 0x%x", c_seg, c_segment_pages… in c_decompress_page() 5718 …assertf(c_segment_pages_compressed_incore_late_swapout >= 0, "-ve lateswapout count %p 0x%x", c_se… in c_decompress_page() [all …]
|
| H A D | vm_fault.c | 2694 assertf(fault_phys_offset == 0, in vm_fault_cs_need_validation() 3748 assertf((!(fault_phys_offset & FOURK_PAGE_MASK) && in vm_fault_attempt_pmap_enter() 3752 assertf(fault_phys_offset == 0, in vm_fault_attempt_pmap_enter() 4152 assertf(VM_PAGE_OBJECT(m) != VM_OBJECT_NULL, "m=%p", m); in vm_fault_enter() 5274 assertf((!(fault_phys_offset & FOURK_PAGE_MASK) && in vm_fault_internal() 5278 assertf(fault_phys_offset == 0, in vm_fault_internal() 5292 assertf(VM_PAGE_OBJECT(m) == m_object, "m=%p m_object=%p object=%p", m, m_object, object); in vm_fault_internal() 5952 assertf(!((fault_type & VM_PROT_WRITE) && object->vo_copy), in vm_fault_internal() 5996 assertf(VM_PAGE_OBJECT(m) == object, "m=%p object=%p", m, object); in vm_fault_internal() 6095 assertf(!((prot & VM_PROT_WRITE) && object->vo_copy), in vm_fault_internal() [all …]
|
| H A D | vm_kern.c | 2210 assertf(!VM_PAGE_PAGEABLE(mem), in kmem_realloc_guard() 2216 assertf(VM_PAGE_WIRED(mem), in kmem_realloc_guard() 2221 assertf(mem->vmp_wire_count >= 1, in kmem_realloc_guard() 2323 assertf(!VM_PAGE_PAGEABLE(mem), in kmem_realloc_guard() 2329 assertf(VM_PAGE_WIRED(mem), in kmem_realloc_guard() 2334 assertf(mem->vmp_wire_count >= 2, in kmem_realloc_guard() 4871 assertf(can_write_at(offs, page), \ 4875 assertf(!can_write_at(offs, page), \ 4935 assertf(addr != 0ull, "kma(%p, 10p, 0, KO | GF | GL)", map); in kmem_alloc_basic_test() 4940 assertf(e, "unable to find address %p in map %p", (void *)addr, map); in kmem_alloc_basic_test() [all …]
|
| H A D | vm_object.c | 3126 assertf(!(offset & (pmap_page_size - 1)) && !(size & (pmap_page_size - 1)), 3966 assertf(page_aligned(copy_size), 4018 assertf(page_aligned(copy_size), 4360 assertf(page_aligned(result->vo_shadow_offset), 4938 assertf(page_aligned(object->vo_shadow_offset), 4941 assertf(page_aligned(backing_object->vo_shadow_offset), 5015 assertf(page_aligned(object->vo_shadow_offset), 5018 assertf(page_aligned(backing_object->vo_shadow_offset), 5132 assertf(page_aligned(hint_offset), "hint_offset 0x%llx", hint_offset); 5713 assertf(page_aligned(newsize), [all …]
|
| /xnu-12377.41.6/iokit/Kernel/ |
| H A D | IOPerfControl.cpp | 96 …assertf(workTableLength <= kWorkTableMaxSize, "%zu exceeds max allowed capacity of %zu", workTable… in init() 211 …assertf(false, "Unexpected device type for IOPerfControlClient::accountResources: %llu", static_ca… in accountResources() 276 …assertf(token != kIOPerfControlClientWorkUntracked, "Attempt to deallocate token kIOPerfControlCli… in deallocateToken() 277 …assertf(token <= workTableLength, "Attempt to deallocate token %llu which is greater than the tabl… in deallocateToken() 309 assertf(entry->thread_group, "Invalid work token: %llu", token); in getEntryForToken() 494 assertf(!entry->started, "Work for token %llu was already started", token); in workBegin() 588 …assertf(thread_group == nullptr, "IOPerfControlWorkContext ID %llu being released without calling … in free() 589 …assertf(coal == nullptr, "IOPerfControlWorkContext ID %llu being released without calling workEnd!… in free() 653 …assertf(!work_context->started, "IOPerfControlWorkContext ID %llu was already started", work_conte… in workSubmitWithContext() 654 …assertf(work_context->thread_group == nullptr, "IOPerfControlWorkContext ID %llu has already taken… in workSubmitWithContext() [all …]
|
| /xnu-12377.41.6/osfmk/kern/ |
| H A D | lock_rw.c | 450 assertf(entry->rwlde_mode_count == 1, in change_held_rwlock_slow() 459 assertf(entry->rwlde_mode_count == -1, in change_held_rwlock_slow() 544 assertf(entry->rwlde_mode_count != INT8_MAX, in add_held_rwlock_slow() 914 assertf(lock->lck_rw_owner != self->ctid, 1117 assertf((get_preemption_level() == 0 && ml_get_interrupts_enabled()) || in lck_rw_lock_check_preemption() 1168 assertf(lock->lck_rw_owner == 0, "state=0x%x, owner=%p", in lck_rw_lock_exclusive_check_contended() 1210 assertf(lock->lck_rw_owner == 0, "state=0x%x, owner=%p", 1310 assertf(lck->lck_rw_owner != self->ctid, 1478 assertf(lock->lck_rw_owner == 0, "state=0x%x, owner=%p", 1733 assertf(lock->lck_rw_priv_excl != 0, "lock %p thread %p", lock, current_thread()); in lck_rw_lock_shared_to_exclusive() [all …]
|
| H A D | assert.h | 200 #define assertf(ex, fmt, args...) ({ \ macro 259 #define assertf(ex, fmt, args...) ((void)0) macro
|
| H A D | smr.h | 125 assertf(held_cond, "smr_serialized_load: lock not held"); \ 169 assertf(held_cond, "smr_serialized_store: lock not held"); \ 201 assertf(held_cond, "smr_serialized_store_relaxed: lock not held"); \ 231 assertf(held_cond, "smr_serialized_store: lock not held"); \
|
| H A D | exclaves_boot.c | 440 assertf(false, "unknown boot status %u", boot_status); in exclaves_get_boot_status_string()
|
| H A D | remote_time.c | 280 assertf(recalculate_count <= MAX_RECALCULATE_COUNT, "bt_caliberation_thread: recalculate \ in bt_calibration_thread()
|
| /xnu-12377.41.6/osfmk/arm64/ |
| H A D | lowmem_vectors.c | 113 assertf((vm_first_phys != 0) && (vm_last_phys != 0), in patch_low_glo_static_region() 139 assertf((physmap_base != 0) && (physmap_end != 0), in patch_low_glo_static_region()
|
| H A D | bsd_arm64.c | 299 …assertf(prior == NULL, "thread_set_allocation_name(\"%s\") not cleared", kern_allocation_get_name(… in mach_syscall()
|
| H A D | hibernate_arm64.c | 280 assertf(SPTMArgs->hib_metadata->iboot_loaded_ranges != NULL, in hibernate_page_list_set_volatile()
|
| /xnu-12377.41.6/osfmk/i386/ |
| H A D | bsd_i386.c | 373 …assertf(prior == NULL, "thread_set_allocation_name(\"%s\") not cleared", kern_allocation_get_name(… in machdep_syscall() 447 …assertf(prior == NULL, "thread_set_allocation_name(\"%s\") not cleared", kern_allocation_get_name(… in machdep_syscall64() 604 …assertf(prior == NULL, "thread_set_allocation_name(\"%s\") not cleared", kern_allocation_get_name(… in mach_call_munger() 721 …assertf(prior == NULL, "thread_set_allocation_name(\"%s\") not cleared", kern_allocation_get_name(… in mach_call_munger64()
|
| /xnu-12377.41.6/bsd/dev/i386/ |
| H A D | systemcalls.c | 244 …assertf(prior == NULL, "thread_set_allocation_name(\"%s\") not cleared", kern_allocation_get_name(… in unix_syscall() 453 …assertf(prior == NULL, "thread_set_allocation_name(\"%s\") not cleared", kern_allocation_get_name(… in unix_syscall64() 587 …assertf(prior == NULL, "thread_set_allocation_name(\"%s\") not cleared", kern_allocation_get_name(… in unix_syscall_return()
|
| /xnu-12377.41.6/security/ |
| H A D | mac_label.c | 206 assertf(label->l_owner != (struct label **)-1, in mac_label_set()
|
| /xnu-12377.41.6/bsd/dev/arm/ |
| H A D | systemcalls.c | 204 …assertf(prior == NULL, "thread_set_allocation_name(\"%s\") not cleared", kern_allocation_get_name(… in unix_syscall() 259 …assertf(prior == NULL, "thread_set_allocation_name(\"%s\") not cleared", kern_allocation_get_name(… in unix_syscall_return()
|
| /xnu-12377.41.6/osfmk/arm/pmap/ |
| H A D | pmap_internal.h | 186 #define ASSERT_NOT_HIBERNATING() (assertf(!hib_entry_pmap_lockdown, \
|
| /xnu-12377.41.6/osfmk/arm64/sptm/pmap/ |
| H A D | pmap_data.h | 295 assertf(os_atomic_load(&pv_head_table[index], relaxed) & PVH_LOCK_FLAGS, in pvh_assert_locked() 353 assertf(wres == THREAD_WAITING, "%s: unexpected wait result %d", __func__, wres); in pvh_lock() 948 assertf(pvh_pve_list(locked_pvh->pvh) == pvep, "%s: pvh %p != pvep %p", in pve_remove()
|
| /xnu-12377.41.6/tests/sched/sched_test_harness/shadow_headers/ |
| H A D | sched_prim.c | 418 assertf(false, "unimplemented"); in thread_setrun()
|