Lines Matching defs:holder
1428 * and then we can return as the exclusive holder of this lock
1925 * the holder is running on another processor. We spin for up to a maximum
1931 * returns 2 if we didn't spin due to the holder not running
1937 thread_t holder;
1961 if ((holder = (thread_t) mutex->lck_mtx_owner) != NULL) {
1963 if ( !(holder->machine.specFlags & OnProc) ||
1964 (holder->state & TH_IDLE)) {
2020 thread_t holder;
2044 if ( (holder = (thread_t)mutex->lck_mtx_owner) &&
2045 holder->sched_pri < mutex->lck_mtx_pri ) {
2048 thread_lock(holder);
2050 if (holder->sched_pri < mutex->lck_mtx_pri) {
2053 holder->sched_pri, priority, thread_tid(holder), mutex, 0);
2055 set_sched_pri(holder, priority);
2058 holder->promotions++;
2059 holder->sched_flags |= TH_SFLAG_PROMOTED;
2064 thread_unlock(holder);