Home
last modified time | relevance | path

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

/openbmc/linux/kernel/rcu/
H A 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()
H A Dtiny.c154 RCU_LOCKDEP_WARN(lock_is_held(&rcu_bh_lock_map) || in synchronize_rcu()
155 lock_is_held(&rcu_lock_map) || in synchronize_rcu()
156 lock_is_held(&rcu_sched_lock_map), in synchronize_rcu()
H A Dsrcutiny.c204 lock_is_held(&rcu_bh_lock_map) || in synchronize_srcu()
205 lock_is_held(&rcu_lock_map) || in synchronize_srcu()
206 lock_is_held(&rcu_sched_lock_map), in synchronize_srcu()
H A Dtree_exp.h971 RCU_LOCKDEP_WARN(lock_is_held(&rcu_bh_lock_map) || in synchronize_rcu_expedited()
972 lock_is_held(&rcu_lock_map) || in synchronize_rcu_expedited()
973 lock_is_held(&rcu_sched_lock_map), in synchronize_rcu_expedited()
H A 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()
H A Dtree.c3603 RCU_LOCKDEP_WARN(lock_is_held(&rcu_bh_lock_map) || in synchronize_rcu()
3604 lock_is_held(&rcu_lock_map) || in synchronize_rcu()
3605 lock_is_held(&rcu_sched_lock_map), in synchronize_rcu()
H A Dtasks.h1933 …RCU_LOCKDEP_WARN(lock_is_held(&rcu_trace_lock_map), "Illegal synchronize_rcu_tasks_trace() in RCU … in synchronize_rcu_tasks_trace()
/openbmc/linux/include/linux/
H A Drcupdate_trace.h20 return lock_is_held(&rcu_trace_lock_map); in rcu_read_lock_trace_held()
H A Drcupdate.h412 RCU_LOCKDEP_WARN(lock_is_held(&rcu_lock_map), in rcu_preempt_sleep_check()
423 RCU_LOCKDEP_WARN(lock_is_held(&rcu_bh_lock_map), \
425 RCU_LOCKDEP_WARN(lock_is_held(&rcu_sched_lock_map), \
H A 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 *);
H A Dsrcu.h102 return lock_is_held(&ssp->dep_map); in srcu_read_lock_held()
H A Dmaple_tree.h186 (!(mt)->ma_external_lock || lock_is_held((mt)->ma_external_lock))
/openbmc/linux/include/drm/
H A Ddrm_gem.h576 lock_is_held((obj)->gpuva.lock_dep_map) : \
/openbmc/linux/Documentation/RCU/
H A Dlockdep.rst119 lock_is_held(&(wq->mutex).dep_map))
H A DwhatisRCU.rst339 For example, given an additional "lock_is_held(&mylock)" argument,
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_object.h102 WARN_ON(debug_locks && !lock_is_held(&rcu_lock_map)); in i915_gem_object_lookup_rcu()
/openbmc/linux/arch/x86/pci/
H A Dmmconfig-shared.c33 #define pci_mmcfg_lock_held() lock_is_held(&(pci_mmcfg_lock).dep_map)
/openbmc/linux/drivers/acpi/
H A Dosl.c90 #define acpi_ioremap_lock_held() lock_is_held(&acpi_ioremap_lock.dep_map)
/openbmc/linux/lib/
H A Dmaple_tree.c5182 lock_is_held(&rcu_callback_map)); in mte_dead_walk()
5223 lock_is_held(&rcu_callback_map))) in mt_free_walk()