| /xnu-11215/osfmk/kern/ |
| H A D | kern_apfs_reflock.c | 76 panic("kern_apfs_reflock_t %p was already destroyed", reflock); in kern_apfs_reflock_destroy() 118 panic("reflock %p was destoryed", reflock); in kern_apfs_reflock_check_valid() 121 panic("reflock %p used after request for free", reflock); in kern_apfs_reflock_check_valid() 141 panic("kern_apfs_reflock_t %p is already in the process of being freed", reflock); in kern_apfs_reflock_free() 169 panic("Cannot use KERN_APFS_REFLOCK_IN_FORCE and KERN_APFS_REFLOCK_IN_LOCK_IF_FIRST together"); in kern_apfs_reflock_try_get_ref() 193 … panic("kern_apfs_reflock: too many waiters for %p thread %p", reflock, current_thread()); in kern_apfs_reflock_try_get_ref() 205 … panic("kern_apfs_reflock: too many refs for %p thread %p", reflock, current_thread()); in kern_apfs_reflock_try_get_ref() 238 panic("Cannot use KERN_APFS_REFLOCK_IN_FORCE and KERN_APFS_REFLOCK_IN_LOCK_IF_LAST together"); in kern_apfs_reflock_try_put_ref() 246 … panic("kern_apfs_reflock: over releasing reflock %p thread %p", reflock, current_thread()); in kern_apfs_reflock_try_put_ref() 268 … panic("kern_apfs_reflock: too many waiters for %p thread %p", reflock, current_thread()); in kern_apfs_reflock_try_put_ref() [all …]
|
| H A D | thread_call.c | 973 panic("trying to cancel NULL func"); in thread_call_func_cancel() 1211 panic("NULL call in %s", __FUNCTION__); in thread_call_enter_delayed() 1223 panic("NULL call in %s", __FUNCTION__); in thread_call_enter1_delayed() 1238 panic("NULL call in %s", __FUNCTION__); in thread_call_enter_delayed_with_leeway() 1729 panic("thread_terminate() returned?"); in thread_call_thread() 2005 panic("invalid timer flavor: %d", flavor); in thread_call_delayed_timer() 2216 panic("Unable to assert wait: %d", res); in thread_call_wait_once_locked() 2223 panic("Awoken with %d?", res); in thread_call_wait_once_locked() 2253 panic("(%p %p) unsafe thread_call_wait_once", in thread_call_wait_once() 2300 panic("Unable to assert wait: %d", res); in thread_call_wait_locked() [all …]
|
| /xnu-11215/bsd/netinet/ |
| H A D | ip_ecn.c | 83 panic("NULL pointer passed to ip_ecn_ingress"); in ip_ecn_ingress() 105 panic("NULL pointer passed to ip_ecn_egress"); in ip_ecn_egress() 132 panic("NULL pointer passed to ip6_ecn_ingress"); in ip6_ecn_ingress() 147 panic("NULL pointer passed to ip6_ecn_egress"); in ip6_ecn_egress() 170 panic("NULL pointer passed to ip46_ecn_ingress"); in ip46_ecn_ingress() 188 panic("NULL pointer passed to ip46_ecn_egress"); in ip46_ecn_egress() 205 panic("NULL pointer passed to ip64_ecn_ingress"); in ip64_ecn_ingress() 222 panic("NULL pointer passed to ip64_ecn_egress"); in ip64_ecn_egress()
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_trustcache.c | 99 panic("image4 interface not available"); in trust_cache_runtime_init() 104 panic("amfi interface not available"); in trust_cache_runtime_init() 106 panic("amfi interface is stale: %u", amfi->TrustCache.version); in trust_cache_runtime_init() 307 panic("image4 interface not available"); in trust_cache_runtime_init() 312 panic("amfi interface not available"); in trust_cache_runtime_init() 478 panic("image4 interface not available"); in trust_cache_runtime_init() 483 panic("amfi interface not available"); in trust_cache_runtime_init() 1011 panic("PHYSMAP_PTOV bounds exceeded, 0x%qx, 0x%qx, 0x%qx", in PHYSMAP_PTOV_check() 1082 panic("overflow on length of the trust cache offsets: %lu", in load_static_trust_cache() 1099 panic("trust cache module start overflows: %u | %lu | %u", in load_static_trust_cache() [all …]
|
| H A D | imageboot.c | 175 panic("%s: Invalid URL scheme for %s", in imageboot_needed() 209 panic("not supported"); in imageboot_pivot_image() 446 panic("vfs_mountroot() failed."); in imageboot_mount_image() 451 panic("invalid imageboot type: %d", type); in imageboot_mount_image() 586 panic("negative file size"); in imageboot_read_file_internal() 939 panic("%s: cannot find root vnode", __func__); in imageboot_mount_ramdisk() 1026 panic("Failed to mount container image."); in imageboot_setup_new() 1084 panic("root image version check failed"); in imageboot_setup_new() 1107 panic("imageboot_setup: rootvnode is NULL."); in imageboot_setup() 1156 panic("Failed on first stage of imageboot."); in imageboot_setup() [all …]
|
| /xnu-11215/pexpert/arm/ |
| H A D | pe_fiq.c | 67 panic("%s: cannot find GICR base for core %u", __func__, ml_get_cpu_number(phys_id)); in find_gicr_pe_base() 83 panic("%s: cannot find GIC node in DT", __func__); in pe_init_fiq() 91 panic("%s: cannot find GIC MMIO regions in DT", __func__); in pe_init_fiq() 96 …panic("%s: incorrect reg property size in GIC DT node; expecting 32 bytes but got %u bytes", __fun… in pe_init_fiq() 110 panic("%s: cannot map GICD region", __func__); in pe_init_fiq() 117 panic("%s: cannot map GICR region", __func__); in pe_init_fiq() 138 panic("%s: core %u timed out waiting for redistributor to wake up", in pe_init_fiq()
|
| /xnu-11215/bsd/netkey/ |
| H A D | key_debug.c | 72 #define panic(param) { printf(param); exit(-1); } macro 87 panic("kdebug_sadb: NULL pointer was passed."); 183 panic("kdebug_sadb_prop: NULL pointer was passed."); 326 panic("kdebug_sadb_sa: NULL pointer was passed."); 367 panic("kdebug_sadb_key: NULL pointer was passed."); 396 panic("kdebug_sadb_x_sa2: NULL pointer was passed."); 510 panic("kdebug_sadb_x_policy: wrong policy struct."); 525 panic("kdebug_secpolicy: NULL pointer was passed."); 617 panic("kdebug_secasv: NULL pointer was passed."); 669 panic("kdebug_secreplay: NULL pointer was passed."); [all …]
|
| /xnu-11215/osfmk/arm64/sptm/pmap/ |
| H A D | pmap_ppl_interface.c | 82 panic("%s: failed, no pages available? kr=%d", __func__, kr); in mapping_free_prime() 94 panic("%s: unsupported on non-PPL systems, size=%lu", __func__, size); in pmap_ledger_verify_size() 105 panic("%s: unsupported on non-PPL systems", __func__); in pmap_ledger_alloc() 117 panic("%s: unsupported on non-PPL systems, ledger=%p", __func__, ledger); in pmap_ledger_free()
|
| /xnu-11215/bsd/miscfs/mockfs/ |
| H A D | mockfs_fsnode.c | 125 …panic("mockfs_fsnode_destroy called on node with live vnode; fsnp = %p (in case gdb is screwing wi… in mockfs_fsnode_destroy() 138 …panic("mockfs_fsnode_destroy failed on child_a; fsnp = %p (in case gdb is screwing with you), rval… in mockfs_fsnode_destroy() 144 …panic("mockfs_fsnode_destroy failed on child_b; fsnp = %p (in case gdb is screwing with you), rval… in mockfs_fsnode_destroy() 153 …panic("mockfs_fsnode_orphan failed during destroy; fsnp = %p (in case gdb is screwing with you), r… in mockfs_fsnode_destroy() 235 …panic("mockfs_fsnode_orphan called on node with live vnode; fsnp = %p (in case gdb is screwing wit… in mockfs_fsnode_orphan() 247 …panic("mockfs_fsnode_orphan insanity, fsnp->parent != parent->child; fsnp = %p (in case gdb is scr… in mockfs_fsnode_orphan() 345 panic("mockfs_fsvnode failed to get ubc_mem_object for a new vnode"); in mockfs_fsnode_vnode() 351 …panic("mockfs_fsnode_vnode failed to create fictitious pages for a memory-backed device; rvalue = … in mockfs_fsnode_vnode() 392 panic("mock_fsnode_drop_vnode: target fsnode does not have an associated vnode"); in mockfs_fsnode_drop_vnode()
|
| /xnu-11215/osfmk/tests/ |
| H A D | README.md | 8 …* Automatically skips tests that are designed to panic kernel for on-desk testing, but run in BATs… 10 * Ability to check for assertions and panic path as well. 45 XNUPOST_TEST_CONFIG_TEST_PANIC(panic_test) // test that is expected to panic 88 ## How do I test for panic/assertions? 105 ## How do XNUPOST panic widgets work? 109 XT_PANIC_UNRELATED /* not related. continue panic */ 110 XT_RET_W_FAIL /* report FAILURE and return from panic */ 111 XT_RET_W_SUCCESS /* report SUCCESS and return from panic */ 112 XT_PANIC_W_FAIL /* report FAILURE and continue to panic */ 113 XT_PANIC_W_SUCCESS /* report SUCCESS and continue to panic */ [all …]
|
| /xnu-11215/osfmk/arm64/sptm/ |
| H A D | sptm.h | 65 panic("%s: sptm_check_inflight returned failure for paddr 0x%llx", in sptm_paddr_is_inflight() 88 panic("%s: sptm_get_paddr_type returned failure for paddr 0x%llx", in sptm_get_frame_type() 109 panic("%s: sptm_paddr_is_last_mapping returned failure for paddr 0x%llx", in sptm_frame_is_last_mapping() 134 panic("%s: sptm_get_table_mapping_count returned failure for paddr 0x%llx", in sptm_get_page_table_refcnt()
|
| /xnu-11215/libkern/crypto/ |
| H A D | corecrypto_aesxts.c | 52 panic("%s: corecrypto not registered!", __FUNCTION__); in xts_start() 59 panic("%s: xts mode not registered? enc=%p, dec=%p", __FUNCTION__, enc, dec); in xts_start() 64 panic("%s: inconsistent size for AES-XTS context", __FUNCTION__); in xts_start() 83 panic("xts encrypt not a multiple of block size"); in xts_encrypt() 105 panic("xts decrypt not a multiple of block size"); in xts_decrypt()
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOReporterDefs.h | 74 panic("%s - %s <= 0!", __func__, #__val); \ 76 panic("%s - %s > INT_MAX / sizeof(%s)!", __func__, #__val, #__type); \ 102 panic("%s was called out of locked context!", __PRETTY_FUNCTION__); \ 109 panic("%s was called out of config locked context!", __PRETTY_FUNCTION__); \
|
| /xnu-11215/libkern/c++/ |
| H A D | OSMetaClass.cpp | 304 panic("Unexpected cast fail: from %p to %p", me, toType); in panic_crash_fail_cast() 471 panic("OSMetaClass::_RESERVEDOSMetaClass%d called", 0); in _RESERVEDOSMetaClass0() 476 panic("OSMetaClass::_RESERVEDOSMetaClass%d called", 1); in _RESERVEDOSMetaClass1() 481 panic("OSMetaClass::_RESERVEDOSMetaClass%d called", 2); in _RESERVEDOSMetaClass2() 486 panic("OSMetaClass::_RESERVEDOSMetaClass%d called", 3); in _RESERVEDOSMetaClass3() 491 panic("OSMetaClass::_RESERVEDOSMetaClass%d called", 4); in _RESERVEDOSMetaClass4() 496 panic("OSMetaClass::_RESERVEDOSMetaClass%d called", 5); in _RESERVEDOSMetaClass5() 501 panic("OSMetaClass::_RESERVEDOSMetaClass%d called", 6); in _RESERVEDOSMetaClass6() 506 panic("OSMetaClass::_RESERVEDOSMetaClass%d called", 7); in _RESERVEDOSMetaClass7() 891 panic( in postModLoad() [all …]
|
| H A D | OSCollectionIterator.cpp | 157 panic("unexpected storage type %u", storageType); in initializeIteratorStorage() 204 panic("unexpected storage type %u", storageType); in getIteratorStorage() 235 panic("unexpected storage type %u", storageType); in freeIteratorStorage() 292 panic("unexpected storage type %u", storageType); in setStorageType() 307 panic("cannot use inline storage on LP32"); in setStorageType() 310 panic("unexpected storage type %u", storageType); in setStorageType()
|
| /xnu-11215/osfmk/arm/pmap/ |
| H A D | pmap.c | 1869 panic("%s: failed pmap_enter, " in pmap_map() 1962 panic("pmap_map_bd"); in pmap_map_bd_with_options() 2039 panic("%s: area too large, " in pmap_map_high_window_bd() 2054 panic("%s: insufficient pages, " in pmap_map_high_window_bd() 6398 panic("%s: page belongs to PPL, " 6405 panic("%s: page locked down, " 7251 panic("%s: illegal request, " 7491 panic("%s: illegal request, " 9092 panic("%s: invalid address range, " 14750 panic("Failed to allocate pmap"); [all …]
|
| H A D | pmap_ppl_interface.c | 235 panic("%s: failed, no pages available? kr=%d", __func__, kr); in mapping_free_prime() 255 panic("%s: unsupported on non-PPL systems, size=%lu", __func__, size); in pmap_ledger_verify_size() 279 panic("%s: unsupported on non-PPL systems", __func__); in pmap_ledger_alloc() 300 panic("%s: unsupported on non-PPL systems, ledger=%p", __func__, ledger); in pmap_ledger_free()
|
| H A D | pmap_data.c | 1047 panic("%s: Unaligned address passed in, pa=0x%llx", in pmap_give_free_ppl_page() 1126 panic("%s: page locked down, pa=0x%llx", __func__, pa); in pmap_mark_page_as_ppl_page_internal() 1360 panic("%s: invalid size %u", __func__, size); in pmap_pages_alloc_zeroed() 1440 panic("%s: physical address is 0", __func__); in pmap_alloc_page_for_kern() 3065 panic("%s: pmap_ledger_ptr_array is full, index=%llu", in pmap_ledger_alloc_internal() 3448 panic("%s: pmap %p is not in use", func, pmap); in validate_user_pmap() 3592 panic("%s: %u addr 0x%llx is not page-aligned", in pmap_compute_io_rgns() 3597 panic("%s: %u length 0x%llx is not page-aligned", in pmap_compute_io_rgns() 3603 panic("%s: %u addr 0x%llx length 0x%llx wraps around", in pmap_compute_io_rgns() 3914 panic("%s: io filter entry %u and %u overlap.", in pmap_load_io_filters() [all …]
|
| /xnu-11215/osfmk/i386/ |
| H A D | cpu_threads.c | 527 panic("x86_die_alloc() alloc of x86_die_t failed!"); in x86_die_alloc() 1053 panic("Die(%d)->package is NULL", in x86_validate_topology() 1057 panic("Die %d points to package %d, should be %d", in x86_validate_topology() 1072 panic("Core(%d)->die is NULL", in x86_validate_topology() 1076 panic("Core %d points to die %d, should be %d", in x86_validate_topology() 1098 panic("CPU(%d)->die is NULL", in x86_validate_topology() 1102 panic("CPU %d points to die %d, should be %d", in x86_validate_topology() 1132 panic("Core(%d)->package is NULL", in x86_validate_topology() 1150 panic("CPU(%d)->core is NULL", in x86_validate_topology() 1154 panic("CPU %d points to core %d, should be %d", in x86_validate_topology() [all …]
|
| H A D | locks_i386.c | 425 panic("Lock not owned %p = %lx", lock, state); in lck_spin_assert() 481 panic("Spinlock[%p] " HW_SPIN_TIMEOUT_FMT " ;" in usimple_lock_acquire_timeout_panic() 754 panic("lock initialization: null lock pointer"); in usld_lock_init() 778 panic("%s: null lock pointer", caller); in usld_lock_common_checks() 821 panic("%s", caller); in usld_lock_pre() 848 panic("%s: lock %p became uninitialized", in usld_lock_post() 891 panic("%s: lock 0x%p hasn't been taken", in usld_unlock() 902 panic("%s", caller); in usld_unlock() 953 panic("%s: lock 0x%p became uninitialized", in usld_lock_try_post() 1867 panic("mutex (%p) not owned", lock); in lck_mtx_assert() [all …]
|
| /xnu-11215/bsd/netinet6/ |
| H A D | in6_cksum.c | 209 panic("%s: mbuf %p pkt too short (%d) for IPv6 header", in inet6_cksum() 252 panic("%s: off (%u) >= buffer_len (%u)", in inet6_cksum_buffer() 258 panic("%s: len == 0 OR len (%u) >= buffer_len (%u)", in inet6_cksum_buffer() 264 panic("%s: off(%u), len(%u) add overflow", in inet6_cksum_buffer() 270 panic("%s: off(%u) + len(%u) >= buffer_len (%u)", in inet6_cksum_buffer()
|
| /xnu-11215/osfmk/arm64/ |
| H A D | loose_ends.c | 331 panic("%s: paddr 0x%llx spans a page boundary", __func__, (uint64_t)paddr); in ml_phys_read_data() 390 panic("Invalid size %d for ml_phys_read_data", size); in ml_phys_read_data() 433 panic("Read from physical addr 0x%llx took %llu ns, " in ml_phys_read_data() 611 panic("Invalid size %d for ml_phys_write_data", size); in ml_phys_write_data() 652 panic("Write from physical addr 0x%llx took %llu ns, " in ml_phys_write_data() 839 panic("%s: no more than 1 parameter may be virtual", __func__); in copypv() 860 panic("clr_be_bit"); in clr_be_bit() 869 panic("ml_probe_read() unimplemented"); in ml_probe_read() 878 panic("ml_probe_read_64() unimplemented"); in ml_probe_read_64() 897 panic("Not yet implemented."); in panic_unimplemented() [all …]
|
| /xnu-11215/osfmk/vm/ |
| H A D | vm_dyld_pager.c | 258 panic("dyld_pager_data_return: should never happen!"); in dyld_pager_data_return() 268 panic("dyld_pager_data_initialize: should never happen"); in dyld_pager_data_initialize() 389 panic("%s(): out of range bind ordinal %u (max %u)", in fixupChain32() 505 panic("%s(): Invalid ptr auth key %d", __func__, key); in signPointer() 583 panic("%s(): out of range bind ordinal %u (max %u)", in fixupPageAuth64() 606 panic("%s(): out of range bind ordinal %u (max %u)", in fixupPageAuth64() 749 panic("%s(): seg_info out of bounds", __func__); in fixup_page() 765 panic("%s(): seg->size out of bounds", __func__); in fixup_page() 773 panic("%s(): seg->size too small", __func__); in fixup_page() 782 panic("%s(): seg->page_count out of bounds", __func__); in fixup_page() [all …]
|
| /xnu-11215/osfmk/arm/ |
| H A D | locks_arm.c | 268 panic("lck_spin_assert(): invalid arg (%u)", type); in lck_spin_assert() 342 panic("%s spinlock %p: <0x%016lx 0x%16lx>", in __lck_spin_invalid_panic() 401 panic("Invalid spinlock %p", lock); in lck_spin_assert() 408 panic("Lock not owned %p = %p", lock, holder); in lck_spin_assert() 411 panic("Lock not owned by current thread %p = %p", lock, holder); in lck_spin_assert() 415 panic("Lock owned by current thread %p = %p", lock, holder); in lck_spin_assert() 418 panic("lck_spin_assert(): invalid arg (%u)", type); in lck_spin_assert() 517 panic("panic: spinlock acquired check done outside of kernel debugger"); in kdp_lck_spin_is_acquired()
|
| /xnu-11215/osfmk/x86_64/ |
| H A D | loose_ends.c | 245 panic("bcopy_phys alignment"); in bcopy_phys() 263 panic("apply_func_phys alignment"); in apply_func_phys() 322 panic("%s: 0x%llx out of bounds", __FUNCTION__, paddr); in ml_phys_read_data() 352 panic("Invalid size %d for ml_phys_read_data", size); in ml_phys_read_data() 364 panic("Read from physical addr 0x%llx took %llu ns, " in ml_phys_read_data() 464 panic("%s: 0x%llx out of bounds", __FUNCTION__, paddr); in ml_phys_write_data() 492 panic("Invalid size %d for ml_phys_write_data", size); in ml_phys_write_data() 504 panic("Write to physical addr 0x%llx took %llu ns, " in ml_phys_write_data() 626 panic("Read from IO port 0x%x took %llu ns, " in ml_port_io_read() 687 panic("Write to IO port 0x%x took %llu ns, val: 0x%x" in ml_port_io_write() [all …]
|