Home
last modified time | relevance | path

Searched refs:rwlock_count (Results 1 – 7 of 7) sorted by relevance

/xnu-11215/osfmk/kern/
H A Dast.c371 if (thread->rwlock_count > 0) { in ast_taken_user()
372 …panic("rwlock_count is %d for thread %p, possibly it still holds a rwlock", thread->rwlock_count, … in ast_taken_user()
H A Dlock_rw.c2848 assert(thread->rwlock_count > 0); in lck_rw_set_promotion_locked()
2859 if (thread->rwlock_count++ == 0) { in lck_rw_lock_count_inc()
2883 uint32_t rwlock_count = thread->rwlock_count--; in lck_rw_lock_count_dec() local
2885 if (rwlock_count == 0) { in lck_rw_lock_count_dec()
2889 if (__probable(rwlock_count == 1)) { in lck_rw_lock_count_dec()
H A Dthread_act.c1271 thread->rwlock_count > 0) { in thread_debug_return_to_user_ast()
1272 …held, thread %p sched_flag %u rwlock_count %d", thread, thread->sched_flags, thread->rwlock_count); in thread_debug_return_to_user_ast()
H A Dthread.h575 uint32_t rwlock_count; /* Number of lck_rw_t locks held by thread */ member
H A Dthread.c723 if (thread->rwlock_count > 0) { in thread_terminate_self()
724 …panic("rwlock_count is %d for thread %p, possibly it still holds a rwlock", thread->rwlock_count, … in thread_terminate_self()
H A Dsched_prim.c3712 if (__improbable(thread->rwlock_count != 0)) { in thread_dispatch()
3733 if (__improbable(thread->rwlock_count != 0)) { in thread_dispatch()
/xnu-11215/tools/lldbmacros/
H A Dmemory.py2544 if thread.rwlock_count == 0:
2548 out += "{:>19d} ".format(thread.rwlock_count)
2553 if thread.rwlock_count == 0 and rw_locks_held.rwld_locks_acquired == 0:
2558 out += "{:>19d} ".format(thread.rwlock_count)