Searched refs:DEFINE_LOCK_GUARD_0 (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | preempt.h | 478 DEFINE_LOCK_GUARD_0(preempt, preempt_disable(), preempt_enable()) 479 DEFINE_LOCK_GUARD_0(preempt_notrace, preempt_disable_notrace(), preempt_enable_notrace()) 480 DEFINE_LOCK_GUARD_0(migrate, migrate_disable(), migrate_enable())
|
H A D | irqflags.h | 271 DEFINE_LOCK_GUARD_0(irq, local_irq_disable(), local_irq_enable()) 272 DEFINE_LOCK_GUARD_0(irqsave,
|
H A D | cleanup.h | 167 #define DEFINE_LOCK_GUARD_0(_name, _lock, _unlock, ...) \ macro
|
H A D | cpu.h | 160 DEFINE_LOCK_GUARD_0(cpus_read_lock, cpus_read_lock(), cpus_read_unlock())
|
H A D | rcupdate.h | 1098 DEFINE_LOCK_GUARD_0(rcu, rcu_read_lock(), rcu_read_unlock())
|
/openbmc/linux/lib/ |
H A D | locking-selftest.c | 2510 DEFINE_LOCK_GUARD_0(HARDIRQ, HARDIRQ_ENTER(), HARDIRQ_EXIT()) in DEFINE_LOCK_GUARD_0() function 2511 DEFINE_LOCK_GUARD_0(NOTTHREADED_HARDIRQ, in DEFINE_LOCK_GUARD_0() 2517 DEFINE_LOCK_GUARD_0(SOFTIRQ, SOFTIRQ_ENTER(), SOFTIRQ_EXIT()) 2520 DEFINE_LOCK_GUARD_0(RCU, rcu_read_lock(), rcu_read_unlock()) 2521 DEFINE_LOCK_GUARD_0(RCU_BH, rcu_read_lock_bh(), rcu_read_unlock_bh()) 2522 DEFINE_LOCK_GUARD_0(RCU_SCHED, rcu_read_lock_sched(), rcu_read_unlock_sched())
|