Searched refs:preemption_count (Results 1 – 8 of 8) sorted by relevance
| /xnu-8020.140.41/osfmk/arm/ |
| H A D | locks.h | 223 …unsigned int const count = t->machine.preemption_count; … 224 …os_atomic_store(&(t->machine.preemption_count), t->machine.preemption_count + 1, compiler_acq_rel)… 234 os_atomic_store(&(t->machine.preemption_count), t->machine.preemption_count + 1, compiler_acq_rel) 239 #define lock_preemption_disabled_for_thread(t) (t->machine.preemption_count > 0)
|
| H A D | arm_init.c | 437 thread->machine.preemption_count = 0; in arm_init() 674 if (cpu_data_ptr->cpu_active_thread->machine.preemption_count != expected_preemption_count) { in arm_init_cpu() 676 cpu_data_ptr->cpu_active_thread->machine.preemption_count, in arm_init_cpu() 679 cpu_data_ptr->cpu_active_thread->machine.preemption_count--; in arm_init_cpu()
|
| H A D | locks_arm.c | 421 unsigned int count = thread->machine.preemption_count; in _disable_preemption() 427 os_atomic_store(&thread->machine.preemption_count, count, compiler_acq_rel); in _disable_preemption() 546 unsigned int count = thread->machine.preemption_count; in _enable_preemption() 559 os_atomic_store(&thread->machine.preemption_count, count, compiler_acq_rel); in _enable_preemption() 576 return current_thread()->machine.preemption_count; in get_preemption_level()
|
| H A D | thread.h | 164 unsigned int preemption_count; /* preemption count */ member
|
| H A D | pcb.c | 168 thread->machine.preemption_count = 0; in machine_thread_create()
|
| H A D | genassym.c | 139 DECLARE("ACT_PREEMPT_CNT", offsetof(struct thread, machine.preemption_count)); in main()
|
| /xnu-8020.140.41/osfmk/arm64/ |
| H A D | genassym.c | 130 DECLARE("ACT_PREEMPT_CNT", offsetof(struct thread, machine.preemption_count)); in main()
|
| H A D | pcb.c | 217 thread->machine.preemption_count = 0; in machine_thread_create()
|