| /xnu-8020.140.41/osfmk/vm/ |
| H A D | vm_tests.c | 535 assertf(kr == KERN_SUCCESS, "kr = 0x%x", kr); in vm_test_4k() 536 …assertf(alloc1_addr == expected_addr, "alloc1_addr = 0x%lx expected 0x%lx", alloc1_addr, expected_… in vm_test_4k() 542 assertf(kr == KERN_SUCCESS, "kr = 0x%x", kr); in vm_test_4k() 553 assertf(kr == KERN_SUCCESS, "kr = 0x%x", kr); in vm_test_4k() 554 …assertf(alloc1_addr == expected_addr, "alloc1_addr = 0x%lx expected 0x%lx", alloc1_addr, expected_… in vm_test_4k() 565 assertf(kr == KERN_SUCCESS, "kr = 0x%x", kr); in vm_test_4k() 566 …assertf(alloc2_addr == expected_addr, "alloc2_addr = 0x%lx expected 0x%lx", alloc2_addr, expected_… in vm_test_4k() 577 assertf(kr == KERN_SUCCESS, "kr = 0x%x", kr); in vm_test_4k() 578 …assertf(alloc3_addr == expected_addr, "alloc3_addr = 0x%lx expected 0x%lx\n", alloc3_addr, expecte… in vm_test_4k() 589 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 | 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_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() 3765 assertf(VM_PAGE_OBJECT(m) != VM_OBJECT_NULL, "m=%p", m); in vm_fault_enter() 4784 assertf((!(fault_phys_offset & FOURK_PAGE_MASK) && in vm_fault_internal() 4788 assertf(fault_phys_offset == 0, in vm_fault_internal() 4792 assertf(VM_PAGE_OBJECT(m) == m_object, "m=%p m_object=%p object=%p", m, m_object, object); in vm_fault_internal() 5423 assertf(VM_PAGE_OBJECT(m) == object, "m=%p object=%p", m, object); in vm_fault_internal() 5688 assertf(object->internal, "object %p", object); in vm_fault_internal() 5920 assertf(VM_PAGE_OBJECT(m) == m_object, "m=%p m_object=%p", m, m_object); in vm_fault_internal() [all …]
|
| H A D | vm_object.c | 2663 assertf(!(offset & (pmap_page_size - 1)) && !(size & (pmap_page_size - 1)), in vm_object_pmap_protect_options() 3336 assertf(page_aligned(src_offset + size), in vm_object_copy_call() 3563 assertf(page_aligned(copy_size), in vm_object_copy_delayed() 3604 assertf(page_aligned(copy_size), in vm_object_copy_delayed() 3940 assertf(page_aligned(result->vo_shadow_offset), in vm_object_shadow() 4462 assertf(page_aligned(object->vo_shadow_offset), in vm_object_do_collapse() 4465 assertf(page_aligned(backing_object->vo_shadow_offset), in vm_object_do_collapse() 4539 assertf(page_aligned(object->vo_shadow_offset), in vm_object_do_bypass() 4542 assertf(page_aligned(backing_object->vo_shadow_offset), in vm_object_do_bypass() 4655 assertf(page_aligned(hint_offset), "hint_offset 0x%llx", hint_offset); in vm_object_collapse() [all …]
|
| H A D | vm_map.c | 491 assertf(!new->use_pmap, "old %p new %p\n", old, new); in vm_map_entry_copy() 1012 assertf(kr == KERN_SUCCESS, in vm_map_apple_protected() 1014 assertf(map_addr == tmp_entry.vme_start, in vm_map_apple_protected() 1891 assertf(!pgz_owned(address), in vm_map_lookup_entry() 2456 assertf(vmk_flags.__vmkf_unused == 0, "vmk_flags unused=0x%x\n", vmk_flags.__vmkf_unused); in vm_map_enter() 2609 assertf(VM_MAP_PAGE_ALIGNED(*address, FOURK_PAGE_MASK), "0x%llx", (uint64_t)*address); in vm_map_enter() 2610 assertf(VM_MAP_PAGE_ALIGNED(size, FOURK_PAGE_MASK), "0x%llx", (uint64_t)size); in vm_map_enter() 2612 assertf(page_aligned(*address), "0x%llx", (uint64_t)*address); in vm_map_enter() 2613 assertf(page_aligned(size), "0x%llx", (uint64_t)size); in vm_map_enter() 3976 assertf(vmk_flags.__vmkf_unused == 0, "vmk_flags unused=0x%x\n", vmk_flags.__vmkf_unused); in vm_map_enter_mem_object_helper() [all …]
|
| /xnu-8020.140.41/osfmk/kern/ |
| H A D | smr.h | 172 assertf(held_cond, "smr_serialized_load: lock not held"); \ 216 assertf(held_cond, "smr_serialized_store: lock not held"); \ 246 assertf(held_cond, "smr_serialized_store: lock not held"); \
|
| 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 | 419 assertf(entry->rwlde_mode_count == 1, in change_held_rwlock() 428 assertf(entry->rwlde_mode_count == -1, in change_held_rwlock() 510 assertf(entry->rwlde_mode_count != INT8_MAX, in add_held_rwlock() 819 assertf(owner != current_thread(), "Lock already held state=0x%x, owner=%p", in lck_rw_lock_exclusive_gen() 1038 assertf(owner == THREAD_NULL, "state=0x%x, owner=%p", ordered_load_rw(lock), owner); in lck_rw_lock_exclusive_check_contended() 1072 assertf(owner == THREAD_NULL, "state=0x%x, owner=%p", ordered_load_rw(lock), owner); in lck_rw_lock_exclusive_internal_inline() 1137 assertf(owner != current_thread(), "Lock already held state=0x%x, owner=%p", in lck_rw_lock_shared_gen() 1281 assertf(owner == THREAD_NULL, "state=0x%x, owner=%p", ordered_load_rw(lock), owner); in lck_rw_lock_shared_internal_inline() 1511 assertf(lock->lck_rw_priv_excl != 0, "lock %p thread %p", lock, current_thread()); in lck_rw_lock_shared_to_exclusive() 1547 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 | 472 assertf(tlock->lck_owner != (uintptr_t) cthread, in lck_ticket_contended() 755 assertf(tmp.cticket != tmp.nticket, in hw_lck_ticket_unlock() 766 assertf(tlock->lck_owner == (uintptr_t)current_thread(), in lck_ticket_unlock_nopreempt() 788 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 | smr.c | 83 assertf(smr_boot.used <= SMR_EARLY_COUNT, in __smr_init()
|
| /xnu-8020.140.41/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-8020.140.41/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 | 300 …assertf(prior == NULL, "thread_set_allocation_name(\"%s\") not cleared", kern_allocation_get_name(… in mach_syscall()
|
| /xnu-8020.140.41/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() 722 …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-8020.140.41/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-8020.140.41/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-8020.140.41/osfmk/arm/pmap/ |
| H A D | pmap_internal.h | 181 #define ASSERT_NOT_HIBERNATING() (assertf(!hib_entry_pmap_lockdown, \
|
| /xnu-8020.140.41/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-8020.140.41/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()
|