Home
last modified time | relevance | path

Searched refs:ps_lock (Results 1 – 12 of 12) sorted by relevance

/Linux-v4.19/Documentation/livepatch/
Dshadow-vars.txt105 allocate a shadow copy of the ps_lock pointer, then initialize it:
112 spinlock_t *ps_lock;
118 ps_lock = klp_shadow_alloc(sta, PS_LOCK, sizeof(*ps_lock), gfp,
120 if (!ps_lock)
122 spin_lock_init(ps_lock);
125 When requiring a ps_lock, query the shadow variable API to retrieve one
130 spinlock_t *ps_lock;
133 ps_lock = klp_shadow_get(sta, PS_LOCK);
134 if (ps_lock)
135 spin_lock(ps_lock);
[all …]
/Linux-v4.19/drivers/staging/rtl8192e/rtl8192e/
Drtl_ps.c94 spin_lock_irqsave(&priv->ps_lock, flags); in rtl92e_enter_sleep()
100 spin_unlock_irqrestore(&priv->ps_lock, flags); in rtl92e_enter_sleep()
109 spin_unlock_irqrestore(&priv->ps_lock, flags); in rtl92e_enter_sleep()
115 spin_unlock_irqrestore(&priv->ps_lock, flags); in rtl92e_enter_sleep()
Drtl_core.h368 spinlock_t ps_lock; member
Drtl_core.c995 spin_lock_init(&priv->ps_lock); in _rtl92e_init_priv_lock()
/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Dpci.c453 lockdep_assert_held(&ar_pci->ps_lock); in __ath10k_pci_wake()
467 lockdep_assert_held(&ar_pci->ps_lock); in __ath10k_pci_sleep()
510 spin_lock_irqsave(&ar_pci->ps_lock, flags); in ath10k_pci_force_wake()
522 spin_unlock_irqrestore(&ar_pci->ps_lock, flags); in ath10k_pci_force_wake()
532 spin_lock_irqsave(&ar_pci->ps_lock, flags); in ath10k_pci_force_sleep()
539 spin_unlock_irqrestore(&ar_pci->ps_lock, flags); in ath10k_pci_force_sleep()
551 spin_lock_irqsave(&ar_pci->ps_lock, flags); in ath10k_pci_wake()
572 spin_unlock_irqrestore(&ar_pci->ps_lock, flags); in ath10k_pci_wake()
585 spin_lock_irqsave(&ar_pci->ps_lock, flags); in ath10k_pci_sleep()
599 spin_unlock_irqrestore(&ar_pci->ps_lock, flags); in ath10k_pci_sleep()
[all …]
Dpci.h142 spinlock_t ps_lock; member
/Linux-v4.19/drivers/net/wireless/rsi/
Drsi_main.h322 spinlock_t ps_lock; /*To protect power save config*/ member
Drsi_91x_main.c331 spin_lock_init(&adapter->ps_lock); in rsi_91x_init()
Drsi_91x_mac80211.c639 spin_lock_irqsave(&adapter->ps_lock, flags); in rsi_mac80211_config()
644 spin_unlock_irqrestore(&adapter->ps_lock, flags); in rsi_mac80211_config()
/Linux-v4.19/net/mac80211/
Dsta_info.h525 spinlock_t ps_lock; member
Dsta_info.c324 spin_lock_init(&sta->ps_lock); in sta_info_alloc()
1254 spin_lock(&sta->ps_lock); in ieee80211_sta_ps_deliver_wakeup()
1283 spin_unlock(&sta->ps_lock); in ieee80211_sta_ps_deliver_wakeup()
Dtx.c512 spin_lock(&sta->ps_lock); in ieee80211_tx_h_unicast_ps_buf()
521 spin_unlock(&sta->ps_lock); in ieee80211_tx_h_unicast_ps_buf()
539 spin_unlock(&sta->ps_lock); in ieee80211_tx_h_unicast_ps_buf()