Searched refs:mutex (Results 1 – 8 of 8) sorted by relevance
70 struct mutex mutex; member91 struct mutex devmem_lock; /* protects the above */131 mutex_init(&dmirror->mutex); in dmirror_fops_open()227 mutex_lock(&dmirror->mutex); in dmirror_interval_invalidate()228 else if (!mutex_trylock(&dmirror->mutex)) in dmirror_interval_invalidate()234 mutex_unlock(&dmirror->mutex); in dmirror_interval_invalidate()266 mutex_lock(&dmirror->mutex); in dmirror_range_fault()269 mutex_unlock(&dmirror->mutex); in dmirror_range_fault()277 mutex_unlock(&dmirror->mutex); in dmirror_range_fault()361 mutex_lock(&dmirror->mutex); in dmirror_read()[all …]
179 mutex_lock((struct mutex *)lock_mutex_ptr); in test_lock()297 mutex_unlock((struct mutex *)lock_mutex_ptr); in test_unlock()483 test_kernel_ptr(lock_mutex_ptr, sizeof(struct mutex)) || in test_lockup_init()496 offsetof(struct mutex, rtmutex.wait_lock.magic), in test_lockup_init()510 offsetof(struct mutex, wait_lock.magic), in test_lockup_init()
113 bool refcount_dec_and_mutex_lock(refcount_t *r, struct mutex *lock) in refcount_dec_and_mutex_lock()
49 return (debug_locks) ? lockdep_is_held(&ht->mutex) : 1; in lockdep_rht_mutex_is_held()414 mutex_lock(&ht->mutex); in rht_deferred_worker()433 mutex_unlock(&ht->mutex); in rht_deferred_worker()1026 mutex_init(&ht->mutex); in rhashtable_init()1139 mutex_lock(&ht->mutex); in rhashtable_free_and_destroy()1164 mutex_unlock(&ht->mutex); in rhashtable_free_and_destroy()
134 struct mutex config_mutex;135 struct mutex trigger_mutex;136 struct mutex thread_mutex;674 static ssize_t config_test_show_str(struct mutex *config_mutex, in config_test_show_str()
495 mutex_lock(&ht->mutex); in print_ht()529 mutex_unlock(&ht->mutex); in print_ht()
151 struct mutex *mutex, struct rw_semaphore *rwsem)\155 mutex_init(mutex); \2515 static void mutex_exit(struct mutex **lock) in mutex_exit()2521 struct mutex *mutex_guard_##name __guard(mutex_exit) = &(lock); \
1346 This allows rt mutex semantics violations and rt mutex related1363 This feature allows mutex semantics violations to be detected and1367 bool "Wait/wound mutex debugging: Slowpath testing"1374 This feature enables slowpath testing for w/w mutex users by1376 the full mutex checks enabled with (CONFIG_PROVE_LOCKING) this1377 will test all possible w/w mutex interface abuse with the1400 mutex or rwsem) is incorrectly freed by the kernel, via any of the1502 tristate "Wait/wound mutex selftests"