Home
last modified time | relevance | path

Searched refs:events_lock (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/mm/
Dvmpressure.c164 mutex_lock(&vmpr->events_lock); in vmpressure_event()
175 mutex_unlock(&vmpr->events_lock); in vmpressure_event()
407 mutex_lock(&vmpr->events_lock); in vmpressure_register_event()
409 mutex_unlock(&vmpr->events_lock); in vmpressure_register_event()
433 mutex_lock(&vmpr->events_lock); in vmpressure_unregister_event()
441 mutex_unlock(&vmpr->events_lock); in vmpressure_unregister_event()
454 mutex_init(&vmpr->events_lock); in vmpressure_init()
/linux-5.19.10/drivers/base/power/
Dwakeup.c64 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()
916 raw_spin_lock_irqsave(&events_lock, flags); in pm_wakeup_pending()
924 raw_spin_unlock_irqrestore(&events_lock, flags); in pm_wakeup_pending()
1040 raw_spin_lock_irqsave(&events_lock, flags); in pm_save_wakeup_count()
1046 raw_spin_unlock_irqrestore(&events_lock, flags); in pm_save_wakeup_count()
/linux-5.19.10/include/linux/
Dvmpressure.h25 struct mutex events_lock; member
/linux-5.19.10/drivers/char/ipmi/
Dipmi_msghandler.c525 spinlock_t events_lock; /* For dealing with event stuff. */ member
1606 spin_lock_irqsave(&intf->events_lock, flags); in ipmi_set_gets_events()
1637 spin_unlock_irqrestore(&intf->events_lock, flags); in ipmi_set_gets_events()
1645 spin_lock_irqsave(&intf->events_lock, flags); in ipmi_set_gets_events()
1650 spin_unlock_irqrestore(&intf->events_lock, flags); in ipmi_set_gets_events()
3618 spin_lock_init(&intf->events_lock); in ipmi_add_smi()
4415 spin_lock_irqsave(&intf->events_lock, flags); in handle_read_event_rsp()
4490 spin_unlock_irqrestore(&intf->events_lock, flags); in handle_read_event_rsp()