Searched refs:atomic_dec_and_mutex_lock (Results 1 – 15 of 15) sorted by relevance
/linux-4.1.27/include/linux/ |
D | mutex.h | 176 extern int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock);
|
/linux-4.1.27/kernel/events/ |
D | callchain.c | 129 if (atomic_dec_and_mutex_lock(&nr_callchain_events, &callchain_mutex)) { in put_callchain_buffers()
|
D | core.c | 4479 atomic_dec_and_mutex_lock(&rb->aux_mmap_count, &event->mmap_mutex)) { in perf_mmap_close() 4489 if (!atomic_dec_and_mutex_lock(&event->mmap_count, &event->mmap_mutex)) in perf_mmap_close()
|
/linux-4.1.27/kernel/locking/ |
D | mutex.c | 960 int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock) in atomic_dec_and_mutex_lock() function 975 EXPORT_SYMBOL(atomic_dec_and_mutex_lock);
|
/linux-4.1.27/kernel/ |
D | jump_label.c | 80 if (!atomic_dec_and_mutex_lock(&key->enabled, &jump_label_mutex)) { in __static_key_slow_dec()
|
/linux-4.1.27/arch/arm/kernel/ |
D | perf_event.c | 376 if (atomic_dec_and_mutex_lock(active_events, pmu_reserve_mutex)) { in hw_perf_event_destroy()
|
/linux-4.1.27/Documentation/locking/ |
D | mutex-design.txt | 135 int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock);
|
/linux-4.1.27/fs/ecryptfs/ |
D | main.c | 162 if (atomic_dec_and_mutex_lock(&inode_info->lower_file_count, in ecryptfs_put_lower_file()
|
/linux-4.1.27/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.1.27/drivers/bus/ |
D | arm-cci.c | 485 if (atomic_dec_and_mutex_lock(active_events, reserve_mutex)) { in hw_perf_event_destroy()
|
/linux-4.1.27/arch/arm64/kernel/ |
D | perf_event.c | 514 if (atomic_dec_and_mutex_lock(active_events, pmu_reserve_mutex)) { in hw_perf_event_destroy()
|
/linux-4.1.27/arch/mips/kernel/ |
D | perf_event_mipsxx.c | 601 if (atomic_dec_and_mutex_lock(&active_events, in hw_perf_event_destroy()
|
/linux-4.1.27/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.1.27/arch/x86/kernel/cpu/ |
D | perf_event.c | 345 if (atomic_dec_and_mutex_lock(&active_events, &pmc_reserve_mutex)) { in x86_release_hardware()
|
/linux-4.1.27/drivers/media/pci/zoran/ |
D | zoran_driver.c | 2795 if (!atomic_dec_and_mutex_lock(&map->count, &zr->resource_lock)) in zoran_vm_close()
|