Searched defs:local (Results 1 - 25 of 76) sorted by relevance

1234

/net/mac80211/
H A Ddebugfs.h7 void debugfs_hw_add(struct ieee80211_local *local);
11 static inline void debugfs_hw_add(struct ieee80211_local *local) argument
H A Dpm.c11 struct ieee80211_local *local = hw_to_local(hw); local
15 if (!local->open_count)
18 ieee80211_scan_cancel(local);
20 ieee80211_dfs_cac_cancel(local);
22 ieee80211_roc_purge(local, NULL);
24 ieee80211_del_virtual_monitor(local);
27 mutex_lock(&local->sta_mtx);
28 list_for_each_entry(sta, &local->sta_list, list) {
33 mutex_unlock(&local->sta_mtx);
44 ieee80211_flush_queues(local, NUL
[all...]
H A Dled.h15 void ieee80211_led_rx(struct ieee80211_local *local);
16 void ieee80211_led_tx(struct ieee80211_local *local);
17 void ieee80211_led_assoc(struct ieee80211_local *local,
19 void ieee80211_led_radio(struct ieee80211_local *local,
21 void ieee80211_led_names(struct ieee80211_local *local);
22 void ieee80211_led_init(struct ieee80211_local *local);
23 void ieee80211_led_exit(struct ieee80211_local *local);
24 void ieee80211_mod_tpt_led_trig(struct ieee80211_local *local,
27 static inline void ieee80211_led_rx(struct ieee80211_local *local) argument
30 static inline void ieee80211_led_tx(struct ieee80211_local *local) argument
33 ieee80211_led_assoc(struct ieee80211_local *local, bool associated) argument
37 ieee80211_led_radio(struct ieee80211_local *local, bool enabled) argument
41 ieee80211_led_names(struct ieee80211_local *local) argument
44 ieee80211_led_init(struct ieee80211_local *local) argument
47 ieee80211_led_exit(struct ieee80211_local *local) argument
50 ieee80211_mod_tpt_led_trig(struct ieee80211_local *local, unsigned int types_on, unsigned int types_off) argument
58 ieee80211_tpt_led_trig_tx(struct ieee80211_local *local, __le16 fc, int bytes) argument
67 ieee80211_tpt_led_trig_rx(struct ieee80211_local *local, __le16 fc, int bytes) argument
[all...]
H A Dwme.c81 struct ieee80211_local *local = sdata->local; local
84 if (local->hw.queues < IEEE80211_NUM_ACS)
106 struct ieee80211_local *local = sdata->local; local
112 if (local->hw.queues < IEEE80211_NUM_ACS || skb->len < 6) {
177 * @sdata: local subif
H A Doffchannel.c29 struct ieee80211_local *local = sdata->local; local
32 local->offchannel_ps_enabled = false;
34 /* FIXME: what to do when local->pspolling is true? */
36 del_timer_sync(&local->dynamic_ps_timer);
40 cancel_work_sync(&local->dynamic_ps_enable_work);
42 if (local->hw.conf.flags & IEEE80211_CONF_PS) {
43 local->offchannel_ps_enabled = true;
44 local->hw.conf.flags &= ~IEEE80211_CONF_PS;
45 ieee80211_hw_config(local, IEEE80211_CONF_CHANGE_P
66 struct ieee80211_local *local = sdata->local; local
105 ieee80211_offchannel_stop_vifs(struct ieee80211_local *local) argument
153 ieee80211_offchannel_return(struct ieee80211_local *local) argument
212 struct ieee80211_local *local = local
247 struct ieee80211_local *local = hw_to_local(hw); local
257 ieee80211_start_next_roc(struct ieee80211_local *local) argument
337 struct ieee80211_local *local = sdata->local; local
423 struct ieee80211_local *local = local
451 struct ieee80211_local *local = hw_to_local(hw); local
459 ieee80211_roc_setup(struct ieee80211_local *local) argument
466 ieee80211_roc_purge(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata) argument
[all...]
H A Drate.h23 struct ieee80211_local *local; member in struct:rate_control_ref
32 static inline void rate_control_tx_status(struct ieee80211_local *local, argument
37 struct rate_control_ref *ref = local->rate_ctrl;
50 struct ieee80211_local *local = sta->sdata->local; local
70 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band];
78 static inline void rate_control_rate_update(struct ieee80211_local *local, argument
82 struct rate_control_ref *ref = local->rate_ctrl;
100 drv_sta_rc_update(local, sta->sdata, &sta->sta, changed);
140 int ieee80211_init_rate_ctrl_alg(struct ieee80211_local *local,
[all...]
H A Dspectmgmt.c86 new_chan = ieee80211_get_channel(sdata->local->hw.wiphy, new_freq);
194 struct ieee80211_local *local = sdata->local; local
198 skb = dev_alloc_skb(sizeof(*msr_report) + local->hw.extra_tx_headroom +
203 skb_reserve(skb, local->hw.extra_tx_headroom);
H A Dethtool.c19 struct ieee80211_local *local = wiphy_priv(dev->ieee80211_ptr->wiphy); local
24 return drv_set_ringparam(local, rp->tx_pending, rp->rx_pending);
30 struct ieee80211_local *local = wiphy_priv(dev->ieee80211_ptr->wiphy); local
34 drv_get_ringparam(local, &rp->tx_pending, &rp->tx_max_pending,
72 struct ieee80211_local *local = sdata->local; local
103 mutex_lock(&local->sta_mtx);
133 list_for_each_entry(sta, &local->sta_list, list) {
162 if (drv_get_survey(local, q, &survey) != 0) {
199 mutex_unlock(&local
[all...]
H A Dled.c17 void ieee80211_led_rx(struct ieee80211_local *local) argument
20 if (unlikely(!local->rx_led))
22 led_trigger_blink_oneshot(local->rx_led, &led_delay, &led_delay, 0);
25 void ieee80211_led_tx(struct ieee80211_local *local) argument
28 if (unlikely(!local->tx_led))
30 led_trigger_blink_oneshot(local->tx_led, &led_delay, &led_delay, 0);
33 void ieee80211_led_assoc(struct ieee80211_local *local, bool associated) argument
35 if (unlikely(!local->assoc_led))
38 led_trigger_event(local->assoc_led, LED_FULL);
40 led_trigger_event(local
43 ieee80211_led_radio(struct ieee80211_local *local, bool enabled) argument
53 ieee80211_led_names(struct ieee80211_local *local) argument
65 ieee80211_led_init(struct ieee80211_local *local) argument
111 ieee80211_led_exit(struct ieee80211_local *local) argument
138 struct ieee80211_local *local = hw_to_local(hw); local
146 struct ieee80211_local *local = hw_to_local(hw); local
154 struct ieee80211_local *local = hw_to_local(hw); local
162 struct ieee80211_local *local = hw_to_local(hw); local
168 tpt_trig_traffic(struct ieee80211_local *local, struct tpt_led_trigger *tpt_trig) argument
182 struct ieee80211_local *local = (void *)data; local
219 struct ieee80211_local *local = hw_to_local(hw); local
246 ieee80211_start_tpt_led_trig(struct ieee80211_local *local) argument
261 ieee80211_stop_tpt_led_trig(struct ieee80211_local *local) argument
278 ieee80211_mod_tpt_led_trig(struct ieee80211_local *local, unsigned int types_on, unsigned int types_off) argument
[all...]
H A Dmesh_sync.c51 struct ieee80211_local *local = sdata->local; local
73 tsf = drv_get_tsf(local, sdata);
75 drv_set_tsf(local, sdata, tsf + tsfdelta);
85 struct ieee80211_local *local = sdata->local; local
102 t_r = ieee80211_calculate_rx_timestamp(local, rx_status,
108 t_r = drv_get_tsf(local, sdata);
H A Dwep.c28 int ieee80211_wep_init(struct ieee80211_local *local) argument
31 get_random_bytes(&local->wep_iv, IEEE80211_WEP_IV_LEN);
33 local->wep_tx_tfm = crypto_alloc_cipher("arc4", 0, CRYPTO_ALG_ASYNC);
34 if (IS_ERR(local->wep_tx_tfm)) {
35 local->wep_rx_tfm = ERR_PTR(-EINVAL);
36 return PTR_ERR(local->wep_tx_tfm);
39 local->wep_rx_tfm = crypto_alloc_cipher("arc4", 0, CRYPTO_ALG_ASYNC);
40 if (IS_ERR(local->wep_rx_tfm)) {
41 crypto_free_cipher(local->wep_tx_tfm);
42 local
49 ieee80211_wep_free(struct ieee80211_local *local) argument
73 ieee80211_wep_get_iv(struct ieee80211_local *local, int keylen, int keyidx, u8 *iv) argument
90 ieee80211_wep_add_iv(struct ieee80211_local *local, struct sk_buff *skb, int keylen, int keyidx) argument
121 ieee80211_wep_remove_iv(struct ieee80211_local *local, struct sk_buff *skb, struct ieee80211_key *key) argument
164 ieee80211_wep_encrypt(struct ieee80211_local *local, struct sk_buff *skb, const u8 *key, int keylen, int keyidx) argument
225 ieee80211_wep_decrypt(struct ieee80211_local *local, struct sk_buff *skb, struct ieee80211_key *key) argument
[all...]
H A Dagg-rx.c64 struct ieee80211_local *local = sta->local; local
83 if (drv_ampdu_action(local, sta->sdata, IEEE80211_AMPDU_RX_STOP,
125 ieee80211_queue_work(&sta->local->hw, &sta->ampdu_mlme.work);
166 ieee80211_queue_work(&sta->local->hw, &sta->ampdu_mlme.work);
185 struct ieee80211_local *local = sdata->local; local
190 skb = dev_alloc_skb(sizeof(*mgmt) + local->hw.extra_tx_headroom);
194 skb_reserve(skb, local->hw.extra_tx_headroom);
232 struct ieee80211_local *local local
350 ieee80211_process_addba_request(struct ieee80211_local *local, struct sta_info *sta, struct ieee80211_mgmt *mgmt, size_t len) argument
378 struct ieee80211_local *local = sdata->local; local
399 struct ieee80211_local *local = sdata->local; local
[all...]
H A Dagg-tx.c67 struct ieee80211_local *local = sdata->local; local
72 skb = dev_alloc_skb(sizeof(*mgmt) + local->hw.extra_tx_headroom);
77 skb_reserve(skb, local->hw.extra_tx_headroom);
116 struct ieee80211_local *local = sdata->local; local
121 skb = dev_alloc_skb(sizeof(*bar) + local->hw.extra_tx_headroom);
125 skb_reserve(skb, local->hw.extra_tx_headroom);
175 if (atomic_inc_return(&sdata->local->agg_queue_stop[queue]) == 1)
177 &sdata->local
204 struct ieee80211_local *local = sdata->local; local
262 struct ieee80211_local *local = sta->local; local
412 struct ieee80211_local *local = sta->local; local
513 struct ieee80211_local *local = sdata->local; local
638 ieee80211_agg_tx_operational(struct ieee80211_local *local, struct sta_info *sta, u16 tid) argument
675 struct ieee80211_local *local = sdata->local; local
718 struct ieee80211_local *local = sdata->local; local
753 struct ieee80211_local *local = sdata->local; local
791 struct ieee80211_local *local = sdata->local; local
841 struct ieee80211_local *local = sdata->local; local
859 ieee80211_process_addba_resp(struct ieee80211_local *local, struct sta_info *sta, struct ieee80211_mgmt *mgmt, size_t len) argument
[all...]
H A Ddebugfs.c34 struct ieee80211_local *local = file->private_data; local
42 tx_latency = rcu_dereference(local->tx_latency);
102 struct ieee80211_local *local = file->private_data; local
118 mutex_lock(&local->sta_mtx);
121 if (local->num_sta)
125 rcu_dereference_protected(local->tx_latency,
126 lockdep_is_held(&local->sta_mtx));
132 RCU_INIT_POINTER(local->tx_latency, NULL);
172 rcu_assign_pointer(local->tx_latency, tx_latency);
175 mutex_unlock(&local
244 struct ieee80211_local *local = file->private_data; local
264 struct ieee80211_local *local = file->private_data; local
328 struct ieee80211_local *local = file->private_data; local
348 format_devstat_counter(struct ieee80211_local *local, char __user *userbuf, size_t count, loff_t *ppos, int (*printvalue)(struct ieee80211_low_level_stats *stats, char *buf, int buflen)) argument
400 debugfs_hw_add(struct ieee80211_local *local) argument
[all...]
H A Dht.c364 struct ieee80211_local *local = sdata->local; local
369 skb = dev_alloc_skb(sizeof(*mgmt) + local->hw.extra_tx_headroom);
373 skb_reserve(skb, local->hw.extra_tx_headroom);
430 struct ieee80211_local *local = sdata->local; local
435 skb = dev_alloc_skb(27 + local->hw.extra_tx_headroom);
439 skb_reserve(skb, local->hw.extra_tx_headroom);
510 ieee80211_queue_work(&sdata->local->hw,
519 ieee80211_queue_work(&sdata->local
[all...]
H A Dkey.h54 struct ieee80211_local *local; member in struct:ieee80211_key
141 void ieee80211_free_sta_keys(struct ieee80211_local *local,
145 #define key_mtx_dereference(local, ref) \
146 rcu_dereference_protected(ref, lockdep_is_held(&((local)->key_mtx)))
/net/rxrpc/
H A Dar-error.c26 * handle an error received on the local endpoint
32 struct rxrpc_local *local = sk->sk_user_data; local
38 _enter("%p{%d}", sk, local->debug_id);
55 peer = rxrpc_find_peer(local, addr, port);
62 trans = rxrpc_find_transport(local, peer);
78 /* wind down the local interface MTU */
192 _proto("Rx Received local error { error=%d }",
H A Dar-local.c1 /* AF_RXRPC local endpoint management
28 * allocate a new local
33 struct rxrpc_local *local; local
35 local = kzalloc(sizeof(struct rxrpc_local), GFP_KERNEL);
36 if (local) {
37 INIT_WORK(&local->destroyer, &rxrpc_destroy_local);
38 INIT_WORK(&local->acceptor, &rxrpc_accept_incoming_calls);
39 INIT_WORK(&local->rejecter, &rxrpc_reject_packets);
40 INIT_LIST_HEAD(&local->services);
41 INIT_LIST_HEAD(&local
60 rxrpc_create_local(struct rxrpc_local *local) argument
132 struct rxrpc_local *local; local
221 rxrpc_put_local(struct rxrpc_local *local) argument
243 struct rxrpc_local *local = local
[all...]
H A Dar-peer.c195 struct rxrpc_peer *rxrpc_find_peer(struct rxrpc_local *local, argument
205 if (local->srx.transport.family == AF_INET &&
206 local->srx.transport_type == SOCK_DGRAM
H A Dar-transport.c34 static struct rxrpc_transport *rxrpc_alloc_transport(struct rxrpc_local *local, argument
44 trans->local = local;
78 struct rxrpc_transport *rxrpc_get_transport(struct rxrpc_local *local, argument
87 &local->srx.transport.sin.sin_addr,
88 ntohs(local->srx.transport.sin.sin_port),
95 if (trans->local == local && trans->peer == peer)
102 candidate = rxrpc_alloc_transport(local, peer, gfp);
111 if (trans->local
153 rxrpc_find_transport(struct rxrpc_local *local, struct rxrpc_peer *peer) argument
[all...]
H A Dar-security.c166 struct rxrpc_local *local = conn->trans->local; local
183 read_lock_bh(&local->services_lock);
184 list_for_each_entry(rx, &local->services, listen_link) {
190 read_unlock_bh(&local->services_lock);
197 read_unlock_bh(&local->services_lock);
207 read_unlock_bh(&local->services_lock);
214 read_unlock_bh(&local->services_lock);
H A Dar-accept.c29 static int rxrpc_busy(struct rxrpc_local *local, struct sockaddr_rxrpc *srx, argument
37 _enter("%d,,", local->debug_id);
59 ret = kernel_sendmsg(local->socket, &msg, iov, 1, len);
73 static int rxrpc_accept_incoming_call(struct rxrpc_local *local, argument
107 trans = rxrpc_get_transport(local, peer, GFP_NOIO);
132 read_lock_bh(&local->services_lock);
177 read_unlock_bh(&local->services_lock);
185 read_unlock_bh(&local->services_lock);
209 struct rxrpc_local *local = local
218 _enter("%d", local
[all...]
H A Dar-connevent.c115 ret = kernel_sendmsg(conn->trans->local->socket, &msg, iov, 2, len);
315 void rxrpc_reject_packet(struct rxrpc_local *local, struct sk_buff *skb) argument
317 CHECK_SLAB_OKAY(&local->usage);
319 if (!atomic_inc_not_zero(&local->usage)) {
324 skb_queue_tail(&local->reject_queue, skb);
325 rxrpc_queue_work(&local->rejecter);
329 * reject packets through the local endpoint
339 struct rxrpc_local *local; local
346 local = container_of(work, struct rxrpc_local, rejecter);
347 rxrpc_get_local(local);
[all...]
H A Dar-input.c571 rxrpc_reject_packet(call->conn->trans->local, skb);
596 static struct rxrpc_connection *rxrpc_conn_from_local(struct rxrpc_local *local, argument
604 peer = rxrpc_find_peer(local, ip_hdr(skb)->saddr,
609 trans = rxrpc_find_transport(local, peer);
625 * handle data received on the local endpoint
631 struct rxrpc_local *local; local
640 local = sk->sk_user_data;
641 if (local && atomic_read(&local->usage) > 0)
642 rxrpc_get_local(local);
[all...]
/net/openvswitch/
H A Dvport-netdev.c80 struct vport *local; local
82 local = ovs_vport_ovsl(dp, OVSP_LOCAL);
83 BUG_ON(!local);
84 return netdev_vport_priv(local)->dev;

Completed in 468 milliseconds

1234