Searched refs:mutex (Results 1 – 8 of 8) sorted by relevance
| /lib/ |
| D | test_hmm.c | 94 struct mutex mutex; member 117 struct mutex devmem_lock; /* protects the above */ 172 mutex_init(&dmirror->mutex); in dmirror_fops_open() 272 mutex_lock(&dmirror->mutex); in dmirror_interval_invalidate() 273 else if (!mutex_trylock(&dmirror->mutex)) in dmirror_interval_invalidate() 279 mutex_unlock(&dmirror->mutex); in dmirror_interval_invalidate() 311 mutex_lock(&dmirror->mutex); in dmirror_range_fault() 314 mutex_unlock(&dmirror->mutex); in dmirror_range_fault() 322 mutex_unlock(&dmirror->mutex); in dmirror_range_fault() 403 mutex_lock(&dmirror->mutex); in dmirror_read() [all …]
|
| D | test_lockup.c | 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()
|
| D | refcount.c | 113 bool refcount_dec_and_mutex_lock(refcount_t *r, struct mutex *lock) in refcount_dec_and_mutex_lock()
|
| D | rhashtable.c | 49 return (debug_locks) ? lockdep_is_held(&ht->mutex) : 1; in lockdep_rht_mutex_is_held() 421 mutex_lock(&ht->mutex); in rht_deferred_worker() 440 mutex_unlock(&ht->mutex); in rht_deferred_worker() 1038 mutex_init(&ht->mutex); in rhashtable_init_noprof() 1153 mutex_lock(&ht->mutex); in rhashtable_free_and_destroy() 1178 mutex_unlock(&ht->mutex); in rhashtable_free_and_destroy()
|
| D | test_kmod.c | 127 struct mutex config_mutex; 128 struct mutex trigger_mutex; 129 struct mutex thread_mutex; 667 static ssize_t config_test_show_str(struct mutex *config_mutex, in config_test_show_str()
|
| D | locking-selftest.c | 157 struct mutex *mutex, struct rw_semaphore *rwsem)\ 161 mutex_init(mutex); \ 2572 GENERATE_2_CONTEXT_TESTCASE(mutex, &mutex_A, inner, inner_lock) 2577 GENERATE_2_CONTEXT_TESTCASE_FOR_ALL_OUTER(mutex, &mutex_B) 2643 DO_CONTEXT_TESTCASE_OUTER_PREEMPTIBLE(mutex);
|
| D | test_rhashtable.c | 480 mutex_lock(&ht->mutex); in print_ht() 514 mutex_unlock(&ht->mutex); in print_ht()
|
| D | Kconfig.debug | 1276 the mutex lock which "hung tasks" are waiting. 1278 call trace if it comes from waiting a mutex. 1471 This allows rt mutex semantics violations and rt mutex related 1488 This feature allows mutex semantics violations to be detected and 1492 bool "Wait/wound mutex debugging: Slowpath testing" 1499 This feature enables slowpath testing for w/w mutex users by 1501 the full mutex checks enabled with (CONFIG_PROVE_LOCKING) this 1502 will test all possible w/w mutex interface abuse with the 1525 mutex or rwsem) is incorrectly freed by the kernel, via any of the 1627 tristate "Wait/wound mutex selftests"
|