holder 52 sys/include/sync.h thread_t holder; /* thread that holds the mutex */ holder 107 sys/sync/mutex.c m->holder = NULL; holder 152 sys/sync/mutex.c if (m->holder || event_waiting(&m->event)) { holder 198 sys/sync/mutex.c if (m->holder == curthread) { holder 210 sys/sync/mutex.c if (m->holder == NULL) holder 230 sys/sync/mutex.c m->holder = curthread; holder 252 sys/sync/mutex.c if (m->holder == curthread) { holder 256 sys/sync/mutex.c if (m->holder != NULL) holder 260 sys/sync/mutex.c m->holder = curthread; holder 284 sys/sync/mutex.c if (m->holder != curthread || m->locks <= 0) { holder 295 sys/sync/mutex.c m->holder = sched_wakeone(&m->event); holder 296 sys/sync/mutex.c if (m->holder) holder 297 sys/sync/mutex.c m->holder->mutex_waiting = NULL; holder 299 sys/sync/mutex.c m->priority = m->holder ? m->holder->priority : MINPRI; holder 320 sys/sync/mutex.c thread_t holder; holder 338 sys/sync/mutex.c holder = sched_wakeone(&m->event); holder 339 sys/sync/mutex.c if (holder) { holder 340 sys/sync/mutex.c holder->mutex_waiting = NULL; holder 342 sys/sync/mutex.c list_insert(&holder->mutexes, &m->link); holder 344 sys/sync/mutex.c m->holder = holder; holder 421 sys/sync/mutex.c thread_t holder; holder 425 sys/sync/mutex.c holder = m->holder; holder 431 sys/sync/mutex.c if (holder == waiter) { holder 433 sys/sync/mutex.c (long)m, (long)holder, (long)waiter)); holder 441 sys/sync/mutex.c if (holder->priority > waiter->priority) { holder 442 sys/sync/mutex.c sched_setpri(holder, holder->basepri, waiter->priority); holder 449 sys/sync/mutex.c m = (mutex_t)holder->mutex_waiting;