| /xnu-12377.81.4/osfmk/kern/ |
| H A D | bits.h | 49 typedef unsigned int uint; typedef 65 bit_ror64(uint64_t bitmap, uint n) in bit_ror64() 71 bit_rol64(uint64_t bitmap, uint n) in bit_rol64() 195 #define BITMAP_LEN(n) (((uint)(n) + 63) >> 6) /* Round to 64bit bitmap_t */ 201 bitmap_zero(bitmap_t *__header_indexable map, uint nbits) in bitmap_zero() 208 bitmap_full(bitmap_t *__header_indexable map, uint nbits) in bitmap_full() 210 uint i; in bitmap_full() 216 uint nbits_filled = i * 64; in bitmap_full() 226 bitmap_is_empty(bitmap_t *__header_indexable map, uint nbits) in bitmap_is_empty() 228 for (uint i = 0; i < BITMAP_LEN(nbits); i++) { in bitmap_is_empty() [all …]
|
| H A D | thread_group.c | 1363 for (uint src = 0; src < num_psets; src++) { in sched_perfcontrol_edge_matrix_by_qos_get() 1364 for (uint dst = 0; dst < num_psets; dst++) { in sched_perfcontrol_edge_matrix_by_qos_get() 1376 for (uint src = 0; src < num_psets; src++) { in sched_perfcontrol_edge_matrix_by_qos_get() 1377 for (uint dst = 0; dst < num_psets; dst++) { in sched_perfcontrol_edge_matrix_by_qos_get() 1406 for (uint src = 0; src < num_psets; src++) { in sched_perfcontrol_edge_matrix_by_qos_set() 1407 for (uint dst = 0; dst < num_psets; dst++) { in sched_perfcontrol_edge_matrix_by_qos_set()
|
| H A D | processor.c | 267 uint cpuid = (uint)processor->cpu_id; in processor_update_offline_state_locked() 706 for (uint i = 0; i < PROCESSOR_STATE_LEN; i++) { in pset_init() 888 pset_update_processor_state(processor_set_t pset, processor_t processor, uint new_state) in pset_update_processor_state() 892 uint old_state = processor->state; in pset_update_processor_state() 893 uint cpuid = (uint)processor->cpu_id; in pset_update_processor_state()
|
| H A D | processor.h | 794 pset_update_processor_state(processor_set_t pset, processor_t processor, uint new_state);
|
| H A D | sched_rt.c | 257 uint num_spill_datas = 0, num_steal_datas = 0; in sched_rt_config_pset_push()
|
| H A D | locks.c | 2583 gate_init(gate_t *gate, uint type) in gate_init()
|
| H A D | zalloc.c | 10635 for (uint i = 0; i < N_ALLOCATIONS; ++i) { in run_kalloc_guard_insertion_test() 10647 for (uint i = 0; i < N_ALLOCATIONS; i++) { in run_kalloc_guard_insertion_test() 10681 for (uint j = 0; j < chunk_pages; j++) { in run_kalloc_guard_insertion_test() 10706 for (uint i = 0; i < N_ALLOCATIONS; ++i) { in run_kalloc_guard_insertion_test()
|
| /xnu-12377.81.4/osfmk/tests/ |
| H A D | bitmap_test.c | 37 extern void dump_bitmap_next(bitmap_t *map, uint nbits); 38 extern void dump_bitmap_lsb(bitmap_t *map, uint nbits); 44 dump_bitmap_next(bitmap_t *map, uint nbits) in dump_bitmap_next() 53 dump_bitmap_lsb(bitmap_t *map, uint nbits) in dump_bitmap_lsb() 71 uint start = 60; in test_bitmap() 72 for (uint nbits = start; nbits <= 192; nbits++) { in test_bitmap() 75 for (uint i = 0; i < nbits; i++) { in test_bitmap() 109 for (uint i = 0; i < nbits; i++) { in test_bitmap() 116 for (uint i = 0; i < nbits; i++) { in test_bitmap() 159 for (uint i = 0; i < nbits; i++) { in test_bitmap() [all …]
|
| H A D | kernel_tests.c | 1066 uint i; in start_threads() 1114 uint i, j; in wait_for_waiters() 1154 uint i, j; in exclude_current_waiter() 1499 uint my_pri = current_thread()->sched_pri; in thread_inheritor_like_mutex() 1550 uint my_pri = current_thread()->sched_pri; in thread_just_inheritor_do_work() 1551 uint max_pri; in thread_just_inheritor_do_work() 1566 …T_ASSERT((uint) current_thread()->sched_pri == max_pri, "sleep_inheritor inheritor priority curren… in thread_just_inheritor_do_work() 1590 uint my_pri = current_thread()->sched_pri; in thread_steal_work() 1624 …T_ASSERT((uint) current_thread()->sched_pri == info->steal_pri, "sleep_inheritor inheritor priorit… in thread_steal_work() 1651 uint my_pri = current_thread()->sched_pri; in thread_no_inheritor_work() [all …]
|
| /xnu-12377.81.4/tests/ |
| H A D | turnstile_multihop_helper.h | 76 ull_lock(lock_t *lock, int id, uint opcode, uint flags) in ull_lock() 152 ull_unlock(lock_t *lock, int id, uint opcode, uint flags) in ull_unlock() 174 flags &= ~(uint)ULF_WAKE_THREAD; in ull_unlock() 181 flags &= ~(uint)ULF_WAKE_THREAD; in ull_unlock()
|
| H A D | ecc_test.c | 162 uint value; in cleanup_ecc_test() 178 uint value = 0; in run_test() 184 value = (uint)use_dcs; in run_test()
|
| H A D | turnstile_multihop_types.h | 26 typedef u32 uint; typedef
|
| H A D | arm_mte_mach_msg.c | 351 for (uint i = 0; i < msg.dsc.size / sizeof(uint64_t); ++i) { in receive_ool_memory()
|
| H A D | arm_mte.c | 716 for (uint i = 0; i < sz_rounded / sizeof(uint64_t); ++i) { in mte_mach_vm_read() 1363 for (uint i = 0; i < PAGE_SIZE / MTE_GRANULE_SIZE; ++i) {
|
| /xnu-12377.81.4/tests/sched/ |
| H A D | rt_migration.c | 156 for (uint src_id = 0; src_id < dual_die.num_psets; src_id++) { 157 for (uint dst_id = 0; dst_id < dual_die.num_psets; dst_id++) { 314 for (uint stealing_pset_id = 0; stealing_pset_id < topo.num_psets; stealing_pset_id++) { 316 for (uint off = 1; off < topo.num_psets; off++) { 317 uint other_pset_id = (stealing_pset_id + off) % topo.num_psets;
|
| /xnu-12377.81.4/bsd/sys/ |
| H A D | user.h | 191 uint flags; 209 uint nbytes; /* number of bytes in ibits and obits */
|
| H A D | types.h | 93 typedef unsigned int uint; /* Sys V compatibility */ typedef
|
| H A D | sysctl.h | 563 X(uint, unsigned int) \
|
| /xnu-12377.81.4/bsd/kern/ |
| H A D | sys_ulock.c | 175 uint ull_bucket_index; 360 uint i = ULL_INDEX(key); in ull_get() 522 uint flags = args->operation & UL_FLAGS_MASK; in sys_ulock_wait2() 869 uint flags = uthread->uu_save.uus_ulock_wait_data.flags; in ulock_wait_continue() 920 uint flags = operation & UL_FLAGS_MASK; in ulock_wake()
|
| /xnu-12377.81.4/bsd/tests/ |
| H A D | copyio_tests.c | 452 copyin_atomic_test((data), uint ## size ## _t, copyin_atomic ## size, \ 454 copyout_atomic_test((data), uint ## size ## _t, copyout_atomic ## size, \
|
| /xnu-12377.81.4/osfmk/prng/ |
| H A D | entropy.c | 303 for (uint i = 2; i < sample_count; i++) { in entropy_filter()
|
| /xnu-12377.81.4/osfmk/arm64/ |
| H A D | platform_tests.c | 322 uint local_counter = 0; in lt_stress_ticket_lock() 324 uint cpuid = cpu_number(); in lt_stress_ticket_lock() 958 uint thread_count = 0; in lt_test_locks() 966 uint total_local_count = 0; in lt_test_locks()
|
| /xnu-12377.81.4/bsd/nfs/ |
| H A D | nfs_syscalls.c | 1323 uint pos; in nfssvc_exportstats() 1328 uint numExports, totlen, count; in nfssvc_exportstats() 1480 uint bytes_total, recs_copied, pos; in nfssvc_userstats()
|
| /xnu-12377.81.4/osfmk/vm/ |
| H A D | vm_mteinfo.c | 3318 bitmap_set(vm_mte_tag_storage_for_vm_tags_mask, (uint)i); in mteinfo_tag_storage_process_vm_tags() 3432 return bitmap_test(vm_mte_tag_storage_for_vm_tags_mask, (uint)vm_tag); in mteinfo_vm_tag_can_use_tag_storage()
|
| /xnu-12377.81.4/osfmk/i386/ |
| H A D | locks_i386.c | 1901 uint prev_owner_cpu; in lck_mtx_lock_spinwait_x86()
|