Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/rcu/
Dupdate.c125 return lock_is_held(&rcu_sched_lock_map) || !preemptible(); in rcu_read_lock_sched_held()
350 return lock_is_held(&rcu_lock_map); in rcu_read_lock_held()
385 if (lock_is_held(&rcu_lock_map) || in rcu_read_lock_any_held()
386 lock_is_held(&rcu_bh_lock_map) || in rcu_read_lock_any_held()
387 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()
Dsrcutiny.c203 lock_is_held(&rcu_bh_lock_map) || in synchronize_srcu()
204 lock_is_held(&rcu_lock_map) || in synchronize_srcu()
205 lock_is_held(&rcu_sched_lock_map), in synchronize_srcu()
Dtree_exp.h961 RCU_LOCKDEP_WARN(lock_is_held(&rcu_bh_lock_map) || in synchronize_rcu_expedited()
962 lock_is_held(&rcu_lock_map) || in synchronize_rcu_expedited()
963 lock_is_held(&rcu_sched_lock_map), in synchronize_rcu_expedited()
Dsrcutree.c1374 lock_is_held(&rcu_bh_lock_map) || in __synchronize_srcu()
1375 lock_is_held(&rcu_lock_map) || in __synchronize_srcu()
1376 lock_is_held(&rcu_sched_lock_map), in __synchronize_srcu()
Dtree.c3600 RCU_LOCKDEP_WARN(lock_is_held(&rcu_bh_lock_map) || in synchronize_rcu()
3601 lock_is_held(&rcu_lock_map) || in synchronize_rcu()
3602 lock_is_held(&rcu_sched_lock_map), in synchronize_rcu()
Dtasks.h1892 …RCU_LOCKDEP_WARN(lock_is_held(&rcu_trace_lock_map), "Illegal synchronize_rcu_tasks_trace() in RCU … in synchronize_rcu_tasks_trace()
/linux-6.6.21/include/linux/
Drcupdate_trace.h20 return lock_is_held(&rcu_trace_lock_map); in rcu_read_lock_trace_held()
Drcupdate.h381 RCU_LOCKDEP_WARN(lock_is_held(&rcu_lock_map), in rcu_preempt_sleep_check()
392 RCU_LOCKDEP_WARN(lock_is_held(&rcu_bh_lock_map), \
394 RCU_LOCKDEP_WARN(lock_is_held(&rcu_sched_lock_map), \
Dlockdep.h286 static inline int lock_is_held(const struct lockdep_map *lock) in lock_is_held() function
291 #define lockdep_is_held(lock) lock_is_held(&(lock)->dep_map)
423 extern int lock_is_held(const void *);
Dsrcu.h102 return lock_is_held(&ssp->dep_map); in srcu_read_lock_held()
Dmaple_tree.h186 (!(mt)->ma_external_lock || lock_is_held((mt)->ma_external_lock))
/linux-6.6.21/include/drm/
Ddrm_gem.h563 lock_is_held((obj)->gpuva.lock_dep_map) : \
/linux-6.6.21/Documentation/RCU/
Dlockdep.rst119 lock_is_held(&(wq->mutex).dep_map))
DwhatisRCU.rst339 For example, given an additional "lock_is_held(&mylock)" argument,
/linux-6.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_object.h102 WARN_ON(debug_locks && !lock_is_held(&rcu_lock_map)); in i915_gem_object_lookup_rcu()
/linux-6.6.21/arch/x86/pci/
Dmmconfig-shared.c33 #define pci_mmcfg_lock_held() lock_is_held(&(pci_mmcfg_lock).dep_map)
/linux-6.6.21/drivers/acpi/
Dosl.c90 #define acpi_ioremap_lock_held() lock_is_held(&acpi_ioremap_lock.dep_map)
/linux-6.6.21/lib/
Dmaple_tree.c5182 lock_is_held(&rcu_callback_map)); in mte_dead_walk()
5223 lock_is_held(&rcu_callback_map))) in mt_free_walk()