Home
last modified time | relevance | path

Searched refs:__assert_only (Results 1 – 25 of 101) sorted by relevance

12345

/xnu-11215/osfmk/voucher/
H A Dipc_pthread_priority.c53 ipc_voucher_attr_manager_t __assert_only manager,
54 mach_voucher_attr_key_t __assert_only key,
60 ipc_voucher_attr_manager_t __assert_only manager,
61 mach_voucher_attr_key_t __assert_only key,
64 mach_msg_type_number_t __assert_only prev_value_count,
73 ipc_voucher_attr_manager_t __assert_only manager,
74 mach_voucher_attr_key_t __assert_only key,
83 ipc_voucher_attr_manager_t __assert_only manager,
84 mach_voucher_attr_key_t __assert_only key,
216 ipc_voucher_attr_manager_t __assert_only manager, in ipc_pthread_priority_extract_content()
[all …]
/xnu-11215/osfmk/kern/
H A Dassert.h143 #define __assert_only macro
151 #define __assert_only
157 #define __assert_only __unused
H A Dturnstile.h682 int hop __assert_only,
683 turnstile_stats_update_flags_t flags __assert_only,
684 turnstile_inheritor_t inheritor __assert_only);
H A Dexclaves.c896 __assert_only processor_t old = thread_bind(processor); in bind_to_boot_core()
1068 __assert_only thread_t thread = current_thread(); in exclaves_enter()
1081 __assert_only const thread_exclaves_state_flags_t mask = ( in exclaves_enter()
1531 __assert_only ctid_t ctid = thread_get_ctid(current_thread()); in handle_response_yield()
1552 handle_response_spawned(__assert_only Exclaves_L4_Word_t scid, in handle_response_spawned()
1557 __assert_only ctid_t ctid = thread_get_ctid(thread); in handle_response_spawned()
1587 __assert_only ctid_t ctid = thread_get_ctid(current_thread()); in handle_response_terminated()
1607 __assert_only ctid_t ctid = thread_get_ctid(thread); in handle_response_wait()
1680 __assert_only ctid_t ctid = thread_get_ctid(current_thread()); in handle_response_wake()
1711 __assert_only ctid_t ctid = thread_get_ctid(current_thread()); in handle_response_wake_with_owner()
[all …]
H A Dlocks.c831 hw_lock_assert(__assert_only hw_lock_t lock, __assert_only unsigned int type) in hw_lock_assert()
2811 lck_rw_gate_try_close(__assert_only lck_rw_t *lock, gate_t *gate) in lck_rw_gate_try_close()
2835 lck_rw_gate_close(__assert_only lck_rw_t *lock, gate_t *gate) in lck_rw_gate_close()
2856 lck_rw_gate_open(__assert_only lck_rw_t *lock, gate_t *gate) in lck_rw_gate_open()
2889 lck_rw_gate_handoff(__assert_only lck_rw_t *lock, gate_t *gate, gate_handoff_flags_t flags) in lck_rw_gate_handoff()
2916 lck_rw_gate_steal(__assert_only lck_rw_t *lock, gate_t *gate) in lck_rw_gate_steal()
2997 lck_rw_gate_assert(__assert_only lck_rw_t *lock, gate_t *gate, gate_assert_flags_t flags) in lck_rw_gate_assert()
3102 lck_mtx_gate_try_close(__assert_only lck_mtx_t *lock, gate_t *gate) in lck_mtx_gate_try_close()
3126 lck_mtx_gate_close(__assert_only lck_mtx_t *lock, gate_t *gate) in lck_mtx_gate_close()
3147 lck_mtx_gate_open(__assert_only lck_mtx_t *lock, gate_t *gate) in lck_mtx_gate_open()
[all …]
H A Dwork_interval.c259__assert_only work_interval_auto_join_status_t old_status = os_atomic_add_orig(&join_info->status,… in work_interval_auto_join_increment()
466 __assert_only kern_return_t kr = thread_set_work_interval(to, from->th_work_interval, in work_interval_auto_join_propagate()
481 __assert_only kern_return_t kr = thread_set_work_interval(thread, NULL, in work_interval_auto_join_unwind()
499 __assert_only kern_return_t kr = thread_set_work_interval(thread, NULL, in work_interval_auto_join_demote()
506 __assert_only mpsc_daemon_queue_t dq) in work_interval_deallocate_queue_invoke()
H A Dtest_mpsc_queue.c48 mpsc_test_pingpong_invoke(mpsc_queue_chain_t elm, __assert_only mpsc_daemon_queue_t dq) in mpsc_test_pingpong_invoke()
H A Dexclaves_sensor.c148 __assert_only uint64_t flags, exclaves_sensor_status_t *status) in exclaves_eic_sensor_start()
165 __assert_only uint64_t flags, exclaves_sensor_status_t *status) in exclaves_eic_sensor_status()
H A Dthread_group.c92 __assert_only mpsc_daemon_queue_t dq);
603 thread_group_deallocate_queue_invoke(mpsc_queue_chain_t e, __assert_only mpsc_daemon_queue_t dq) in thread_group_deallocate_queue_invoke()
692 __assert_only struct thread_group *home_tg = thread_group_get_home_group(t); in thread_assert_has_valid_thread_group()
696 __assert_only struct thread_group *resolved_tg; in thread_assert_has_valid_thread_group()
H A Dexclaves_inspection.c242 __assert_only size_t len = 0; in collect_scid_list()
554 __assert_only size_t len = 0; in kdp_read_panic_exclaves_stackshot()
/xnu-11215/osfmk/tests/
H A Dbitmap_test.c189 __assert_only bool changed = bit_set_if_clear(map, i); in test_bits()
194 __assert_only bool changed = bit_set_if_clear(map, i); in test_bits()
199 __assert_only bool changed = bit_clear_if_set(map, i); in test_bits()
204 __assert_only bool changed = bit_clear_if_set(map, i); in test_bits()
/xnu-11215/osfmk/bank/
H A Dbank.c133 ipc_voucher_attr_manager_t __assert_only manager,
134 mach_voucher_attr_key_t __assert_only key,
140 ipc_voucher_attr_manager_t __assert_only manager,
141 mach_voucher_attr_key_t __assert_only key,
144 mach_msg_type_number_t __assert_only prev_value_count,
153 ipc_voucher_attr_manager_t __assert_only manager,
154 mach_voucher_attr_key_t __assert_only key,
163 ipc_voucher_attr_manager_t __assert_only manager,
164 mach_voucher_attr_key_t __assert_only key,
644 ipc_voucher_attr_manager_t __assert_only manager, in bank_extract_content()
[all …]
/xnu-11215/iokit/Tests/
H A DTests.cpp905 __assert_only OSNumber * nnum = OSDynamicCast(OSNumber, dict->getObject("test")); in OSCollectionTest()
926 for (__assert_only int& i : ints) { in OSAllocationTests()
934 for (__assert_only const auto& i : arrayZero) { in OSAllocationTests()
975 for (__assert_only const int& i : ints) { in OSDataAllocationTests()
983 for (__assert_only const auto& i : arrayZero) { in OSDataAllocationTests()
1005 for (__assert_only int& i : ints) { in OSBoundedArrayTests()
1030 for (__assert_only int& i : ints) { in OSBoundedArrayRefTests()
1464 __assert_only OSDictionary* oldDict = dict.get(); in OSStaticPtrCastTests()
1465__assert_only OSSharedPtr<OSCollection> collection = OSStaticPtrCast<OSCollection>(os::move(dict)); in OSStaticPtrCastTests()
1505 __assert_only OSDictionary const* oldDict = dict.get(); in OSConstPtrCastTests()
[all …]
/xnu-11215/osfmk/ipc/
H A Dipc_hash.c274 __assert_only ipc_entry_t entry) in ipc_hash_table_insert()
332 __assert_only ipc_entry_t entry) in ipc_hash_table_delete()
H A Dipc_voucher.c2474 ipc_voucher_attr_manager_t __assert_only manager, in user_data_release_value()
2475 mach_voucher_attr_key_t __assert_only key, in user_data_release_value()
2601 ipc_voucher_attr_manager_t __assert_only manager, in user_data_get_value()
2602 mach_voucher_attr_key_t __assert_only key, in user_data_get_value()
2664 ipc_voucher_attr_manager_t __assert_only manager, in user_data_extract_content()
2665 mach_voucher_attr_key_t __assert_only key, in user_data_extract_content()
2698 ipc_voucher_attr_manager_t __assert_only manager, in user_data_command()
2699 mach_voucher_attr_key_t __assert_only key, in user_data_command()
H A Dipc_importance.c3366 ipc_importance_assert_clean(__assert_only ipc_kmsg_t kmsg) in ipc_importance_assert_clean()
3441 ipc_voucher_attr_manager_t __assert_only manager, in ipc_importance_release_value()
3442 mach_voucher_attr_key_t __assert_only key, in ipc_importance_release_value()
3518 ipc_voucher_attr_manager_t __assert_only manager, in ipc_importance_get_value()
3519 mach_voucher_attr_key_t __assert_only key, in ipc_importance_get_value()
3599 ipc_voucher_attr_manager_t __assert_only manager, in ipc_importance_extract_content()
3600 mach_voucher_attr_key_t __assert_only key, in ipc_importance_extract_content()
3680 ipc_voucher_attr_manager_t __assert_only manager, in ipc_importance_command()
3681 mach_voucher_attr_key_t __assert_only key, in ipc_importance_command()
H A Dipc_pset.c174 __assert_only ipc_space_t space) in ipc_pset_alloc_special()
865 filt_psetevent(struct knote *kn __unused, long hint __assert_only) in filt_psetevent() argument
882 filt_portevent(struct knote *kn, long hint __assert_only) in filt_portevent() argument
/xnu-11215/osfmk/arm64/
H A Darm64_hypercall.c279 __assert_only const bool success = hvc_2(&x0, &x1); in hvg_hc_kick_cpu()
289 __assert_only const bool success = hvc_2(&x0, &x1); in hvg_hc_wait_for_kick()
H A Dbsd_arm64.c298 prior __assert_only = thread_get_kernel_state(current_thread())->allocation_name; in mach_syscall() local
/xnu-11215/osfmk/i386/
H A Dbsd_i386.c372 prior __assert_only = thread_get_kernel_state(current_thread())->allocation_name; in machdep_syscall() local
446 prior __assert_only = thread_get_kernel_state(current_thread())->allocation_name; in machdep_syscall64() local
603 prior __assert_only = thread_get_kernel_state(current_thread())->allocation_name; in mach_call_munger() local
720 prior __assert_only = thread_get_kernel_state(current_thread())->allocation_name; in mach_call_munger64() local
/xnu-11215/bsd/dev/i386/
H A Dsystemcalls.c243 prior __assert_only = thread_set_allocation_name(NULL); in unix_syscall() local
452 prior __assert_only = thread_set_allocation_name(NULL); in unix_syscall64() local
586 prior __assert_only = thread_set_allocation_name(NULL); in unix_syscall_return() local
/xnu-11215/osfmk/prng/
H A Dentropy.c277 entropy_filter(uint32_t sample_count, entropy_sample_t *samples, __assert_only uint32_t filter_coun… in entropy_filter()
441 entropy_health_test(uint32_t sample_count, entropy_sample_t *samples, __assert_only uint32_t filter… in entropy_health_test()
/xnu-11215/bsd/dev/
H A Dmonotonic.c92 mt_device_assert_lock_held(__assert_only mt_device_t dev) in mt_device_assert_lock_held()
98 mt_device_assert_inuse(__assert_only mt_device_t dev) in mt_device_assert_inuse()
/xnu-11215/tests/sched/sched_test_harness/shadow_headers/
H A Dmisc_needed_deps.c75 thread_assert_runq_null(__assert_only thread_t thread) in thread_assert_runq_null()
/xnu-11215/bsd/dev/arm/
H A Dsystemcalls.c203 prior __assert_only = thread_set_allocation_name(NULL); in unix_syscall() local
258 prior __assert_only = thread_set_allocation_name(NULL); in unix_syscall_return() local

12345