Searched refs:atomic_dec_and_mutex_lock (Results 1 – 14 of 14) sorted by relevance
/linux-4.4.14/include/linux/ |
D | mutex.h | 176 extern int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock);
|
/linux-4.4.14/kernel/events/ |
D | callchain.c | 129 if (atomic_dec_and_mutex_lock(&nr_callchain_events, &callchain_mutex)) { in put_callchain_buffers()
|
D | core.c | 4645 atomic_dec_and_mutex_lock(&rb->aux_mmap_count, &event->mmap_mutex)) { in perf_mmap_close() 4655 if (!atomic_dec_and_mutex_lock(&event->mmap_count, &event->mmap_mutex)) in perf_mmap_close()
|
/linux-4.4.14/kernel/locking/ |
D | mutex.c | 958 int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock) in atomic_dec_and_mutex_lock() function 973 EXPORT_SYMBOL(atomic_dec_and_mutex_lock);
|
/linux-4.4.14/kernel/ |
D | jump_label.c | 75 if (!atomic_dec_and_mutex_lock(&key->enabled, &jump_label_mutex)) { in __static_key_slow_dec()
|
/linux-4.4.14/Documentation/locking/ |
D | mutex-design.txt | 135 int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock);
|
/linux-4.4.14/fs/ecryptfs/ |
D | main.c | 162 if (atomic_dec_and_mutex_lock(&inode_info->lower_file_count, in ecryptfs_put_lower_file()
|
/linux-4.4.14/arch/metag/kernel/perf/ |
D | perf_event.c | 508 if (atomic_dec_and_mutex_lock(active_events, pmu_mutex)) { in _hw_perf_event_destroy()
|
/linux-4.4.14/drivers/perf/ |
D | arm_pmu.c | 378 if (atomic_dec_and_mutex_lock(active_events, pmu_reserve_mutex)) { in hw_perf_event_destroy()
|
/linux-4.4.14/drivers/hwtracing/intel_th/ |
D | msu.c | 1165 if (!atomic_dec_and_mutex_lock(&msc->mmap_count, &msc->buf_mutex)) in msc_mmap_close()
|
/linux-4.4.14/arch/mips/kernel/ |
D | perf_event_mipsxx.c | 601 if (atomic_dec_and_mutex_lock(&active_events, in hw_perf_event_destroy()
|
/linux-4.4.14/arch/sparc/kernel/ |
D | perf_event.c | 1174 if (atomic_dec_and_mutex_lock(&active_events, &pmc_grab_mutex)) { in perf_event_release_pmc()
|
/linux-4.4.14/drivers/bus/ |
D | arm-cci.c | 866 if (atomic_dec_and_mutex_lock(active_events, reserve_mutex)) { in hw_perf_event_destroy()
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
D | perf_event.c | 347 if (atomic_dec_and_mutex_lock(&pmc_refcount, &pmc_reserve_mutex)) { in x86_release_hardware()
|