Lines Matching defs:ws
108 * ws - ep->mtx
124 * ws - RCU (rcu_assign_pointer /
284 struct wakeup_source __rcu *ws;
330 struct wakeup_source *ws;
931 return rcu_dereference_check(epi->ws, lockdep_is_held(&epi->ep->mtx));
937 struct wakeup_source *ws = ep_wakeup_source(epi);
939 if (ws)
940 __pm_stay_awake(ws);
945 return rcu_access_pointer(epi->ws) ? true : false;
951 struct wakeup_source *ws;
954 ws = rcu_dereference(epi->ws);
955 if (ws)
956 __pm_stay_awake(ws);
1026 __pm_relax(ep->ws);
1059 wakeup_source_unregister(ep->ws);
1741 struct wakeup_source *ws;
1743 if (!epi->ep->ws) {
1744 epi->ep->ws = wakeup_source_register(NULL, "eventpoll");
1745 if (!epi->ep->ws)
1750 ws = wakeup_source_register(NULL, n.name.name);
1753 if (!ws)
1755 rcu_assign_pointer(epi->ws, ws);
1763 struct wakeup_source *ws = ep_wakeup_source(epi);
1765 RCU_INIT_POINTER(epi->ws, NULL);
1773 wakeup_source_unregister(ws);
2078 struct wakeup_source *ws;
2082 * Activate ep->ws before deactivating epi->ws to prevent
2083 * triggering auto-suspend here (in case we reactivate epi->ws
2085 * epi->ws drift out of sync with ep_is_linked().
2087 ws = ep_wakeup_source(epi);
2088 if (ws) {
2089 if (ws->active)
2090 __pm_stay_awake(ep->ws);
2091 __pm_relax(ws);