Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/rcu/
Dupdate.c125 return lock_is_held(&rcu_sched_lock_map) || !preemptible(); in rcu_read_lock_sched_held()
311 return lock_is_held(&rcu_lock_map); in rcu_read_lock_held()
346 if (lock_is_held(&rcu_lock_map) || in rcu_read_lock_any_held()
347 lock_is_held(&rcu_bh_lock_map) || in rcu_read_lock_any_held()
348 lock_is_held(&rcu_sched_lock_map)) in rcu_read_lock_any_held()
Dtiny.c153 RCU_LOCKDEP_WARN(lock_is_held(&rcu_bh_lock_map) || in synchronize_rcu()
154 lock_is_held(&rcu_lock_map) || in synchronize_rcu()
155 lock_is_held(&rcu_sched_lock_map), in synchronize_rcu()
Dtree_exp.h916 RCU_LOCKDEP_WARN(lock_is_held(&rcu_bh_lock_map) || in synchronize_rcu_expedited()
917 lock_is_held(&rcu_lock_map) || in synchronize_rcu_expedited()
918 lock_is_held(&rcu_sched_lock_map), in synchronize_rcu_expedited()
Dsrcutree.c1203 lock_is_held(&rcu_bh_lock_map) || in __synchronize_srcu()
1204 lock_is_held(&rcu_lock_map) || in __synchronize_srcu()
1205 lock_is_held(&rcu_sched_lock_map), in __synchronize_srcu()
Dtree.c3504 RCU_LOCKDEP_WARN(lock_is_held(&rcu_bh_lock_map) || in synchronize_rcu()
3505 lock_is_held(&rcu_lock_map) || in synchronize_rcu()
3506 lock_is_held(&rcu_sched_lock_map), in synchronize_rcu()
Dtasks.h1711 …RCU_LOCKDEP_WARN(lock_is_held(&rcu_trace_lock_map), "Illegal synchronize_rcu_tasks_trace() in RCU … in synchronize_rcu_tasks_trace()
/linux-6.1.9/include/linux/
Drcupdate.h364 RCU_LOCKDEP_WARN(lock_is_held(&rcu_lock_map), in rcu_preempt_sleep_check()
375 RCU_LOCKDEP_WARN(lock_is_held(&rcu_bh_lock_map), \
377 RCU_LOCKDEP_WARN(lock_is_held(&rcu_sched_lock_map), \
Drcupdate_trace.h20 return lock_is_held(&rcu_trace_lock_map); in rcu_read_lock_trace_held()
Dsrcu.h95 return lock_is_held(&ssp->dep_map); in srcu_read_lock_held()
Dlockdep.h281 static inline int lock_is_held(const struct lockdep_map *lock) in lock_is_held() function
286 #define lockdep_is_held(lock) lock_is_held(&(lock)->dep_map)
408 extern int lock_is_held(const void *);
Dmaple_tree.h188 #define mt_lock_is_held(mt) lock_is_held(mt->ma_external_lock)
/linux-6.1.9/Documentation/RCU/
Dlockdep.rst116 lock_is_held(&(wq->mutex).dep_map))
DwhatisRCU.rst329 For example, given an additional "lock_is_held(&mylock)" argument,
/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_object.h112 WARN_ON(debug_locks && !lock_is_held(&rcu_lock_map)); in i915_gem_object_lookup_rcu()
/linux-6.1.9/arch/x86/pci/
Dmmconfig-shared.c32 #define pci_mmcfg_lock_held() lock_is_held(&(pci_mmcfg_lock).dep_map)
/linux-6.1.9/drivers/acpi/
Dosl.c90 #define acpi_ioremap_lock_held() lock_is_held(&acpi_ioremap_lock.dep_map)