Lines Matching refs:contextFetcher

522 	UserMutexContextFetcher contextFetcher(mutex, flags);  in user_mutex_lock()  local
523 if (contextFetcher.InitCheck() != B_OK) in user_mutex_lock()
524 return contextFetcher.InitCheck(); in user_mutex_lock()
527 UserMutexEntry* entry = get_user_mutex_entry(contextFetcher.Context(), in user_mutex_lock()
528 contextFetcher.Address()); in user_mutex_lock()
535 flags, timeout, entryLocker, contextFetcher.IsWired()); in user_mutex_lock()
537 put_user_mutex_entry(contextFetcher.Context(), entry); in user_mutex_lock()
616 UserMutexContextFetcher contextFetcher(mutex, flags); in _user_mutex_unblock() local
617 if (contextFetcher.InitCheck() != B_OK) in _user_mutex_unblock()
618 return contextFetcher.InitCheck(); in _user_mutex_unblock()
619 struct user_mutex_context* context = contextFetcher.Context(); in _user_mutex_unblock()
625 contextFetcher.Address(), true, true); in _user_mutex_unblock()
627 user_atomic_and(mutex, ~(int32)B_USER_MUTEX_WAITING, contextFetcher.IsWired()); in _user_mutex_unblock()
631 user_mutex_unblock(entry, mutex, flags, contextFetcher.IsWired()); in _user_mutex_unblock()
663 UserMutexContextFetcher contextFetcher(sem, flags); in _user_mutex_sem_acquire() local
664 if (contextFetcher.InitCheck() != B_OK) in _user_mutex_sem_acquire()
665 return contextFetcher.InitCheck(); in _user_mutex_sem_acquire()
666 struct user_mutex_context* context = contextFetcher.Context(); in _user_mutex_sem_acquire()
668 UserMutexEntry* entry = get_user_mutex_entry(context, contextFetcher.Address()); in _user_mutex_sem_acquire()
675 flags | B_CAN_INTERRUPT, timeout, entryLocker, contextFetcher.IsWired()); in _user_mutex_sem_acquire()
689 UserMutexContextFetcher contextFetcher(sem, flags); in _user_mutex_sem_release() local
690 if (contextFetcher.InitCheck() != B_OK) in _user_mutex_sem_release()
691 return contextFetcher.InitCheck(); in _user_mutex_sem_release()
692 struct user_mutex_context* context = contextFetcher.Context(); in _user_mutex_sem_release()
695 contextFetcher.Address()); in _user_mutex_sem_release()
697 user_mutex_sem_release(entry, sem, contextFetcher.IsWired()); in _user_mutex_sem_release()