Home
last modified time | relevance | path

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

/Linux-v6.6/mm/
Dvmpressure.c164 mutex_lock(&vmpr->events_lock); in vmpressure_event()
175 mutex_unlock(&vmpr->events_lock); in vmpressure_event()
415 mutex_lock(&vmpr->events_lock); in vmpressure_register_event()
417 mutex_unlock(&vmpr->events_lock); in vmpressure_register_event()
441 mutex_lock(&vmpr->events_lock); in vmpressure_unregister_event()
449 mutex_unlock(&vmpr->events_lock); in vmpressure_unregister_event()
462 mutex_init(&vmpr->events_lock); in vmpressure_init()
/Linux-v6.6/drivers/base/power/
Dwakeup.c59 static DEFINE_RAW_SPINLOCK(events_lock);
178 raw_spin_lock_irqsave(&events_lock, flags); in wakeup_source_add()
180 raw_spin_unlock_irqrestore(&events_lock, flags); in wakeup_source_add()
195 raw_spin_lock_irqsave(&events_lock, flags); in wakeup_source_remove()
197 raw_spin_unlock_irqrestore(&events_lock, flags); in wakeup_source_remove()
881 raw_spin_lock_irqsave(&events_lock, flags); in pm_wakeup_pending()
889 raw_spin_unlock_irqrestore(&events_lock, flags); in pm_wakeup_pending()
1007 raw_spin_lock_irqsave(&events_lock, flags); in pm_save_wakeup_count()
1013 raw_spin_unlock_irqrestore(&events_lock, flags); in pm_save_wakeup_count()
/Linux-v6.6/include/linux/
Dvmpressure.h25 struct mutex events_lock; member
/Linux-v6.6/drivers/char/ipmi/
Dipmi_msghandler.c525 spinlock_t events_lock; /* For dealing with event stuff. */ member
1602 spin_lock_irqsave(&intf->events_lock, flags); in ipmi_set_gets_events()
1633 spin_unlock_irqrestore(&intf->events_lock, flags); in ipmi_set_gets_events()
1641 spin_lock_irqsave(&intf->events_lock, flags); in ipmi_set_gets_events()
1646 spin_unlock_irqrestore(&intf->events_lock, flags); in ipmi_set_gets_events()
3614 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()