Home
last modified time | relevance | path

Searched refs:lock_is_held (Results 1 – 19 of 19) sorted by relevance

/linux-6.12.1/include/linux/
Drcupdate.h415 RCU_LOCKDEP_WARN(lock_is_held(&rcu_lock_map), in rcu_preempt_sleep_check()
426 RCU_LOCKDEP_WARN(lock_is_held(&rcu_bh_lock_map), \
428 RCU_LOCKDEP_WARN(lock_is_held(&rcu_sched_lock_map), \
447 WARN_ON_ONCE(lockdep_assert_rcu_helper(!lock_is_held(&rcu_lock_map)))
457 WARN_ON_ONCE(lockdep_assert_rcu_helper(!lock_is_held(&rcu_bh_lock_map)))
467 WARN_ON_ONCE(lockdep_assert_rcu_helper(!lock_is_held(&rcu_sched_lock_map)))
482 WARN_ON_ONCE(lockdep_assert_rcu_helper(!lock_is_held(&rcu_lock_map) && \
483 !lock_is_held(&rcu_bh_lock_map) && \
484 !lock_is_held(&rcu_sched_lock_map) && \
Drcupdate_trace.h20 return lock_is_held(&rcu_trace_lock_map); in rcu_read_lock_trace_held()
Dlockdep.h247 static inline int lock_is_held(const struct lockdep_map *lock) in lock_is_held() function
252 #define lockdep_is_held(lock) lock_is_held(&(lock)->dep_map)
385 extern int lock_is_held(const void *);
Dsrcu.h137 return lock_is_held(&ssp->dep_map); in srcu_read_lock_held()
Dmaple_tree.h199 (!(mt)->ma_external_lock || lock_is_held((mt)->ma_external_lock))
/linux-6.12.1/kernel/rcu/
Dupdate.c126 return lock_is_held(&rcu_sched_lock_map) || !preemptible(); in rcu_read_lock_sched_held()
351 return lock_is_held(&rcu_lock_map); in rcu_read_lock_held()
386 if (lock_is_held(&rcu_lock_map) || in rcu_read_lock_any_held()
387 lock_is_held(&rcu_bh_lock_map) || in rcu_read_lock_any_held()
388 lock_is_held(&rcu_sched_lock_map)) in rcu_read_lock_any_held()
Dtiny.c152 RCU_LOCKDEP_WARN(lock_is_held(&rcu_bh_lock_map) || in synchronize_rcu()
153 lock_is_held(&rcu_lock_map) || in synchronize_rcu()
154 lock_is_held(&rcu_sched_lock_map), in synchronize_rcu()
Dsrcutiny.c222 lock_is_held(&rcu_bh_lock_map) || in synchronize_srcu()
223 lock_is_held(&rcu_lock_map) || in synchronize_srcu()
224 lock_is_held(&rcu_sched_lock_map), in synchronize_srcu()
Dtree_exp.h946 RCU_LOCKDEP_WARN(lock_is_held(&rcu_bh_lock_map) || in synchronize_rcu_expedited()
947 lock_is_held(&rcu_lock_map) || in synchronize_rcu_expedited()
948 lock_is_held(&rcu_sched_lock_map), in synchronize_rcu_expedited()
Dsrcutree.c1389 lock_is_held(&rcu_bh_lock_map) || in __synchronize_srcu()
1390 lock_is_held(&rcu_lock_map) || in __synchronize_srcu()
1391 lock_is_held(&rcu_sched_lock_map), in __synchronize_srcu()
Dtree.c276 RCU_LOCKDEP_WARN(lock_is_held(&rcu_bh_lock_map) || in rcu_softirq_qs()
277 lock_is_held(&rcu_lock_map) || in rcu_softirq_qs()
278 lock_is_held(&rcu_sched_lock_map), in rcu_softirq_qs()
4089 RCU_LOCKDEP_WARN(lock_is_held(&rcu_bh_lock_map) || in synchronize_rcu()
4090 lock_is_held(&rcu_lock_map) || in synchronize_rcu()
4091 lock_is_held(&rcu_sched_lock_map), in synchronize_rcu()
Dtasks.h2054 …RCU_LOCKDEP_WARN(lock_is_held(&rcu_trace_lock_map), "Illegal synchronize_rcu_tasks_trace() in RCU … in synchronize_rcu_tasks_trace()
/linux-6.12.1/include/drm/
Ddrm_gem.h589 lock_is_held((obj)->gpuva.lock_dep_map) : \
/linux-6.12.1/Documentation/RCU/
Dlockdep.rst119 lock_is_held(&(wq->mutex).dep_map))
DwhatisRCU.rst358 For example, given an additional "lock_is_held(&mylock)" argument,
/linux-6.12.1/drivers/gpu/drm/i915/gem/
Di915_gem_object.h100 WARN_ON(debug_locks && !lock_is_held(&rcu_lock_map)); in i915_gem_object_lookup_rcu()
/linux-6.12.1/arch/x86/pci/
Dmmconfig-shared.c33 #define pci_mmcfg_lock_held() lock_is_held(&(pci_mmcfg_lock).dep_map)
/linux-6.12.1/drivers/acpi/
Dosl.c90 #define acpi_ioremap_lock_held() lock_is_held(&acpi_ioremap_lock.dep_map)
/linux-6.12.1/lib/
Dmaple_tree.c5246 lock_is_held(&rcu_callback_map)); in mte_dead_walk()
5287 lock_is_held(&rcu_callback_map))) in mt_free_walk()