Searched refs:DEFINE_LOCK_GUARD_0 (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/include/linux/ |
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())
|
D | irqflags.h | 271 DEFINE_LOCK_GUARD_0(irq, local_irq_disable(), local_irq_enable()) 272 DEFINE_LOCK_GUARD_0(irqsave,
|
D | cleanup.h | 167 #define DEFINE_LOCK_GUARD_0(_name, _lock, _unlock, ...) \ macro
|
D | rcupdate.h | 1067 DEFINE_LOCK_GUARD_0(rcu, rcu_read_lock(), rcu_read_unlock())
|
/linux-6.6.21/lib/ |
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())
|