Home
last modified time | relevance | path

Searched refs:ACCESS_PRIVATE (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/kernel/rcu/
H A Drcu.h446 raw_spin_lock(&ACCESS_PRIVATE(p, lock)); \
453 raw_spin_unlock(&ACCESS_PRIVATE(p, lock)); \
458 raw_spin_lock_irq(&ACCESS_PRIVATE(p, lock)); \
465 raw_spin_unlock_irq(&ACCESS_PRIVATE(p, lock)); \
470 raw_spin_lock_irqsave(&ACCESS_PRIVATE(p, lock), flags); \
477 raw_spin_unlock_irqrestore(&ACCESS_PRIVATE(p, lock), flags); \
482 bool ___locked = raw_spin_trylock(&ACCESS_PRIVATE(p, lock)); \
490 lockdep_assert_held(&ACCESS_PRIVATE(p, lock))
H A Dsrcutree.c83 spin_lock(&ACCESS_PRIVATE(p, lock)); \
87 #define spin_unlock_rcu_node(p) spin_unlock(&ACCESS_PRIVATE(p, lock))
91 spin_lock_irq(&ACCESS_PRIVATE(p, lock)); \
96 spin_unlock_irq(&ACCESS_PRIVATE(p, lock))
100 spin_lock_irqsave(&ACCESS_PRIVATE(p, lock), flags); \
114 spin_unlock_irqrestore(&ACCESS_PRIVATE(p, lock), flags) \
135 spin_lock_init(&ACCESS_PRIVATE(sdp, lock)); in init_srcu_struct_data()
188 spin_lock_init(&ACCESS_PRIVATE(snp, lock)); in init_srcu_struct_nodes()
244 spin_lock_init(&ACCESS_PRIVATE(ssp->srcu_sup, lock)); in init_srcu_struct_fields()
318 lockdep_assert_held(&ACCESS_PRIVATE(ssp->srcu_sup, lock)); in __srcu_transition_to_big()
[all …]
H A Dtasks.h273 raw_spin_lock_init(&ACCESS_PRIVATE(rtpcp, lock)); in cblist_init_generic()
H A Dtree.c4824 raw_spin_lock_init(&ACCESS_PRIVATE(rnp, lock)); in rcu_init_one()
4825 lockdep_set_class_and_name(&ACCESS_PRIVATE(rnp, lock), in rcu_init_one()
/openbmc/linux/include/linux/
H A Dcompiler_types.h41 # define ACCESS_PRIVATE(p, member) (*((typeof((p)->member) __force *) &(p)->member)) macro
69 # define ACCESS_PRIVATE(p, member) ((p)->member) macro
H A Dmm.h822 ACCESS_PRIVATE(vma, __vm_flags) = flags; in vm_flags_init()
841 WRITE_ONCE(ACCESS_PRIVATE(vma, __vm_flags), flags); in vm_flags_reset_once()
848 ACCESS_PRIVATE(vma, __vm_flags) |= flags; in vm_flags_set()
855 ACCESS_PRIVATE(vma, __vm_flags) &= ~flags; in vm_flags_clear()
H A Dirq.h254 #define __irqd_to_state(d) ACCESS_PRIVATE((d)->common, state_use_accessors)
/openbmc/linux/kernel/irq/
H A Dinternals.h202 #define __irqd_to_state(d) ACCESS_PRIVATE((d)->common, state_use_accessors)