Home
last modified time | relevance | path

Searched refs:atomic_dec_and_mutex_lock (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Drefcount-vs-atomic.rst152 * atomic_dec_and_mutex_lock() --> refcount_dec_and_mutex_lock()
/linux-6.6.21/Documentation/translations/zh_CN/locking/
Dmutex-design.rst123 int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock);
/linux-6.6.21/include/linux/
Dmutex.h221 extern int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock);
/linux-6.6.21/kernel/events/
Dcallchain.c146 if (atomic_dec_and_mutex_lock(&nr_callchain_events, &callchain_mutex)) { in put_callchain_buffers()
Dcore.c6325 atomic_dec_and_mutex_lock(&rb->aux_mmap_count, &event->mmap_mutex)) { in perf_mmap_close()
6348 if (!atomic_dec_and_mutex_lock(&event->mmap_count, &event->mmap_mutex)) in perf_mmap_close()
/linux-6.6.21/fs/reiserfs/
Dfile.c41 if (!atomic_dec_and_mutex_lock(&REISERFS_I(inode)->openers, in reiserfs_file_release()
/linux-6.6.21/kernel/locking/
Dmutex.c1136 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-6.6.21/Documentation/core-api/
Drefcount-vs-atomic.rst163 * atomic_dec_and_mutex_lock() --> refcount_dec_and_mutex_lock()
/linux-6.6.21/Documentation/locking/
Dmutex-design.rst129 int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock);
/linux-6.6.21/fs/ecryptfs/
Dmain.c147 if (atomic_dec_and_mutex_lock(&inode_info->lower_file_count, in ecryptfs_put_lower_file()
/linux-6.6.21/arch/loongarch/kernel/
Dperf_event.c474 if (atomic_dec_and_mutex_lock(&active_events, &pmu_reserve_mutex)) { in hw_perf_event_destroy()
/linux-6.6.21/drivers/gpu/drm/
Ddrm_file.c565 if (atomic_dec_and_mutex_lock(&dev->open_count, &drm_global_mutex)) { in drm_release_noglobal()
/linux-6.6.21/drivers/perf/
Darm-cci.c1086 if (atomic_dec_and_mutex_lock(active_events, reserve_mutex)) { in hw_perf_event_destroy()
/linux-6.6.21/arch/mips/kernel/
Dperf_event_mipsxx.c639 if (atomic_dec_and_mutex_lock(&active_events, in hw_perf_event_destroy()
/linux-6.6.21/arch/sparc/kernel/
Dperf_event.c1189 if (atomic_dec_and_mutex_lock(&active_events, &pmc_grab_mutex)) { in perf_event_release_pmc()
/linux-6.6.21/drivers/hwtracing/intel_th/
Dmsu.c1589 if (!atomic_dec_and_mutex_lock(&msc->mmap_count, &msc->buf_mutex)) in msc_mmap_close()
/linux-6.6.21/arch/x86/events/
Dcore.c419 if (atomic_dec_and_mutex_lock(&pmc_refcount, &pmc_reserve_mutex)) { in x86_release_hardware()
/linux-6.6.21/kernel/sched/
Dcore.c430 if (atomic_dec_and_mutex_lock(&sched_core_count, &sched_core_mutex)) { in __sched_core_put()