Searched refs:atomic_dec_and_mutex_lock (Results 1 – 18 of 18) sorted by relevance
/Linux-v6.6/Documentation/translations/zh_CN/core-api/ |
D | refcount-vs-atomic.rst | 152 * atomic_dec_and_mutex_lock() --> refcount_dec_and_mutex_lock()
|
/Linux-v6.6/Documentation/translations/zh_CN/locking/ |
D | mutex-design.rst | 123 int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock);
|
/Linux-v6.6/include/linux/ |
D | mutex.h | 221 extern int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock);
|
/Linux-v6.6/kernel/events/ |
D | callchain.c | 146 if (atomic_dec_and_mutex_lock(&nr_callchain_events, &callchain_mutex)) { in put_callchain_buffers()
|
D | core.c | 6290 atomic_dec_and_mutex_lock(&rb->aux_mmap_count, &event->mmap_mutex)) { in perf_mmap_close() 6313 if (!atomic_dec_and_mutex_lock(&event->mmap_count, &event->mmap_mutex)) in perf_mmap_close()
|
/Linux-v6.6/fs/reiserfs/ |
D | file.c | 41 if (!atomic_dec_and_mutex_lock(&REISERFS_I(inode)->openers, in reiserfs_file_release()
|
/Linux-v6.6/kernel/locking/ |
D | mutex.c | 1136 int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock) in atomic_dec_and_mutex_lock() function 1151 EXPORT_SYMBOL(atomic_dec_and_mutex_lock);
|
/Linux-v6.6/Documentation/core-api/ |
D | refcount-vs-atomic.rst | 163 * atomic_dec_and_mutex_lock() --> refcount_dec_and_mutex_lock()
|
/Linux-v6.6/Documentation/locking/ |
D | mutex-design.rst | 129 int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock);
|
/Linux-v6.6/drivers/gpu/drm/ |
D | drm_file.c | 531 if (atomic_dec_and_mutex_lock(&dev->open_count, &drm_global_mutex)) { in drm_release_noglobal()
|
/Linux-v6.6/fs/ecryptfs/ |
D | main.c | 147 if (atomic_dec_and_mutex_lock(&inode_info->lower_file_count, in ecryptfs_put_lower_file()
|
/Linux-v6.6/arch/loongarch/kernel/ |
D | perf_event.c | 474 if (atomic_dec_and_mutex_lock(&active_events, &pmu_reserve_mutex)) { in hw_perf_event_destroy()
|
/Linux-v6.6/drivers/perf/ |
D | arm-cci.c | 1086 if (atomic_dec_and_mutex_lock(active_events, reserve_mutex)) { in hw_perf_event_destroy()
|
/Linux-v6.6/arch/mips/kernel/ |
D | perf_event_mipsxx.c | 639 if (atomic_dec_and_mutex_lock(&active_events, in hw_perf_event_destroy()
|
/Linux-v6.6/arch/sparc/kernel/ |
D | perf_event.c | 1189 if (atomic_dec_and_mutex_lock(&active_events, &pmc_grab_mutex)) { in perf_event_release_pmc()
|
/Linux-v6.6/drivers/hwtracing/intel_th/ |
D | msu.c | 1589 if (!atomic_dec_and_mutex_lock(&msc->mmap_count, &msc->buf_mutex)) in msc_mmap_close()
|
/Linux-v6.6/arch/x86/events/ |
D | core.c | 419 if (atomic_dec_and_mutex_lock(&pmc_refcount, &pmc_reserve_mutex)) { in x86_release_hardware()
|
/Linux-v6.6/kernel/sched/ |
D | core.c | 430 if (atomic_dec_and_mutex_lock(&sched_core_count, &sched_core_mutex)) { in __sched_core_put()
|