Home
last modified time | relevance | path

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

/linux/Documentation/translations/zh_CN/core-api/
H A Drefcount-vs-atomic.rst152 * atomic_dec_and_mutex_lock() --> refcount_dec_and_mutex_lock()
/linux/Documentation/translations/zh_CN/locking/
H A Dmutex-design.rst123 int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock);
/linux/kernel/events/
H A Dcallchain.c148 if (atomic_dec_and_mutex_lock(&nr_callchain_events, &callchain_mutex)) { in put_callchain_buffers()
/linux/kernel/locking/
H A Dmutex.c1231 int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock) in atomic_dec_and_mutex_lock() function
1246 EXPORT_SYMBOL(atomic_dec_and_mutex_lock);
/linux/Documentation/locking/
H A Dmutex-design.rst147 int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock);
/linux/arch/loongarch/kernel/
H A Dperf_event.c464 if (atomic_dec_and_mutex_lock(&active_events, &pmu_reserve_mutex)) { in hw_perf_event_destroy()
/linux/drivers/gpu/drm/
H A Ddrm_file.c505 if (atomic_dec_and_mutex_lock(&dev->open_count, &drm_global_mutex)) { in drm_release_noglobal()
/linux/arch/sparc/kernel/
H A Dperf_event.c1189 if (atomic_dec_and_mutex_lock(&active_events, &pmc_grab_mutex)) { in perf_event_release_pmc()
/linux/drivers/hwtracing/intel_th/
H A Dmsu.c1601 if (!atomic_dec_and_mutex_lock(&msc->mmap_count, &msc->buf_mutex)) in msc_mmap_close()
/linux/arch/x86/events/
H A Dcore.c437 if (atomic_dec_and_mutex_lock(&pmc_refcount, &pmc_reserve_mutex)) { in x86_release_hardware()
/linux/kernel/sched/
H A Dcore.c508 if (atomic_dec_and_mutex_lock(&sched_core_count, &sched_core_mutex)) { in __sched_core_put()