Searched refs:events_lock (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/mm/ |
D | vmpressure.c | 165 mutex_lock(&vmpr->events_lock); in vmpressure_event() 176 mutex_unlock(&vmpr->events_lock); in vmpressure_event() 403 mutex_lock(&vmpr->events_lock); in vmpressure_register_event() 405 mutex_unlock(&vmpr->events_lock); in vmpressure_register_event() 429 mutex_lock(&vmpr->events_lock); in vmpressure_unregister_event() 437 mutex_unlock(&vmpr->events_lock); in vmpressure_unregister_event() 450 mutex_init(&vmpr->events_lock); in vmpressure_init()
|
/kernel/linux/linux-5.10/drivers/base/power/ |
D | wakeup.c | 64 static DEFINE_RAW_SPINLOCK(events_lock); 183 raw_spin_lock_irqsave(&events_lock, flags); in wakeup_source_add() 185 raw_spin_unlock_irqrestore(&events_lock, flags); in wakeup_source_add() 200 raw_spin_lock_irqsave(&events_lock, flags); in wakeup_source_remove() 202 raw_spin_unlock_irqrestore(&events_lock, flags); in wakeup_source_remove() 915 raw_spin_lock_irqsave(&events_lock, flags); in pm_wakeup_pending() 923 raw_spin_unlock_irqrestore(&events_lock, flags); in pm_wakeup_pending() 1038 raw_spin_lock_irqsave(&events_lock, flags); in pm_save_wakeup_count() 1044 raw_spin_unlock_irqrestore(&events_lock, flags); in pm_save_wakeup_count()
|
/kernel/linux/linux-5.10/include/linux/ |
D | vmpressure.h | 25 struct mutex events_lock; member
|
/kernel/linux/linux-5.10/drivers/char/ipmi/ |
D | ipmi_msghandler.c | 519 spinlock_t events_lock; /* For dealing with event stuff. */ member 1555 spin_lock_irqsave(&intf->events_lock, flags); in ipmi_set_gets_events() 1586 spin_unlock_irqrestore(&intf->events_lock, flags); in ipmi_set_gets_events() 1594 spin_lock_irqsave(&intf->events_lock, flags); in ipmi_set_gets_events() 1599 spin_unlock_irqrestore(&intf->events_lock, flags); in ipmi_set_gets_events() 3464 spin_lock_init(&intf->events_lock); in ipmi_add_smi() 4125 spin_lock_irqsave(&intf->events_lock, flags); in handle_read_event_rsp() 4200 spin_unlock_irqrestore(&intf->events_lock, flags); in handle_read_event_rsp()
|