Home
last modified time | relevance | path

Searched refs:ps (Results 1 – 16 of 16) sorted by relevance

/net/l2tp/
Dl2tp_ppp.c140 struct pppol2tp_session *ps = l2tp_session_priv(session); in pppol2tp_session_get_sock() local
144 sk = rcu_dereference(ps->sk); in pppol2tp_session_get_sock()
213 struct pppol2tp_session *ps = l2tp_session_priv(session); in pppol2tp_recv() local
220 sk = rcu_dereference(ps->sk); in pppol2tp_recv()
405 struct pppol2tp_session *ps; in pppol2tp_put_sk() local
407 ps = container_of(head, typeof(*ps), rcu); in pppol2tp_put_sk()
408 sock_put(ps->__sk); in pppol2tp_put_sk()
453 struct pppol2tp_session *ps; in pppol2tp_release() local
457 ps = l2tp_session_priv(session); in pppol2tp_release()
458 mutex_lock(&ps->sk_lock); in pppol2tp_release()
[all …]
/net/mac80211/
Dtx.c361 struct ps_data *ps; in purge_old_ps_buffers() local
364 ps = &sdata->u.ap.ps; in purge_old_ps_buffers()
366 ps = &sdata->u.mesh.ps; in purge_old_ps_buffers()
370 skb = skb_dequeue(&ps->bc_buf); in purge_old_ps_buffers()
375 total += skb_queue_len(&ps->bc_buf); in purge_old_ps_buffers()
405 struct ps_data *ps; in ieee80211_tx_h_multicast_ps_buf() local
421 ps = &tx->sdata->bss->ps; in ieee80211_tx_h_multicast_ps_buf()
423 ps = &tx->sdata->u.mesh.ps; in ieee80211_tx_h_multicast_ps_buf()
440 if (!atomic_read(&ps->num_sta_ps) && skb_queue_empty(&ps->bc_buf)) in ieee80211_tx_h_multicast_ps_buf()
453 if (skb_queue_len(&ps->bc_buf) >= AP_MAX_BC_BUFFER) { in ieee80211_tx_h_multicast_ps_buf()
[all …]
Dsta_info.c90 struct ps_data *ps; in __cleanup_single_sta() local
97 ps = &sdata->bss->ps; in __cleanup_single_sta()
99 ps = &sdata->u.mesh.ps; in __cleanup_single_sta()
107 atomic_dec(&ps->num_sta_ps); in __cleanup_single_sta()
780 struct ps_data *ps; in __sta_info_recalc_tim() local
791 ps = &sta->sdata->bss->ps; in __sta_info_recalc_tim()
794 ps = &sta->sdata->u.mesh.ps; in __sta_info_recalc_tim()
841 if (indicate_tim == __bss_tim_get(ps->tim, id)) in __sta_info_recalc_tim()
845 __bss_tim_set(ps->tim, id); in __sta_info_recalc_tim()
847 __bss_tim_clear(ps->tim, id); in __sta_info_recalc_tim()
[all …]
Diface.c801 struct ps_data *ps; in ieee80211_do_stop() local
922 ps = &sdata->bss->ps; in ieee80211_do_stop()
924 spin_lock_irqsave(&ps->bc_buf.lock, flags); in ieee80211_do_stop()
925 skb_queue_walk_safe(&ps->bc_buf, skb, tmp) { in ieee80211_do_stop()
927 __skb_unlink(skb, &ps->bc_buf); in ieee80211_do_stop()
932 spin_unlock_irqrestore(&ps->bc_buf.lock, flags); in ieee80211_do_stop()
1424 skb_queue_head_init(&sdata->u.ap.ps.bc_buf); in ieee80211_setup_sdata()
Dutil.c245 struct ps_data *ps = NULL; in __ieee80211_wake_txqs() local
254 ps = &sdata->bss->ps; in __ieee80211_wake_txqs()
289 (ps && atomic_read(&ps->num_sta_ps)) || ac != vif->txq->ac) in __ieee80211_wake_txqs()
3852 struct ps_data *ps; in ieee80211_recalc_dtim() local
3863 ps = &sdata->bss->ps; in ieee80211_recalc_dtim()
3865 ps = &sdata->u.mesh.ps; in ieee80211_recalc_dtim()
3883 ps->dtim_count = dtim_count; in ieee80211_recalc_dtim()
Ddebugfs_netdev.c474 IEEE80211_IF_FILE(num_sta_ps, u.ap.ps.num_sta_ps, ATOMIC);
475 IEEE80211_IF_FILE(dtim_count, u.ap.ps.dtim_count, DEC);
482 skb_queue_len(&sdata->u.ap.ps.bc_buf)); in ieee80211_if_fmt_num_buffered_multicast()
Dmesh.c1029 local->total_ps_buffered -= skb_queue_len(&ifmsh->ps.bc_buf); in ieee80211_stop_mesh()
1030 skb_queue_purge(&ifmsh->ps.bc_buf); in ieee80211_stop_mesh()
1560 skb_queue_head_init(&ifmsh->ps.bc_buf); in ieee80211_mesh_init_sdata()
Dmesh_ps.c264 atomic_inc(&sta->sdata->u.mesh.ps.num_sta_ps); in ieee80211_mps_sta_status_update()
Dtrace.h422 __field(bool, ps);
462 __entry->ps = info->ps;
Dieee80211_i.h282 struct ps_data ps; member
715 struct ps_data ps; member
Drx.c1565 struct ps_data *ps; in sta_ps_start() local
1570 ps = &sdata->bss->ps; in sta_ps_start()
1574 atomic_inc(&ps->num_sta_ps); in sta_ps_start()
Dmlme.c1714 if (sdata->vif.bss_conf.ps != ps_allowed) { in ieee80211_recalc_ps_vif()
1715 sdata->vif.bss_conf.ps = ps_allowed; in ieee80211_recalc_ps_vif()
4617 ifmgd->powersave = sdata->wdev.ps; in ieee80211_sta_setup_sdata()
Dcfg.c1194 local->total_ps_buffered -= skb_queue_len(&sdata->u.ap.ps.bc_buf); in ieee80211_stop_ap()
1195 ieee80211_purge_tx_queue(&local->hw, &sdata->u.ap.ps.bc_buf); in ieee80211_stop_ap()
/net/wireless/
Dwext-compat.c1102 bool ps = wdev->ps; in cfg80211_wext_siwpower() local
1113 ps = false; in cfg80211_wext_siwpower()
1119 ps = true; in cfg80211_wext_siwpower()
1132 err = rdev_set_power_mgmt(rdev, dev, ps, timeout); in cfg80211_wext_siwpower()
1136 wdev->ps = ps; in cfg80211_wext_siwpower()
1149 wrq->disabled = !wdev->ps; in cfg80211_wext_giwpower()
Dcore.c1260 wdev->ps = true; in cfg80211_init_wdev()
1262 wdev->ps = false; in cfg80211_init_wdev()
1391 rdev_set_power_mgmt(rdev, dev, wdev->ps, in cfg80211_netdev_notifier_call()
1394 wdev->ps = false; in cfg80211_netdev_notifier_call()
Dnl80211.c10961 if (state == wdev->ps) in nl80211_set_power_save()
10966 wdev->ps = state; in nl80211_set_power_save()
10996 if (wdev->ps) in nl80211_get_power_save()