Searched refs:atomic_dec_and_mutex_lock (Results 1 – 13 of 13) sorted by relevance
/Linux-v4.19/include/linux/ |
D | mutex.h | 199 extern int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock);
|
/Linux-v4.19/kernel/events/ |
D | callchain.c | 147 if (atomic_dec_and_mutex_lock(&nr_callchain_events, &callchain_mutex)) { in put_callchain_buffers()
|
D | core.c | 5451 atomic_dec_and_mutex_lock(&rb->aux_mmap_count, &event->mmap_mutex)) { in perf_mmap_close() 5473 if (!atomic_dec_and_mutex_lock(&event->mmap_count, &event->mmap_mutex)) in perf_mmap_close()
|
/Linux-v4.19/kernel/locking/ |
D | mutex.c | 1430 int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock) in atomic_dec_and_mutex_lock() function 1445 EXPORT_SYMBOL(atomic_dec_and_mutex_lock);
|
/Linux-v4.19/Documentation/core-api/ |
D | refcount-vs-atomic.rst | 145 * :c:func:`atomic_dec_and_mutex_lock` --> :c:func:`refcount_dec_and_mutex_lock`
|
/Linux-v4.19/Documentation/locking/ |
D | mutex-design.txt | 121 int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock);
|
/Linux-v4.19/kernel/ |
D | jump_label.c | 195 if (!atomic_dec_and_mutex_lock(&key->enabled, &jump_label_mutex)) { in __static_key_slow_dec_cpuslocked()
|
/Linux-v4.19/fs/ecryptfs/ |
D | main.c | 161 if (atomic_dec_and_mutex_lock(&inode_info->lower_file_count, in ecryptfs_put_lower_file()
|
/Linux-v4.19/drivers/hwtracing/intel_th/ |
D | msu.c | 1166 if (!atomic_dec_and_mutex_lock(&msc->mmap_count, &msc->buf_mutex)) in msc_mmap_close()
|
/Linux-v4.19/drivers/perf/ |
D | arm-cci.c | 1090 if (atomic_dec_and_mutex_lock(active_events, reserve_mutex)) { in hw_perf_event_destroy()
|
/Linux-v4.19/arch/mips/kernel/ |
D | perf_event_mipsxx.c | 614 if (atomic_dec_and_mutex_lock(&active_events, in hw_perf_event_destroy()
|
/Linux-v4.19/arch/sparc/kernel/ |
D | perf_event.c | 1185 if (atomic_dec_and_mutex_lock(&active_events, &pmc_grab_mutex)) { in perf_event_release_pmc()
|
/Linux-v4.19/arch/x86/events/ |
D | core.c | 358 if (atomic_dec_and_mutex_lock(&pmc_refcount, &pmc_reserve_mutex)) { in x86_release_hardware()
|