| /xnu-8019.80.24/osfmk/vm/ |
| H A D | vm_tests.c | 536 assertf(kr == KERN_SUCCESS, "kr = 0x%x", kr); in vm_test_4k() 537 …assertf(alloc1_addr == expected_addr, "alloc1_addr = 0x%lx expected 0x%lx", alloc1_addr, expected_… in vm_test_4k() 543 assertf(kr == KERN_SUCCESS, "kr = 0x%x", kr); in vm_test_4k() 554 assertf(kr == KERN_SUCCESS, "kr = 0x%x", kr); in vm_test_4k() 555 …assertf(alloc1_addr == expected_addr, "alloc1_addr = 0x%lx expected 0x%lx", alloc1_addr, expected_… in vm_test_4k() 566 assertf(kr == KERN_SUCCESS, "kr = 0x%x", kr); in vm_test_4k() 567 …assertf(alloc2_addr == expected_addr, "alloc2_addr = 0x%lx expected 0x%lx", alloc2_addr, expected_… in vm_test_4k() 578 assertf(kr == KERN_SUCCESS, "kr = 0x%x", kr); in vm_test_4k() 579 …assertf(alloc3_addr == expected_addr, "alloc3_addr = 0x%lx expected 0x%lx\n", alloc3_addr, expecte… in vm_test_4k() 590 assertf(kr == KERN_SUCCESS, "kr = 0x%x", kr); in vm_test_4k() [all …]
|
| H A D | vm_page.h | 290 assertf(fault_phys_offset < PAGE_SIZE && in VMP_CS_FOR_OFFSET() 301 assertf(fault_page_size <= PAGE_SIZE, in VMP_CS_VALIDATED() 315 assertf(fault_page_size <= PAGE_SIZE, in VMP_CS_TAINTED() 329 assertf(fault_page_size <= PAGE_SIZE, in VMP_CS_NX() 344 assertf(fault_page_size <= PAGE_SIZE, in VMP_CS_SET_VALIDATED() 366 assertf(fault_page_size <= PAGE_SIZE, in VMP_CS_SET_TAINTED() 388 assertf(fault_page_size <= PAGE_SIZE, in VMP_CS_SET_NX()
|
| H A D | vm_compressor_algorithms.c | 396 assertf(rval == PAGE_SIZE, "LZ4 decode: size != pgsize %d, header: 0x%x, 0x%x, 0x%x", in metadecompressor() 455 assertf(((new_codec == VM_COMPRESSOR_DEFAULT_CODEC) || (new_codec == CMODE_WK) || in vm_compressor_algorithm_init()
|
| H A D | vm_map_store.c | 165 assertf(VM_MAP_PAGE_SHIFT(VME_SUBMAP(entry)) >= VM_MAP_PAGE_SHIFT(map), in vm_map_store_entry_link()
|
| H A D | vm_object.c | 2701 assertf(!(offset & (pmap_page_size - 1)) && !(size & (pmap_page_size - 1)), in vm_object_pmap_protect_options() 3375 assertf(page_aligned(src_offset + size), in vm_object_copy_call() 3602 assertf(page_aligned(copy_size), in vm_object_copy_delayed() 3643 assertf(page_aligned(copy_size), in vm_object_copy_delayed() 3979 assertf(page_aligned(result->vo_shadow_offset), in vm_object_shadow() 4501 assertf(page_aligned(object->vo_shadow_offset), in vm_object_do_collapse() 4504 assertf(page_aligned(backing_object->vo_shadow_offset), in vm_object_do_collapse() 4579 assertf(page_aligned(object->vo_shadow_offset), in vm_object_do_bypass() 4582 assertf(page_aligned(backing_object->vo_shadow_offset), in vm_object_do_bypass() 4695 assertf(page_aligned(hint_offset), "hint_offset 0x%llx", hint_offset); in vm_object_collapse() [all …]
|
| H A D | vm_map.c | 446 assertf(!new->use_pmap, "old %p new %p\n", old, new); in vm_map_entry_copy() 974 assertf(kr == KERN_SUCCESS, in vm_map_apple_protected() 976 assertf(map_addr == tmp_entry.vme_start, in vm_map_apple_protected() 2202 assertf(vmk_flags.__vmkf_unused == 0, "vmk_flags unused=0x%x\n", vmk_flags.__vmkf_unused); in vm_map_enter() 2379 assertf(VM_MAP_PAGE_ALIGNED(*address, FOURK_PAGE_MASK), "0x%llx", (uint64_t)*address); in vm_map_enter() 2380 assertf(VM_MAP_PAGE_ALIGNED(size, FOURK_PAGE_MASK), "0x%llx", (uint64_t)size); in vm_map_enter() 2382 assertf(page_aligned(*address), "0x%llx", (uint64_t)*address); in vm_map_enter() 2383 assertf(page_aligned(size), "0x%llx", (uint64_t)size); in vm_map_enter() 4085 assertf(vmk_flags.__vmkf_unused == 0, "vmk_flags unused=0x%x\n", vmk_flags.__vmkf_unused); in vm_map_enter_mem_object_helper() 4482 assertf((copy_vm_alias & VME_ALIAS_MASK) == copy_vm_alias, in vm_map_enter_mem_object_helper() [all …]
|
| H A D | vm_fault.c | 2578 assertf(fault_phys_offset == 0, in vm_fault_cs_need_validation() 3404 assertf((!(fault_phys_offset & FOURK_PAGE_MASK) && in vm_fault_attempt_pmap_enter() 3408 assertf(fault_phys_offset == 0, in vm_fault_attempt_pmap_enter() 4763 assertf((!(fault_phys_offset & FOURK_PAGE_MASK) && in vm_fault_internal() 4767 assertf(fault_phys_offset == 0, in vm_fault_internal() 5649 assertf(object->internal, "object %p", object); in vm_fault_internal() 5966 assertf((!(fault_phys_offset & FOURK_PAGE_MASK) && in vm_fault_internal() 5970 assertf(fault_phys_offset == 0, in vm_fault_internal() 6506 assertf((fault_info.user_tag & VME_ALIAS_MASK) == fault_info.user_tag, in vm_fault_unwire()
|
| /xnu-8019.80.24/osfmk/kern/ |
| H A D | assert.h | 98 #define assertf(ex, fmt, args...) \ macro 149 #define assertf(ex, fmt, args...) \ 156 #define assertf(ex, fmt, args...) ((void)0)
|
| H A D | hazard.h | 159 assertf(held_cond, "hazard_ptr_serialized_load: lock not held"); \ 205 assertf(held_cond, "hazard_ptr_serialized_store: lock not held"); \ 235 assertf(held_cond, "hazard_ptr_serialized_store: lock not held"); \
|
| H A D | lock_rw.c | 421 assertf(entry->rwlde_mode_count == 1, in change_held_rwlock() 430 assertf(entry->rwlde_mode_count == -1, in change_held_rwlock() 512 assertf(entry->rwlde_mode_count != INT8_MAX, in add_held_rwlock() 821 assertf(owner != current_thread(), "Lock already held state=0x%x, owner=%p", in lck_rw_lock_exclusive_gen() 1040 assertf(owner == THREAD_NULL, "state=0x%x, owner=%p", ordered_load_rw(lock), owner); in lck_rw_lock_exclusive_check_contended() 1074 assertf(owner == THREAD_NULL, "state=0x%x, owner=%p", ordered_load_rw(lock), owner); in lck_rw_lock_exclusive_internal_inline() 1139 assertf(owner != current_thread(), "Lock already held state=0x%x, owner=%p", in lck_rw_lock_shared_gen() 1283 assertf(owner == THREAD_NULL, "state=0x%x, owner=%p", ordered_load_rw(lock), owner); in lck_rw_lock_shared_internal_inline() 1513 assertf(lock->lck_rw_priv_excl != 0, "lock %p thread %p", lock, current_thread()); in lck_rw_lock_shared_to_exclusive() 1549 assertf(owner == THREAD_NULL, "state=0x%x, owner=%p", ordered_load_rw(lock), owner); in lck_rw_lock_shared_to_exclusive() [all …]
|
| H A D | lock_ticket.c | 471 assertf(tlock->lck_owner != (uintptr_t) cthread, in lck_ticket_contended() 677 assertf(tmp.cticket != tmp.nticket, in hw_lck_ticket_unlock() 688 assertf(tlock->lck_owner == (uintptr_t)current_thread(), in lck_ticket_unlock() 703 assertf(owner == self, "lck_ticket_assert_owned: owner %p, current: %p", in lck_ticket_assert_owned()
|
| H A D | hazard.c | 142 assertf((hga->hga_mask & mask) == 0, "slot %d in use", in __hazard_guard_get() 157 assertf(slot < HAZARD_GUARD_SLOTS, "invalid guard %p", guard); in __hazard_guard_put() 158 assertf((hga->hga_mask & mask) == mask, "slot %d free", in __hazard_guard_put()
|
| H A D | cpu_quiesce.c | 358 assertf(!cpu_quiescent_counter_needs_commit(orig_state), in cpu_quiescent_counter_checkin()
|
| H A D | remote_time.c | 280 assertf(recalculate_count <= MAX_RECALCULATE_COUNT, "bt_caliberation_thread: recalculate \ in bt_calibration_thread()
|
| /xnu-8019.80.24/iokit/Kernel/ |
| H A D | IOPerfControl.cpp | 93 …assertf(workTableLength <= kWorkTableMaxSize, "%zu exceeds max allowed capacity of %zu", workTable… in init() 225 …assertf(token != kIOPerfControlClientWorkUntracked, "Attempt to deallocate token kIOPerfControlCli… in deallocateToken() 226 …assertf(token <= workTableLength, "Attempt to deallocate token %llu which is greater than the tabl… in deallocateToken() 254 assertf(entry->thread_group, "Invalid work token: %llu", token); in getEntryForToken() 439 assertf(!entry->started, "Work for token %llu was already started", token); in workBegin() 522 …assertf(thread_group == nullptr, "IOPerfControlWorkContext ID %llu being released without calling … in free() 586 …assertf(!work_context->started, "IOPerfControlWorkContext ID %llu was already started", work_conte… in workSubmitWithContext() 587 …assertf(work_context->thread_group == nullptr, "IOPerfControlWorkContext ID %llu has already taken… in workSubmitWithContext() 655 …assertf(!work_context->started, "IOPerfControlWorkContext %llu was already started", work_context-… in workBeginWithContext()
|
| /xnu-8019.80.24/osfmk/arm64/ |
| H A D | lowmem_vectors.c | 109 assertf((vm_first_phys != 0) && (vm_last_phys != 0), in patch_low_glo_static_region() 135 assertf((physmap_base != 0) && (physmap_end != 0), in patch_low_glo_static_region()
|
| H A D | bsd_arm64.c | 297 …assertf(prior == NULL, "thread_set_allocation_name(\"%s\") not cleared", kern_allocation_get_name(… in mach_syscall()
|
| /xnu-8019.80.24/osfmk/i386/ |
| H A D | bsd_i386.c | 374 …assertf(prior == NULL, "thread_set_allocation_name(\"%s\") not cleared", kern_allocation_get_name(… in machdep_syscall() 448 …assertf(prior == NULL, "thread_set_allocation_name(\"%s\") not cleared", kern_allocation_get_name(… in machdep_syscall64() 605 …assertf(prior == NULL, "thread_set_allocation_name(\"%s\") not cleared", kern_allocation_get_name(… in mach_call_munger() 719 …assertf(prior == NULL, "thread_set_allocation_name(\"%s\") not cleared", kern_allocation_get_name(… in mach_call_munger64()
|
| H A D | fpu.c | 84 assertf(!(((uintptr_t)(p)) & ((a) - 1)), \ 531 assertf((size & (sizeof(uint64_t) - 1)) == 0, "FP save area component not a multiple of 8 bytes"); in fpu_allzeroes() 698 …assertf(fpu_YMM_capable ? (xgetbv(XCR0) == xstate_xmask[cdp->cpu_xstate]) : TRUE, "XCR0 mismatch: … in fpu_switch_context()
|
| /xnu-8019.80.24/osfmk/arm/ |
| H A D | lowmem_vectors.c | 93 assertf((vm_first_phys != 0) && (vm_last_phys != 0), in patch_low_glo_static_region()
|
| H A D | machine_routines.c | 757 …assertf(((vm_address_t)(vaddr) - gVirtBase) < gPhysSize, "%s: illegal vaddr: %p", __func__, (void*… in ml_static_vtop() 775 assertf((pa - gPhysBase) < gPhysSize, "%s: illegal PA: 0x%lx", __func__, (unsigned long)pa); in phystokv_range()
|
| /xnu-8019.80.24/bsd/dev/i386/ |
| H A D | systemcalls.c | 248 …assertf(prior == NULL, "thread_set_allocation_name(\"%s\") not cleared", kern_allocation_get_name(… in unix_syscall() 461 …assertf(prior == NULL, "thread_set_allocation_name(\"%s\") not cleared", kern_allocation_get_name(… in unix_syscall64() 595 …assertf(prior == NULL, "thread_set_allocation_name(\"%s\") not cleared", kern_allocation_get_name(… in unix_syscall_return()
|
| /xnu-8019.80.24/osfmk/arm/pmap/ |
| H A D | pmap_internal.h | 181 #define ASSERT_NOT_HIBERNATING() (assertf(!hib_entry_pmap_lockdown, \
|
| /xnu-8019.80.24/bsd/dev/arm/ |
| H A D | systemcalls.c | 210 …assertf(prior == NULL, "thread_set_allocation_name(\"%s\") not cleared", kern_allocation_get_name(… in unix_syscall() 268 …assertf(prior == NULL, "thread_set_allocation_name(\"%s\") not cleared", kern_allocation_get_name(… in unix_syscall_return()
|
| /xnu-8019.80.24/iokit/Tests/ |
| H A D | TestIOMemoryDescriptor.cpp | 218 assertf((0x53535300 | dir) == data, "mismatch 0x%x", data); in IODMACommandForceDoubleBufferTest() 232 assertf((0x11223300 | dir) == data, "mismatch 0x%x", data); in IODMACommandForceDoubleBufferTest() 313 …assertf(segments[0].fIOVMAddr != segPhys, "phys !local 0x%qx, 0x%qx, %p", segments[0].fIOVMAddr, s… in IODMACommandLocalMappedNonContig()
|