Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/rcu/
Drcu.h383 raw_spin_lock(&ACCESS_PRIVATE(p, lock)); \
387 #define raw_spin_unlock_rcu_node(p) raw_spin_unlock(&ACCESS_PRIVATE(p, lock))
391 raw_spin_lock_irq(&ACCESS_PRIVATE(p, lock)); \
396 raw_spin_unlock_irq(&ACCESS_PRIVATE(p, lock))
400 raw_spin_lock_irqsave(&ACCESS_PRIVATE(p, lock), flags); \
405 raw_spin_unlock_irqrestore(&ACCESS_PRIVATE(p, lock), flags)
409 bool ___locked = raw_spin_trylock(&ACCESS_PRIVATE(p, lock)); \
417 lockdep_assert_held(&ACCESS_PRIVATE(p, lock))
Dsrcutree.c53 spin_lock(&ACCESS_PRIVATE(p, lock)); \
57 #define spin_unlock_rcu_node(p) spin_unlock(&ACCESS_PRIVATE(p, lock))
61 spin_lock_irq(&ACCESS_PRIVATE(p, lock)); \
66 spin_unlock_irq(&ACCESS_PRIVATE(p, lock))
70 spin_lock_irqsave(&ACCESS_PRIVATE(p, lock), flags); \
75 spin_unlock_irqrestore(&ACCESS_PRIVATE(p, lock), flags) \
101 spin_lock_init(&ACCESS_PRIVATE(snp, lock)); in init_srcu_struct_nodes()
135 spin_lock_init(&ACCESS_PRIVATE(sdp, lock)); in init_srcu_struct_nodes()
195 spin_lock_init(&ACCESS_PRIVATE(ssp, lock)); in __init_srcu_struct()
212 spin_lock_init(&ACCESS_PRIVATE(ssp, lock)); in init_srcu_struct()
[all …]
Dtree.c3369 raw_spin_lock_init(&ACCESS_PRIVATE(rnp, lock)); in rcu_init_one()
3370 lockdep_set_class_and_name(&ACCESS_PRIVATE(rnp, lock), in rcu_init_one()
/Linux-v5.4/include/linux/
Dcompiler_types.h25 # define ACCESS_PRIVATE(p, member) (*((typeof((p)->member) __force *) &(p)->member)) macro
49 # define ACCESS_PRIVATE(p, member) ((p)->member) macro
Dirq.h236 #define __irqd_to_state(d) ACCESS_PRIVATE((d)->common, state_use_accessors)
/Linux-v5.4/kernel/irq/
Dinternals.h195 #define __irqd_to_state(d) ACCESS_PRIVATE((d)->common, state_use_accessors)