Home
last modified time | relevance | path

Searched refs:local (Results 1 – 200 of 764) sorted by relevance

1234

/linux-4.4.14/net/mac80211/
Ddriver-ops.h25 static inline void drv_tx(struct ieee80211_local *local, in drv_tx() argument
29 local->ops->tx(&local->hw, control, skb); in drv_tx()
35 struct ieee80211_local *local = sdata->local; in drv_get_et_strings() local
36 if (local->ops->get_et_strings) { in drv_get_et_strings()
37 trace_drv_get_et_strings(local, sset); in drv_get_et_strings()
38 local->ops->get_et_strings(&local->hw, &sdata->vif, sset, data); in drv_get_et_strings()
39 trace_drv_return_void(local); in drv_get_et_strings()
47 struct ieee80211_local *local = sdata->local; in drv_get_et_stats() local
48 if (local->ops->get_et_stats) { in drv_get_et_stats()
49 trace_drv_get_et_stats(local); in drv_get_et_stats()
[all …]
Dscan.c32 void ieee80211_rx_bss_put(struct ieee80211_local *local, in ieee80211_rx_bss_put() argument
37 cfg80211_put_bss(local->hw.wiphy, in ieee80211_rx_bss_put()
59 ieee80211_bss_info_update(struct ieee80211_local *local, in ieee80211_bss_info_update() argument
72 if (ieee80211_hw_check(&local->hw, SIGNAL_DBM)) in ieee80211_bss_info_update()
74 else if (ieee80211_hw_check(&local->hw, SIGNAL_UNSPEC)) in ieee80211_bss_info_update()
75 bss_meta.signal = (rx_status->signal * 100) / local->hw.max_signal; in ieee80211_bss_info_update()
84 cbss = cfg80211_inform_bss_frame_data(local->hw.wiphy, &bss_meta, in ieee80211_bss_info_update()
90 <= local->hw.wiphy->max_adj_channel_rssi_comp; in ieee80211_bss_info_update()
158 local->hw.wiphy->bands[rx_status->band]; in ieee80211_bss_info_update()
168 void ieee80211_scan_rx(struct ieee80211_local *local, struct sk_buff *skb) in ieee80211_scan_rx() argument
[all …]
Dled.c15 void ieee80211_led_assoc(struct ieee80211_local *local, bool associated) in ieee80211_led_assoc() argument
17 if (!atomic_read(&local->assoc_led_active)) in ieee80211_led_assoc()
20 led_trigger_event(&local->assoc_led, LED_FULL); in ieee80211_led_assoc()
22 led_trigger_event(&local->assoc_led, LED_OFF); in ieee80211_led_assoc()
25 void ieee80211_led_radio(struct ieee80211_local *local, bool enabled) in ieee80211_led_radio() argument
27 if (!atomic_read(&local->radio_led_active)) in ieee80211_led_radio()
30 led_trigger_event(&local->radio_led, LED_FULL); in ieee80211_led_radio()
32 led_trigger_event(&local->radio_led, LED_OFF); in ieee80211_led_radio()
35 void ieee80211_alloc_led_names(struct ieee80211_local *local) in ieee80211_alloc_led_names() argument
37 local->rx_led.name = kasprintf(GFP_KERNEL, "%srx", in ieee80211_alloc_led_names()
[all …]
Dmain.c36 void ieee80211_configure_filter(struct ieee80211_local *local) in ieee80211_configure_filter() argument
42 if (atomic_read(&local->iff_allmultis)) in ieee80211_configure_filter()
45 if (local->monitors || test_bit(SCAN_SW_SCANNING, &local->scanning) || in ieee80211_configure_filter()
46 test_bit(SCAN_ONCHANNEL_SCANNING, &local->scanning)) in ieee80211_configure_filter()
49 if (local->fif_probe_req || local->probe_req_reg) in ieee80211_configure_filter()
52 if (local->fif_fcsfail) in ieee80211_configure_filter()
55 if (local->fif_plcpfail) in ieee80211_configure_filter()
58 if (local->fif_control) in ieee80211_configure_filter()
61 if (local->fif_other_bss) in ieee80211_configure_filter()
64 if (local->fif_pspoll) in ieee80211_configure_filter()
[all …]
Doffchannel.c29 struct ieee80211_local *local = sdata->local; in ieee80211_offchannel_ps_enable() local
32 local->offchannel_ps_enabled = false; in ieee80211_offchannel_ps_enable()
36 del_timer_sync(&local->dynamic_ps_timer); in ieee80211_offchannel_ps_enable()
40 cancel_work_sync(&local->dynamic_ps_enable_work); in ieee80211_offchannel_ps_enable()
42 if (local->hw.conf.flags & IEEE80211_CONF_PS) { in ieee80211_offchannel_ps_enable()
43 local->offchannel_ps_enabled = true; in ieee80211_offchannel_ps_enable()
44 local->hw.conf.flags &= ~IEEE80211_CONF_PS; in ieee80211_offchannel_ps_enable()
45 ieee80211_hw_config(local, IEEE80211_CONF_CHANGE_PS); in ieee80211_offchannel_ps_enable()
48 if (!local->offchannel_ps_enabled || in ieee80211_offchannel_ps_enable()
49 !ieee80211_hw_check(&local->hw, PS_NULLFUNC_STACK)) in ieee80211_offchannel_ps_enable()
[all …]
Ddriver-ops.c13 int drv_start(struct ieee80211_local *local) in drv_start() argument
19 if (WARN_ON(local->started)) in drv_start()
22 trace_drv_start(local); in drv_start()
23 local->started = true; in drv_start()
26 ret = local->ops->start(&local->hw); in drv_start()
27 trace_drv_return_int(local, ret); in drv_start()
30 local->started = false; in drv_start()
35 void drv_stop(struct ieee80211_local *local) in drv_stop() argument
39 if (WARN_ON(!local->started)) in drv_stop()
42 trace_drv_stop(local); in drv_stop()
[all …]
Dpm.c9 static void ieee80211_sched_scan_cancel(struct ieee80211_local *local) in ieee80211_sched_scan_cancel() argument
11 if (ieee80211_request_sched_scan_stop(local)) in ieee80211_sched_scan_cancel()
13 cfg80211_sched_scan_stopped_rtnl(local->hw.wiphy); in ieee80211_sched_scan_cancel()
18 struct ieee80211_local *local = hw_to_local(hw); in __ieee80211_suspend() local
22 if (!local->open_count) in __ieee80211_suspend()
25 ieee80211_scan_cancel(local); in __ieee80211_suspend()
27 ieee80211_dfs_cac_cancel(local); in __ieee80211_suspend()
29 ieee80211_roc_purge(local, NULL); in __ieee80211_suspend()
31 ieee80211_del_virtual_monitor(local); in __ieee80211_suspend()
35 mutex_lock(&local->sta_mtx); in __ieee80211_suspend()
[all …]
Dchan.c12 static int ieee80211_chanctx_num_assigned(struct ieee80211_local *local, in ieee80211_chanctx_num_assigned() argument
18 lockdep_assert_held(&local->chanctx_mtx); in ieee80211_chanctx_num_assigned()
26 static int ieee80211_chanctx_num_reserved(struct ieee80211_local *local, in ieee80211_chanctx_num_reserved() argument
32 lockdep_assert_held(&local->chanctx_mtx); in ieee80211_chanctx_num_reserved()
40 int ieee80211_chanctx_refcount(struct ieee80211_local *local, in ieee80211_chanctx_refcount() argument
43 return ieee80211_chanctx_num_assigned(local, ctx) + in ieee80211_chanctx_refcount()
44 ieee80211_chanctx_num_reserved(local, ctx); in ieee80211_chanctx_refcount()
47 static int ieee80211_num_chanctx(struct ieee80211_local *local) in ieee80211_num_chanctx() argument
52 lockdep_assert_held(&local->chanctx_mtx); in ieee80211_num_chanctx()
54 list_for_each_entry(ctx, &local->chanctx_list, list) in ieee80211_num_chanctx()
[all …]
Dled.h16 static inline void ieee80211_led_rx(struct ieee80211_local *local) in ieee80211_led_rx() argument
21 if (!atomic_read(&local->rx_led_active)) in ieee80211_led_rx()
23 led_trigger_blink_oneshot(&local->rx_led, &led_delay, &led_delay, 0); in ieee80211_led_rx()
27 static inline void ieee80211_led_tx(struct ieee80211_local *local) in ieee80211_led_tx() argument
32 if (!atomic_read(&local->tx_led_active)) in ieee80211_led_tx()
34 led_trigger_blink_oneshot(&local->tx_led, &led_delay, &led_delay, 0); in ieee80211_led_tx()
39 void ieee80211_led_assoc(struct ieee80211_local *local,
41 void ieee80211_led_radio(struct ieee80211_local *local,
43 void ieee80211_alloc_led_names(struct ieee80211_local *local);
44 void ieee80211_free_led_names(struct ieee80211_local *local);
[all …]
Diface.c69 ieee80211_hw_config(sdata->local, 0); in __ieee80211_recalc_txpower()
84 static u32 __ieee80211_idle_off(struct ieee80211_local *local) in __ieee80211_idle_off() argument
86 if (!(local->hw.conf.flags & IEEE80211_CONF_IDLE)) in __ieee80211_idle_off()
89 local->hw.conf.flags &= ~IEEE80211_CONF_IDLE; in __ieee80211_idle_off()
93 static u32 __ieee80211_idle_on(struct ieee80211_local *local) in __ieee80211_idle_on() argument
95 if (local->hw.conf.flags & IEEE80211_CONF_IDLE) in __ieee80211_idle_on()
98 ieee80211_flush_queues(local, NULL, false); in __ieee80211_idle_on()
100 local->hw.conf.flags |= IEEE80211_CONF_IDLE; in __ieee80211_idle_on()
104 static u32 __ieee80211_recalc_idle(struct ieee80211_local *local, in __ieee80211_recalc_idle() argument
110 lockdep_assert_held(&local->mtx); in __ieee80211_recalc_idle()
[all …]
Dutil.c43 struct ieee80211_local *local; in wiphy_to_ieee80211_hw() local
46 local = wiphy_priv(wiphy); in wiphy_to_ieee80211_hw()
47 return &local->hw; in wiphy_to_ieee80211_hw()
161 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_rts_duration() local
169 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_rts_duration()
205 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_ctstoself_duration() local
213 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_ctstoself_duration()
242 void ieee80211_propagate_queue_wake(struct ieee80211_local *local, int queue) in ieee80211_propagate_queue_wake() argument
247 if (local->hw.queues < IEEE80211_NUM_ACS) in ieee80211_propagate_queue_wake()
250 list_for_each_entry_rcu(sdata, &local->interfaces, list) { in ieee80211_propagate_queue_wake()
[all …]
Dtrace.h13 #define LOCAL_ASSIGN strlcpy(__entry->wiphy_name, wiphy_name(local->hw.wiphy), MAXNAME)
90 TP_PROTO(struct ieee80211_local *local),
91 TP_ARGS(local),
102 TP_PROTO(struct ieee80211_local *local,
104 TP_ARGS(local, sdata),
125 TP_PROTO(struct ieee80211_local *local, u32 value),
126 TP_ARGS(local, value),
145 TP_PROTO(struct ieee80211_local *local,
147 TP_ARGS(local, sdata),
166 TP_PROTO(struct ieee80211_local *local),
[all …]
Dwep.c28 int ieee80211_wep_init(struct ieee80211_local *local) in ieee80211_wep_init() argument
31 get_random_bytes(&local->wep_iv, IEEE80211_WEP_IV_LEN); in ieee80211_wep_init()
33 local->wep_tx_tfm = crypto_alloc_cipher("arc4", 0, CRYPTO_ALG_ASYNC); in ieee80211_wep_init()
34 if (IS_ERR(local->wep_tx_tfm)) { in ieee80211_wep_init()
35 local->wep_rx_tfm = ERR_PTR(-EINVAL); in ieee80211_wep_init()
36 return PTR_ERR(local->wep_tx_tfm); in ieee80211_wep_init()
39 local->wep_rx_tfm = crypto_alloc_cipher("arc4", 0, CRYPTO_ALG_ASYNC); in ieee80211_wep_init()
40 if (IS_ERR(local->wep_rx_tfm)) { in ieee80211_wep_init()
41 crypto_free_cipher(local->wep_tx_tfm); in ieee80211_wep_init()
42 local->wep_tx_tfm = ERR_PTR(-EINVAL); in ieee80211_wep_init()
[all …]
Dstatus.c27 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_tx_status_irqsafe() local
33 &local->skb_queue : &local->skb_queue_unreliable, skb); in ieee80211_tx_status_irqsafe()
34 tmp = skb_queue_len(&local->skb_queue) + in ieee80211_tx_status_irqsafe()
35 skb_queue_len(&local->skb_queue_unreliable); in ieee80211_tx_status_irqsafe()
37 (skb = skb_dequeue(&local->skb_queue_unreliable))) { in ieee80211_tx_status_irqsafe()
40 I802_DEBUG_INC(local->tx_status_drop); in ieee80211_tx_status_irqsafe()
42 tasklet_schedule(&local->tasklet); in ieee80211_tx_status_irqsafe()
46 static void ieee80211_handle_filtered_frame(struct ieee80211_local *local, in ieee80211_handle_filtered_frame() argument
145 if (!timer_pending(&local->sta_cleanup)) in ieee80211_handle_filtered_frame()
146 mod_timer(&local->sta_cleanup, in ieee80211_handle_filtered_frame()
[all …]
Dsta_info.c78 static int sta_info_hash_del(struct ieee80211_local *local, in sta_info_hash_del() argument
81 return rhashtable_remove_fast(&local->sta_hash, &sta->hash_node, in sta_info_hash_del()
90 struct ieee80211_local *local = sdata->local; in __cleanup_single_sta() local
116 ieee80211_purge_tx_queue(&local->hw, &txqi->queue); in __cleanup_single_sta()
122 local->total_ps_buffered -= skb_queue_len(&sta->ps_tx_buf[ac]); in __cleanup_single_sta()
123 ieee80211_purge_tx_queue(&local->hw, &sta->ps_tx_buf[ac]); in __cleanup_single_sta()
124 ieee80211_purge_tx_queue(&local->hw, &sta->tx_filtered[ac]); in __cleanup_single_sta()
143 ieee80211_purge_tx_queue(&local->hw, &tid_tx->pending); in __cleanup_single_sta()
151 struct ieee80211_local *local = sdata->local; in cleanup_single_sta() local
154 sta_info_free(local, sta); in cleanup_single_sta()
[all …]
Dcfg.c31 struct ieee80211_local *local = wiphy_priv(wiphy); in ieee80211_add_iface() local
36 err = ieee80211_if_add(local, name, name_assign_type, &wdev, type, params); in ieee80211_add_iface()
75 struct ieee80211_local *local = sdata->local; in ieee80211_change_iface() local
97 ieee80211_configure_filter(local); in ieee80211_change_iface()
117 mutex_lock(&sdata->local->chanctx_mtx); in ieee80211_start_p2p_device()
119 mutex_unlock(&sdata->local->chanctx_mtx); in ieee80211_start_p2p_device()
150 struct ieee80211_local *local = sdata->local; in ieee80211_add_key() local
164 if (IS_ERR(local->wep_tx_tfm)) in ieee80211_add_key()
177 cs = ieee80211_cs_get(local, params->cipher, sdata->vif.type); in ieee80211_add_key()
190 mutex_lock(&local->sta_mtx); in ieee80211_add_key()
[all …]
Ddebugfs.c38 struct ieee80211_local *local = file->private_data; \
56 debugfs_create_file(#name, 0400, phyd, local, &name## _ops);
59 debugfs_create_file(#name, mode, phyd, local, &name## _ops);
63 local->user_power_level);
65 local->hw.conf.power_level);
67 local->total_ps_buffered);
69 local->wep_iv & 0xffffff);
71 local->rate_ctrl ? local->rate_ctrl->ops->name : "hw/driver");
77 struct ieee80211_local *local = file->private_data; in reset_write() local
80 __ieee80211_suspend(&local->hw, NULL); in reset_write()
[all …]
Dmlme.c114 if (ieee80211_hw_check(&sdata->local->hw, CONNECTION_MONITOR)) in ieee80211_sta_reset_beacon_monitor()
130 if (ieee80211_hw_check(&sdata->local->hw, CONNECTION_MONITOR)) in ieee80211_sta_reset_conn_monitor()
315 while (!cfg80211_chandef_usable(sdata->local->hw.wiphy, chandef, in ieee80211_determine_chantype()
342 struct ieee80211_local *local = sdata->local; in ieee80211_config_bw() local
374 sband = local->hw.wiphy->bands[chan->band]; in ieee80211_config_bw()
442 rate_control_rate_update(local, sband, sta, in ieee80211_config_bw()
456 rate_control_rate_update(local, sband, sta, in ieee80211_config_bw()
543 struct ieee80211_local *local = sdata->local; in ieee80211_add_vht_ie() local
594 list_for_each_entry_rcu(other, &local->interfaces, list) { in ieee80211_add_vht_ie()
623 struct ieee80211_local *local = sdata->local; in ieee80211_send_assoc() local
[all …]
Docb.c46 struct ieee80211_local *local = sdata->local; in ieee80211_ocb_rx_no_sta() local
56 if (local->num_sta >= IEEE80211_OCB_MAX_STA_ENTRIES) { in ieee80211_ocb_rx_no_sta()
81 sband = local->hw.wiphy->bands[band]; in ieee80211_ocb_rx_no_sta()
88 ieee80211_queue_work(&local->hw, &sdata->work); in ieee80211_ocb_rx_no_sta()
158 struct ieee80211_local *local = sdata->local; in ieee80211_ocb_housekeeping_timer() local
163 ieee80211_queue_work(&local->hw, &sdata->work); in ieee80211_ocb_housekeeping_timer()
180 struct ieee80211_local *local = sdata->local; in ieee80211_ocb_join() local
190 sdata->needed_rx_chains = sdata->local->rx_chains; in ieee80211_ocb_join()
192 mutex_lock(&sdata->local->mtx); in ieee80211_ocb_join()
195 mutex_unlock(&sdata->local->mtx); in ieee80211_ocb_join()
[all …]
Dagg-tx.c67 struct ieee80211_local *local = sdata->local; in ieee80211_send_addba_request() local
72 skb = dev_alloc_skb(sizeof(*mgmt) + local->hw.extra_tx_headroom); in ieee80211_send_addba_request()
77 skb_reserve(skb, local->hw.extra_tx_headroom); in ieee80211_send_addba_request()
117 struct ieee80211_local *local = sdata->local; in ieee80211_send_bar() local
122 skb = dev_alloc_skb(sizeof(*bar) + local->hw.extra_tx_headroom); in ieee80211_send_bar()
126 skb_reserve(skb, local->hw.extra_tx_headroom); in ieee80211_send_bar()
171 if (atomic_inc_return(&sdata->local->agg_queue_stop[queue]) == 1) in __acquires()
173 &sdata->local->hw, queue, in __acquires()
184 if (atomic_dec_return(&sdata->local->agg_queue_stop[queue]) == 0) in __releases()
186 &sdata->local->hw, queue, in __releases()
[all …]
Dtx.c56 struct ieee80211_local *local = tx->local; in ieee80211_duration() local
79 sband = local->hw.wiphy->bands[info->band]; in ieee80211_duration()
210 struct ieee80211_local *local = tx->local; in ieee80211_tx_h_dynamic_ps() local
214 if (!ieee80211_hw_check(&local->hw, SUPPORTS_PS)) in ieee80211_tx_h_dynamic_ps()
218 if (ieee80211_hw_check(&local->hw, SUPPORTS_DYNAMIC_PS)) in ieee80211_tx_h_dynamic_ps()
222 if (local->hw.conf.dynamic_ps_timeout <= 0) in ieee80211_tx_h_dynamic_ps()
226 if (local->scanning) in ieee80211_tx_h_dynamic_ps()
229 if (!local->ps_sdata) in ieee80211_tx_h_dynamic_ps()
233 if (local->quiescing) in ieee80211_tx_h_dynamic_ps()
260 if (local->hw.conf.flags & IEEE80211_CONF_PS) { in ieee80211_tx_h_dynamic_ps()
[all …]
Dtdls.c25 struct ieee80211_local *local; in ieee80211_tdls_peer_del_work() local
29 local = sdata->local; in ieee80211_tdls_peer_del_work()
31 mutex_lock(&local->mtx); in ieee80211_tdls_peer_del_work()
37 mutex_unlock(&local->mtx); in ieee80211_tdls_peer_del_work()
43 struct ieee80211_local *local = sdata->local; in ieee80211_tdls_add_ext_capab() local
45 bool chan_switch = local->hw.wiphy->features & in ieee80211_tdls_add_ext_capab()
47 bool wider_band = ieee80211_hw_check(&local->hw, TDLS_WIDER_BW) && in ieee80211_tdls_add_ext_capab()
50 struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band]; in ieee80211_tdls_add_ext_capab()
75 struct wiphy *wiphy = sdata->local->hw.wiphy; in ieee80211_tdls_add_subband()
81 ch = ieee80211_get_channel(sdata->local->hw.wiphy, i); in ieee80211_tdls_add_subband()
[all …]
Dkey.c56 static void assert_key_lock(struct ieee80211_local *local) in assert_key_lock() argument
58 lockdep_assert_held(&local->key_mtx); in assert_key_lock()
70 assert_key_lock(sdata->local); in update_vlan_tailroom_need_count()
101 assert_key_lock(sdata->local); in increment_tailroom_need_count()
117 assert_key_lock(sdata->local); in decrease_tailroom_need_count()
145 if (!key->local->ops->set_key) in ieee80211_key_enable_hw_accel()
148 assert_key_lock(key->local); in ieee80211_key_enable_hw_accel()
157 !ieee80211_hw_check(&key->local->hw, SUPPORTS_PER_STA_GTK)) in ieee80211_key_enable_hw_accel()
173 ret = drv_set_key(key->local, SET_KEY, sdata, in ieee80211_key_enable_hw_accel()
211 if (ieee80211_hw_check(&key->local->hw, SW_CRYPTO_CONTROL)) in ieee80211_key_enable_hw_accel()
[all …]
Dibss.c48 struct ieee80211_local *local = sdata->local; in ieee80211_ibss_build_presp() local
93 sband = local->hw.wiphy->bands[chandef->chan->band]; in ieee80211_ibss_build_presp()
205 if (local->hw.queues >= IEEE80211_NUM_ACS) in ieee80211_ibss_build_presp()
226 struct ieee80211_local *local = sdata->local; in __ieee80211_sta_join_ibss() local
241 drv_reset_tsf(local, sdata); in __ieee80211_sta_join_ibss()
255 drv_leave_ibss(local, sdata); in __ieee80211_sta_join_ibss()
267 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chandef, in __ieee80211_sta_join_ibss()
280 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chandef, in __ieee80211_sta_join_ibss()
288 err = cfg80211_chandef_dfs_required(sdata->local->hw.wiphy, in __ieee80211_sta_join_ibss()
303 mutex_lock(&local->mtx); in __ieee80211_sta_join_ibss()
[all …]
Dieee80211_i.h168 struct ieee80211_local *local; member
217 struct ieee80211_local *local; member
830 struct ieee80211_local *local; member
1475 u64 ieee80211_calculate_rx_timestamp(struct ieee80211_local *local,
1479 int ieee80211_hw_config(struct ieee80211_local *local, u32 changed);
1483 void ieee80211_configure_filter(struct ieee80211_local *local);
1496 void ieee80211_send_pspoll(struct ieee80211_local *local,
1498 void ieee80211_recalc_ps(struct ieee80211_local *local);
1514 void ieee80211_ibss_notify_scan_completed(struct ieee80211_local *local);
1555 void ieee80211_scan_cancel(struct ieee80211_local *local);
[all …]
Dagg-rx.c62 struct ieee80211_local *local = sta->local; in ___ieee80211_stop_rx_ba_session() local
81 if (drv_ampdu_action(local, sta->sdata, IEEE80211_AMPDU_RX_STOP, in ___ieee80211_stop_rx_ba_session()
129 ieee80211_queue_work(&sta->local->hw, &sta->ampdu_mlme.work); in ieee80211_stop_rx_ba_session()
170 ieee80211_queue_work(&sta->local->hw, &sta->ampdu_mlme.work); in sta_rx_agg_session_timer_expired()
189 struct ieee80211_local *local = sdata->local; in ieee80211_send_addba_resp() local
192 bool amsdu = ieee80211_hw_check(&local->hw, SUPPORTS_AMSDU_IN_AMPDU); in ieee80211_send_addba_resp()
195 skb = dev_alloc_skb(sizeof(*mgmt) + local->hw.extra_tx_headroom); in ieee80211_send_addba_resp()
199 skb_reserve(skb, local->hw.extra_tx_headroom); in ieee80211_send_addba_resp()
238 struct ieee80211_local *local = sta->sdata->local; in __ieee80211_start_rx_ba_session() local
276 if (buf_size > local->hw.max_rx_aggregation_subframes) in __ieee80211_start_rx_ba_session()
[all …]
Drx.c96 static struct sk_buff *remove_monitor_info(struct ieee80211_local *local, in remove_monitor_info() argument
100 if (ieee80211_hw_check(&local->hw, RX_INCLUDES_FCS)) { in remove_monitor_info()
140 ieee80211_rx_radiotap_hdrlen(struct ieee80211_local *local, in ieee80211_rx_radiotap_hdrlen() argument
157 if (ieee80211_hw_check(&local->hw, SIGNAL_DBM)) in ieee80211_rx_radiotap_hdrlen()
209 ieee80211_add_rx_radiotap_header(struct ieee80211_local *local, in ieee80211_add_rx_radiotap_header() argument
232 if (!(has_fcs && ieee80211_hw_check(&local->hw, RX_INCLUDES_FCS))) in ieee80211_add_rx_radiotap_header()
278 ieee80211_calculate_rx_timestamp(local, status, in ieee80211_add_rx_radiotap_header()
286 if (has_fcs && ieee80211_hw_check(&local->hw, RX_INCLUDES_FCS)) in ieee80211_add_rx_radiotap_header()
336 if (ieee80211_hw_check(&local->hw, SIGNAL_DBM) && in ieee80211_add_rx_radiotap_header()
367 *pos++ = local->hw.radiotap_mcs_details; in ieee80211_add_rx_radiotap_header()
[all …]
Drate.h23 struct ieee80211_local *local; member
32 static inline void rate_control_tx_status(struct ieee80211_local *local, in rate_control_tx_status() argument
37 struct rate_control_ref *ref = local->rate_ctrl; in rate_control_tx_status()
54 rate_control_tx_status_noskb(struct ieee80211_local *local, in rate_control_tx_status_noskb() argument
59 struct rate_control_ref *ref = local->rate_ctrl; in rate_control_tx_status_noskb()
75 void rate_control_rate_update(struct ieee80211_local *local,
116 int ieee80211_init_rate_ctrl_alg(struct ieee80211_local *local,
118 void rate_control_deinitialize(struct ieee80211_local *local);
Drate.c34 struct ieee80211_local *local = sta->sdata->local; in rate_control_rate_init() local
54 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; in rate_control_rate_init()
64 void rate_control_rate_update(struct ieee80211_local *local, in rate_control_rate_update() argument
68 struct rate_control_ref *ref = local->rate_ctrl; in rate_control_rate_update()
88 drv_sta_rc_update(local, sta->sdata, &sta->sta, changed); in rate_control_rate_update()
203 struct ieee80211_local *local) in rate_control_alloc() argument
211 ref->local = local; in rate_control_alloc()
217 debugfsdir = debugfs_create_dir("rc", local->hw.wiphy->debugfsdir); in rate_control_alloc()
218 local->debugfs.rcdir = debugfsdir; in rate_control_alloc()
222 ref->priv = ref->ops->alloc(&local->hw, debugfsdir); in rate_control_alloc()
[all …]
Dmesh.c45 struct ieee80211_local *local = sdata->local; in ieee80211_mesh_housekeeping_timer() local
50 ieee80211_queue_work(&local->hw, &sdata->work); in ieee80211_mesh_housekeeping_timer()
415 struct ieee80211_local *local = sdata->local; in mesh_add_ht_cap_ie() local
420 sband = local->hw.wiphy->bands[band]; in mesh_add_ht_cap_ie()
439 struct ieee80211_local *local = sdata->local; in mesh_add_ht_oper_ie() local
455 sband = local->hw.wiphy->bands[channel->band]; in mesh_add_ht_oper_ie()
478 struct ieee80211_local *local = sdata->local; in mesh_add_vht_cap_ie() local
483 sband = local->hw.wiphy->bands[band]; in mesh_add_vht_cap_ie()
502 struct ieee80211_local *local = sdata->local; in mesh_add_vht_oper_ie() local
518 sband = local->hw.wiphy->bands[channel->band]; in mesh_add_vht_oper_ie()
[all …]
Dethtool.c19 struct ieee80211_local *local = wiphy_priv(dev->ieee80211_ptr->wiphy); in ieee80211_set_ringparam() local
24 return drv_set_ringparam(local, rp->tx_pending, rp->rx_pending); in ieee80211_set_ringparam()
30 struct ieee80211_local *local = wiphy_priv(dev->ieee80211_ptr->wiphy); in ieee80211_get_ringparam() local
34 drv_get_ringparam(local, &rp->tx_pending, &rp->tx_max_pending, in ieee80211_get_ringparam()
72 struct ieee80211_local *local = sdata->local; in ieee80211_get_stats() local
101 mutex_lock(&local->sta_mtx); in ieee80211_get_stats()
131 list_for_each_entry(sta, &local->sta_list, list) { in ieee80211_get_stats()
160 if (drv_get_survey(local, q, &survey) != 0) { in ieee80211_get_stats()
197 mutex_unlock(&local->sta_mtx); in ieee80211_get_stats()
Dmesh_sync.c51 struct ieee80211_local *local = sdata->local; in mesh_sync_adjust_tbtt() local
73 tsf = drv_get_tsf(local, sdata); in mesh_sync_adjust_tbtt()
75 drv_set_tsf(local, sdata, tsf + tsfdelta); in mesh_sync_adjust_tbtt()
85 struct ieee80211_local *local = sdata->local; in mesh_sync_offset_rx_bcn_presp() local
102 t_r = ieee80211_calculate_rx_timestamp(local, rx_status, in mesh_sync_offset_rx_bcn_presp()
108 t_r = drv_get_tsf(local, sdata); in mesh_sync_offset_rx_bcn_presp()
Ddebugfs_netdev.c247 struct ieee80211_local *local = sdata->local; in ieee80211_set_smps() local
250 if (!(local->hw.wiphy->features & NL80211_FEATURE_STATIC_SMPS) && in ieee80211_set_smps()
255 if (!(local->hw.wiphy->features & NL80211_FEATURE_DYNAMIC_SMPS) && in ieee80211_set_smps()
316 struct ieee80211_local *local = sdata->local; in ieee80211_if_parse_tkip_mic_test() local
328 skb = dev_alloc_skb(local->hw.extra_tx_headroom + 24 + 100); in ieee80211_if_parse_tkip_mic_test()
331 skb_reserve(skb, local->hw.extra_tx_headroom); in ieee80211_if_parse_tkip_mic_test()
454 tdls_wider_bw = ieee80211_hw_check(&sdata->local->hw, TDLS_WIDER_BW) && in ieee80211_if_fmt_tdls_wider_bw()
493 struct ieee80211_local *local = sdata->local; in ieee80211_if_fmt_tsf() local
496 tsf = drv_get_tsf(local, (struct ieee80211_sub_if_data *)sdata); in ieee80211_if_fmt_tsf()
504 struct ieee80211_local *local = sdata->local; in ieee80211_if_parse_tsf() local
[all …]
Dwme.c123 struct ieee80211_local *local = sdata->local; in ieee80211_select_queue_80211() local
126 if (local->hw.queues < IEEE80211_NUM_ACS) in ieee80211_select_queue_80211()
148 struct ieee80211_local *local = sdata->local; in ieee80211_select_queue() local
155 if (local->hw.queues < IEEE80211_NUM_ACS || skb->len < 6) { in ieee80211_select_queue()
Dwep.h19 int ieee80211_wep_init(struct ieee80211_local *local);
20 void ieee80211_wep_free(struct ieee80211_local *local);
23 int ieee80211_wep_encrypt(struct ieee80211_local *local,
Dkey.h55 struct ieee80211_local *local; member
153 void ieee80211_free_sta_keys(struct ieee80211_local *local,
158 #define key_mtx_dereference(local, ref) \ argument
159 rcu_dereference_protected(ref, lockdep_is_held(&((local)->key_mtx)))
Dmesh_plink.c95 struct ieee80211_local *local = sdata->local; in mesh_set_short_slot_time() local
97 struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band]; in mesh_set_short_slot_time()
118 list_for_each_entry_rcu(sta, &local->sta_list, list) { in mesh_set_short_slot_time()
153 struct ieee80211_local *local = sdata->local; in mesh_set_ht_prot_mode() local
168 list_for_each_entry_rcu(sta, &local->sta_list, list) { in mesh_set_ht_prot_mode()
210 struct ieee80211_local *local = sdata->local; in mesh_plink_frame_tx() local
221 skb = dev_alloc_skb(local->tx_headroom + in mesh_plink_frame_tx()
238 skb_reserve(skb, local->tx_headroom); in mesh_plink_frame_tx()
385 struct ieee80211_local *local = sdata->local; in mesh_sta_info_init() local
391 sband = local->hw.wiphy->bands[band]; in mesh_sta_info_init()
[all …]
Dmesh_ps.c22 struct ieee80211_local *local = sdata->local; in mps_qos_null_get() local
28 skb = dev_alloc_skb(local->hw.extra_tx_headroom + size + 2); in mps_qos_null_get()
31 skb_reserve(skb, local->hw.extra_tx_headroom); in mps_qos_null_get()
91 list_for_each_entry_rcu(sta, &sdata->local->sta_list, list) { in ieee80211_mps_local_status_update()
451 struct ieee80211_local *local = sta->sdata->local; in mps_frame_deliver() local
467 local->total_ps_buffered--; in mps_frame_deliver()
522 ieee80211_add_pending_skbs(local, &frames); in mps_frame_deliver()
Dht.c362 struct ieee80211_local *local = sdata->local; in ieee80211_send_delba() local
367 skb = dev_alloc_skb(sizeof(*mgmt) + local->hw.extra_tx_headroom); in ieee80211_send_delba()
371 skb_reserve(skb, local->hw.extra_tx_headroom); in ieee80211_send_delba()
428 struct ieee80211_local *local = sdata->local; in ieee80211_send_smps_action() local
433 skb = dev_alloc_skb(27 + local->hw.extra_tx_headroom); in ieee80211_send_smps_action()
437 skb_reserve(skb, local->hw.extra_tx_headroom); in ieee80211_send_smps_action()
508 ieee80211_queue_work(&sdata->local->hw, in ieee80211_request_smps()
517 ieee80211_queue_work(&sdata->local->hw, in ieee80211_request_smps()
Ddebugfs.h7 void debugfs_hw_add(struct ieee80211_local *local);
11 static inline void debugfs_hw_add(struct ieee80211_local *local) in debugfs_hw_add() argument
Dspectmgmt.c82 new_chan = ieee80211_get_channel(sdata->local->hw.wiphy, new_freq); in ieee80211_parse_ch_switch_ie()
190 struct ieee80211_local *local = sdata->local; in ieee80211_send_refuse_measurement_request() local
194 skb = dev_alloc_skb(sizeof(*msr_report) + local->hw.extra_tx_headroom + in ieee80211_send_refuse_measurement_request()
199 skb_reserve(skb, local->hw.extra_tx_headroom); in ieee80211_send_refuse_measurement_request()
Dmesh_hwmp.c109 struct ieee80211_local *local = sdata->local; in mesh_path_sel_frame_tx() local
116 skb = dev_alloc_skb(local->tx_headroom + in mesh_path_sel_frame_tx()
121 skb_reserve(skb, local->tx_headroom); in mesh_path_sel_frame_tx()
240 struct ieee80211_local *local = sdata->local; in mesh_path_error_tx() local
251 skb = dev_alloc_skb(local->tx_headroom + in mesh_path_error_tx()
258 skb_reserve(skb, local->tx_headroom + sdata->encrypt_headroom); in mesh_path_error_tx()
294 ieee80211_add_pending_skb(local, skb); in mesh_path_error_tx()
298 void ieee80211s_update_metric(struct ieee80211_local *local, in ieee80211s_update_metric() argument
317 static u32 airtime_link_metric_get(struct ieee80211_local *local, in airtime_link_metric_get() argument
369 struct ieee80211_local *local = sdata->local; in hwmp_route_info_get() local
[all …]
Dvht.c383 struct ieee80211_local *local = sdata->local; in __ieee80211_vht_handle_opmode() local
389 sband = local->hw.wiphy->bands[band]; in __ieee80211_vht_handle_opmode()
432 struct ieee80211_local *local = sdata->local; in ieee80211_vht_handle_opmode() local
433 struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band]; in ieee80211_vht_handle_opmode()
438 rate_control_rate_update(local, sband, sta, changed); in ieee80211_vht_handle_opmode()
Dsta_info.h394 struct ieee80211_local *local; member
601 #define for_each_sta_info(local, tbl, _addr, _sta, _tmp) \ argument
620 void sta_info_free(struct ieee80211_local *local, struct sta_info *sta);
641 int sta_info_init(struct ieee80211_local *local);
642 void sta_info_stop(struct ieee80211_local *local);
Ddebugfs_key.c335 if (!key->local->debugfs.keys) in ieee80211_debugfs_key_add()
342 key->local->debugfs.keys); in ieee80211_debugfs_key_add()
386 lockdep_assert_held(&sdata->local->key_mtx); in ieee80211_debugfs_key_update_default()
392 key = key_mtx_dereference(sdata->local, in ieee80211_debugfs_key_update_default()
404 key = key_mtx_dereference(sdata->local, in ieee80211_debugfs_key_update_default()
421 key = key_mtx_dereference(sdata->local, in ieee80211_debugfs_key_add_mgmt_default()
Ddebugfs_sta.c337 struct ieee80211_local *local = sta->local; in ieee80211_sta_debugfs_add() local
382 drv_sta_add_debugfs(local, sdata, &sta->sta, sta->debugfs.dir); in ieee80211_sta_debugfs_add()
387 struct ieee80211_local *local = sta->local; in ieee80211_sta_debugfs_remove() local
390 drv_sta_remove_debugfs(local, sdata, &sta->sta, sta->debugfs.dir); in ieee80211_sta_debugfs_remove()
/linux-4.4.14/net/mac802154/
Ddriver-ops.h13 drv_xmit_async(struct ieee802154_local *local, struct sk_buff *skb) in drv_xmit_async() argument
15 return local->ops->xmit_async(&local->hw, skb); in drv_xmit_async()
19 drv_xmit_sync(struct ieee802154_local *local, struct sk_buff *skb) in drv_xmit_sync() argument
26 return local->ops->xmit_sync(&local->hw, skb); in drv_xmit_sync()
29 static inline int drv_start(struct ieee802154_local *local) in drv_start() argument
35 trace_802154_drv_start(local); in drv_start()
36 local->started = true; in drv_start()
38 ret = local->ops->start(&local->hw); in drv_start()
39 trace_802154_drv_return_int(local, ret); in drv_start()
43 static inline void drv_stop(struct ieee802154_local *local) in drv_stop() argument
[all …]
Dmain.c33 struct ieee802154_local *local = (struct ieee802154_local *)data; in ieee802154_tasklet_handler() local
36 while ((skb = skb_dequeue(&local->skb_queue))) { in ieee802154_tasklet_handler()
43 ieee802154_rx(local, skb); in ieee802154_tasklet_handler()
58 struct ieee802154_local *local; in ieee802154_alloc_hw() local
83 priv_size = ALIGN(sizeof(*local), NETDEV_ALIGN) + priv_data_len; in ieee802154_alloc_hw()
93 local = wpan_phy_priv(phy); in ieee802154_alloc_hw()
94 local->phy = phy; in ieee802154_alloc_hw()
95 local->hw.phy = local->phy; in ieee802154_alloc_hw()
96 local->hw.priv = (char *)local + ALIGN(sizeof(*local), NETDEV_ALIGN); in ieee802154_alloc_hw()
97 local->ops = ops; in ieee802154_alloc_hw()
[all …]
Dtrace.h17 wpan_phy_name(local->hw.phy), MAXNAME)
36 TP_PROTO(struct ieee802154_local *local),
37 TP_ARGS(local),
48 TP_PROTO(struct ieee802154_local *local),
49 TP_ARGS(local)
53 TP_PROTO(struct ieee802154_local *local, int ret),
54 TP_ARGS(local, ret),
68 TP_PROTO(struct ieee802154_local *local),
69 TP_ARGS(local)
73 TP_PROTO(struct ieee802154_local *local),
[all …]
Dtx.c35 struct ieee802154_local *local = in ieee802154_xmit_worker() local
37 struct sk_buff *skb = local->tx_skb; in ieee802154_xmit_worker()
47 res = drv_xmit_sync(local, skb); in ieee802154_xmit_worker()
51 ieee802154_xmit_complete(&local->hw, skb, false); in ieee802154_xmit_worker()
62 ieee802154_wake_queue(&local->hw); in ieee802154_xmit_worker()
69 ieee802154_tx(struct ieee802154_local *local, struct sk_buff *skb) in ieee802154_tx() argument
74 if (!(local->hw.flags & IEEE802154_HW_TX_OMIT_CKSUM)) { in ieee802154_tx()
81 ieee802154_stop_queue(&local->hw); in ieee802154_tx()
84 if (local->ops->xmit_async) { in ieee802154_tx()
85 ret = drv_xmit_async(local, skb); in ieee802154_tx()
[all …]
Dutil.c24 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_wake_queue() local
28 list_for_each_entry_rcu(sdata, &local->interfaces, list) { in ieee802154_wake_queue()
40 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_stop_queue() local
44 list_for_each_entry_rcu(sdata, &local->interfaces, list) { in ieee802154_stop_queue()
56 struct ieee802154_local *local = in ieee802154_xmit_ifs_timer() local
59 ieee802154_wake_queue(&local->hw); in ieee802154_xmit_ifs_timer()
68 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_xmit_complete() local
82 hrtimer_start(&local->ifs_timer, in ieee802154_xmit_complete()
86 hrtimer_start(&local->ifs_timer, in ieee802154_xmit_complete()
97 void ieee802154_stop_device(struct ieee802154_local *local) in ieee802154_stop_device() argument
[all …]
Diface.c155 struct ieee802154_local *local = sdata->local; in ieee802154_setup_hw() local
159 if (local->hw.flags & IEEE802154_HW_PROMISCUOUS) { in ieee802154_setup_hw()
160 ret = drv_set_promiscuous_mode(local, in ieee802154_setup_hw()
166 if (local->hw.flags & IEEE802154_HW_AFILT) { in ieee802154_setup_hw()
167 ret = drv_set_pan_id(local, wpan_dev->pan_id); in ieee802154_setup_hw()
171 ret = drv_set_extended_addr(local, wpan_dev->extended_addr); in ieee802154_setup_hw()
175 ret = drv_set_short_addr(local, wpan_dev->short_addr); in ieee802154_setup_hw()
180 if (local->hw.flags & IEEE802154_HW_LBT) { in ieee802154_setup_hw()
181 ret = drv_set_lbt_mode(local, wpan_dev->lbt); in ieee802154_setup_hw()
186 if (local->hw.flags & IEEE802154_HW_CSMA_PARAMS) { in ieee802154_setup_hw()
[all …]
Dcfg.c28 struct ieee802154_local *local = wpan_phy_priv(wpan_phy); in ieee802154_add_iface_deprecated() local
32 dev = ieee802154_if_add(local, name, name_assign_type, type, in ieee802154_add_iface_deprecated()
50 struct ieee802154_local *local = wpan_phy_priv(wpan_phy); in ieee802154_suspend() local
52 if (!local->open_count) in ieee802154_suspend()
55 ieee802154_stop_queue(&local->hw); in ieee802154_suspend()
59 ieee802154_stop_device(local); in ieee802154_suspend()
62 local->suspended = true; in ieee802154_suspend()
68 struct ieee802154_local *local = wpan_phy_priv(wpan_phy); in ieee802154_resume() local
72 if (!local->open_count) in ieee802154_resume()
76 ret = drv_start(local); in ieee802154_resume()
[all …]
Drx.c194 __ieee802154_rx_handle_packet(struct ieee802154_local *local, in __ieee802154_rx_handle_packet() argument
208 list_for_each_entry_rcu(sdata, &local->interfaces, list) { in __ieee802154_rx_handle_packet()
225 ieee802154_monitors_rx(struct ieee802154_local *local, struct sk_buff *skb) in ieee802154_monitors_rx() argument
235 list_for_each_entry_rcu(sdata, &local->interfaces, list) { in ieee802154_monitors_rx()
253 void ieee802154_rx(struct ieee802154_local *local, struct sk_buff *skb) in ieee802154_rx() argument
259 if (local->suspended) in ieee802154_rx()
266 if (local->hw.flags & IEEE802154_HW_RX_OMIT_CKSUM) { in ieee802154_rx()
273 ieee802154_monitors_rx(local, skb); in ieee802154_rx()
278 if (local->hw.flags & IEEE802154_HW_RX_DROP_BAD_CKSUM) { in ieee802154_rx()
288 __ieee802154_rx_handle_packet(local, skb); in ieee802154_rx()
[all …]
Dmac_cmd.c69 struct ieee802154_local *local = sdata->local; in mac802154_set_mac_params() local
87 if (local->hw.phy->flags & WPAN_PHY_FLAG_TXPOWER) { in mac802154_set_mac_params()
88 ret = drv_set_tx_power(local, params->transmit_power); in mac802154_set_mac_params()
93 if (local->hw.phy->flags & WPAN_PHY_FLAG_CCA_MODE) { in mac802154_set_mac_params()
94 ret = drv_set_cca_mode(local, &params->cca); in mac802154_set_mac_params()
99 if (local->hw.phy->flags & WPAN_PHY_FLAG_CCA_ED_LEVEL) { in mac802154_set_mac_params()
100 ret = drv_set_cca_ed_level(local, params->cca_ed_level); in mac802154_set_mac_params()
Dieee802154_i.h87 struct ieee802154_local *local; member
130 void ieee802154_rx(struct ieee802154_local *local, struct sk_buff *skb);
181 ieee802154_if_add(struct ieee802154_local *local, const char *name,
184 void ieee802154_remove_interfaces(struct ieee802154_local *local);
185 void ieee802154_stop_device(struct ieee802154_local *local);
Dmib.c32 struct ieee802154_local *local = sdata->local; in mac802154_dev_set_page_channel() local
39 res = drv_set_channel(local, page, chan); in mac802154_dev_set_page_channel()
43 local->phy->current_channel = chan; in mac802154_dev_set_page_channel()
44 local->phy->current_page = page; in mac802154_dev_set_page_channel()
/linux-4.4.14/net/rxrpc/
Dar-local.c39 struct rxrpc_local *local; in rxrpc_alloc_local() local
41 local = kzalloc(sizeof(struct rxrpc_local), GFP_KERNEL); in rxrpc_alloc_local()
42 if (local) { in rxrpc_alloc_local()
43 INIT_WORK(&local->destroyer, &rxrpc_destroy_local); in rxrpc_alloc_local()
44 INIT_WORK(&local->acceptor, &rxrpc_accept_incoming_calls); in rxrpc_alloc_local()
45 INIT_WORK(&local->rejecter, &rxrpc_reject_packets); in rxrpc_alloc_local()
46 INIT_WORK(&local->event_processor, &rxrpc_process_local_events); in rxrpc_alloc_local()
47 INIT_LIST_HEAD(&local->services); in rxrpc_alloc_local()
48 INIT_LIST_HEAD(&local->link); in rxrpc_alloc_local()
49 init_rwsem(&local->defrag_sem); in rxrpc_alloc_local()
[all …]
Dar-transport.c34 static struct rxrpc_transport *rxrpc_alloc_transport(struct rxrpc_local *local, in rxrpc_alloc_transport() argument
44 trans->local = local; in rxrpc_alloc_transport()
78 struct rxrpc_transport *rxrpc_get_transport(struct rxrpc_local *local, in rxrpc_get_transport() argument
87 &local->srx.transport.sin.sin_addr, in rxrpc_get_transport()
88 ntohs(local->srx.transport.sin.sin_port), in rxrpc_get_transport()
95 if (trans->local == local && trans->peer == peer) in rxrpc_get_transport()
102 candidate = rxrpc_alloc_transport(local, peer, gfp); in rxrpc_get_transport()
111 if (trans->local == local && trans->peer == peer) in rxrpc_get_transport()
120 rxrpc_get_local(trans->local); in rxrpc_get_transport()
130 trans->local->debug_id, in rxrpc_get_transport()
[all …]
Dar-accept.c29 static int rxrpc_busy(struct rxrpc_local *local, struct sockaddr_rxrpc *srx, in rxrpc_busy() argument
37 _enter("%d,,", local->debug_id); in rxrpc_busy()
59 ret = kernel_sendmsg(local->socket, &msg, iov, 1, len); in rxrpc_busy()
73 static int rxrpc_accept_incoming_call(struct rxrpc_local *local, in rxrpc_accept_incoming_call() argument
107 trans = rxrpc_get_transport(local, peer, GFP_NOIO); in rxrpc_accept_incoming_call()
132 read_lock_bh(&local->services_lock); in rxrpc_accept_incoming_call()
177 read_unlock_bh(&local->services_lock); in rxrpc_accept_incoming_call()
185 read_unlock_bh(&local->services_lock); in rxrpc_accept_incoming_call()
209 struct rxrpc_local *local = in rxrpc_accept_incoming_calls() local
218 _enter("%d", local->debug_id); in rxrpc_accept_incoming_calls()
[all …]
Dar-input.c571 rxrpc_reject_packet(call->conn->trans->local, skb); in rxrpc_post_packet_to_call()
600 static void rxrpc_post_packet_to_local(struct rxrpc_local *local, in rxrpc_post_packet_to_local() argument
603 _enter("%p,%p", local, skb); in rxrpc_post_packet_to_local()
605 atomic_inc(&local->usage); in rxrpc_post_packet_to_local()
606 skb_queue_tail(&local->event_queue, skb); in rxrpc_post_packet_to_local()
607 rxrpc_queue_work(&local->event_processor); in rxrpc_post_packet_to_local()
610 static struct rxrpc_connection *rxrpc_conn_from_local(struct rxrpc_local *local, in rxrpc_conn_from_local() argument
618 peer = rxrpc_find_peer(local, ip_hdr(skb)->saddr, in rxrpc_conn_from_local()
623 trans = rxrpc_find_transport(local, peer); in rxrpc_conn_from_local()
645 struct rxrpc_local *local; in rxrpc_data_ready() local
[all …]
Daf_rxrpc.c126 struct rxrpc_local *local; in rxrpc_bind() local
147 local = rxrpc_lookup_local(&rx->srx); in rxrpc_bind()
148 if (IS_ERR(local)) { in rxrpc_bind()
149 ret = PTR_ERR(local); in rxrpc_bind()
153 rx->local = local; in rxrpc_bind()
156 write_lock_bh(&local->services_lock); in rxrpc_bind()
157 list_for_each_entry(prx, &local->services, listen_link) { in rxrpc_bind()
163 list_add_tail(&rx->listen_link, &local->services); in rxrpc_bind()
164 write_unlock_bh(&local->services_lock); in rxrpc_bind()
177 write_unlock_bh(&local->services_lock); in rxrpc_bind()
[all …]
Dar-connevent.c115 ret = kernel_sendmsg(conn->trans->local->socket, &msg, iov, 2, len); in rxrpc_abort_connection()
315 void rxrpc_reject_packet(struct rxrpc_local *local, struct sk_buff *skb) in rxrpc_reject_packet() argument
317 CHECK_SLAB_OKAY(&local->usage); in rxrpc_reject_packet()
319 if (!atomic_inc_not_zero(&local->usage)) { in rxrpc_reject_packet()
324 skb_queue_tail(&local->reject_queue, skb); in rxrpc_reject_packet()
325 rxrpc_queue_work(&local->rejecter); in rxrpc_reject_packet()
339 struct rxrpc_local *local; in rxrpc_reject_packets() local
346 local = container_of(work, struct rxrpc_local, rejecter); in rxrpc_reject_packets()
347 rxrpc_get_local(local); in rxrpc_reject_packets()
349 _enter("%d", local->debug_id); in rxrpc_reject_packets()
[all …]
Dar-security.c166 struct rxrpc_local *local = conn->trans->local; in rxrpc_init_server_conn_security() local
183 read_lock_bh(&local->services_lock); in rxrpc_init_server_conn_security()
184 list_for_each_entry(rx, &local->services, listen_link) { in rxrpc_init_server_conn_security()
190 read_unlock_bh(&local->services_lock); in rxrpc_init_server_conn_security()
197 read_unlock_bh(&local->services_lock); in rxrpc_init_server_conn_security()
207 read_unlock_bh(&local->services_lock); in rxrpc_init_server_conn_security()
214 read_unlock_bh(&local->services_lock); in rxrpc_init_server_conn_security()
Dar-error.c32 struct rxrpc_local *local = sk->sk_user_data; in rxrpc_UDP_error_report() local
38 _enter("%p{%d}", sk, local->debug_id); in rxrpc_UDP_error_report()
60 peer = rxrpc_find_peer(local, addr, port); in rxrpc_UDP_error_report()
67 trans = rxrpc_find_transport(local, peer); in rxrpc_UDP_error_report()
Dar-proc.c65 &trans->local->srx.transport.sin.sin_addr, in rxrpc_call_seq_show()
66 ntohs(trans->local->srx.transport.sin.sin_port)); in rxrpc_call_seq_show()
148 &trans->local->srx.transport.sin.sin_addr, in rxrpc_connection_seq_show()
149 ntohs(trans->local->srx.transport.sin.sin_port)); in rxrpc_connection_seq_show()
Dar-output.c352 down_read(&trans->local->defrag_sem); in rxrpc_send_packet()
359 ret = kernel_sendmsg(trans->local->socket, &msg, iov, 1, in rxrpc_send_packet()
362 up_read(&trans->local->defrag_sem); in rxrpc_send_packet()
374 down_write(&trans->local->defrag_sem); in rxrpc_send_packet()
376 ret = kernel_setsockopt(trans->local->socket, SOL_IP, IP_MTU_DISCOVER, in rxrpc_send_packet()
379 ret = kernel_sendmsg(trans->local->socket, &msg, iov, 1, in rxrpc_send_packet()
383 kernel_setsockopt(trans->local->socket, SOL_IP, in rxrpc_send_packet()
387 up_write(&trans->local->defrag_sem); in rxrpc_send_packet()
Dar-internal.h56 struct rxrpc_local *local; /* local endpoint */ member
203 struct rxrpc_local *local; /* local transport endpoint */ member
404 struct rxrpc_local *local; /* Local endpoint. Used for hashing. */ member
793 static inline void __rxrpc_get_local(struct rxrpc_local *local, const char *f) in __rxrpc_get_local() argument
795 CHECK_SLAB_OKAY(&local->usage); in __rxrpc_get_local()
796 if (atomic_inc_return(&local->usage) == 1) in __rxrpc_get_local()
Dar-peer.c195 struct rxrpc_peer *rxrpc_find_peer(struct rxrpc_local *local, in rxrpc_find_peer() argument
205 if (local->srx.transport.family == AF_INET && in rxrpc_find_peer()
206 local->srx.transport_type == SOCK_DGRAM in rxrpc_find_peer()
/linux-4.4.14/drivers/net/wireless/hostap/
Dhostap_hw.c129 static void prism2_check_sta_fw_version(local_info_t *local);
135 static int prism2_download(local_info_t *local,
138 static int prism2_download_volatile(local_info_t *local,
140 static int prism2_download_genesis(local_info_t *local,
142 static int prism2_get_ram_size(local_info_t *local);
181 static inline void __hostap_cmd_queue_free(local_info_t *local, in __hostap_cmd_queue_free() argument
189 local->cmd_queue_len--; in __hostap_cmd_queue_free()
206 static inline void hostap_cmd_queue_free(local_info_t *local, in hostap_cmd_queue_free() argument
212 spin_lock_irqsave(&local->cmdlock, flags); in hostap_cmd_queue_free()
213 __hostap_cmd_queue_free(local, entry, del_req); in hostap_cmd_queue_free()
[all …]
Dhostap_info.c13 static void prism2_info_commtallies16(local_info_t *local, unsigned char *buf, in prism2_info_commtallies16() argument
20 "info frame\n", local->dev->name, left); in prism2_info_commtallies16()
26 local->comm_tallies.name += le16_to_cpu(tallies->name) in prism2_info_commtallies16()
53 static void prism2_info_commtallies32(local_info_t *local, unsigned char *buf, in prism2_info_commtallies32() argument
60 "info frame\n", local->dev->name, left); in prism2_info_commtallies32()
66 local->comm_tallies.name += le32_to_cpu(tallies->name) in prism2_info_commtallies32()
93 static void prism2_info_commtallies(local_info_t *local, unsigned char *buf, in prism2_info_commtallies() argument
96 if (local->tallies32) in prism2_info_commtallies()
97 prism2_info_commtallies32(local, buf, left); in prism2_info_commtallies()
99 prism2_info_commtallies16(local, buf, left); in prism2_info_commtallies()
[all …]
Dhostap_main.c49 struct net_device * hostap_add_interface(struct local_info *local, in hostap_add_interface() argument
64 iface->local = local; in hostap_add_interface()
66 list_add(&iface->list, &local->hostap_interfaces); in hostap_add_interface()
68 mdev = local->dev; in hostap_add_interface()
75 hostap_setup_dev(dev, local, type); in hostap_add_interface()
116 if (dev == iface->local->ddev) in hostap_remove_interface()
117 iface->local->ddev = NULL; in hostap_remove_interface()
118 else if (dev == iface->local->apdev) in hostap_remove_interface()
119 iface->local->apdev = NULL; in hostap_remove_interface()
120 else if (dev == iface->local->stadev) in hostap_remove_interface()
[all …]
Dhostap_ioctl.c19 local_info_t *local; in hostap_get_wireless_stats() local
23 local = iface->local; in hostap_get_wireless_stats()
29 wstats = &local->wstats; in hostap_get_wireless_stats()
33 local->comm_tallies.rx_discards_wep_undecryptable; in hostap_get_wireless_stats()
35 local->comm_tallies.rx_fcs_errors + in hostap_get_wireless_stats()
36 local->comm_tallies.rx_discards_no_buffer + in hostap_get_wireless_stats()
37 local->comm_tallies.tx_discards_wrong_sa; in hostap_get_wireless_stats()
40 local->comm_tallies.tx_retry_limit_exceeded; in hostap_get_wireless_stats()
42 local->comm_tallies.rx_message_in_bad_msg_fragments; in hostap_get_wireless_stats()
44 if (local->iw_mode != IW_MODE_MASTER && in hostap_get_wireless_stats()
[all …]
Dhostap_proc.c17 local_info_t *local = m->private; in prism2_debug_proc_show() local
21 local->next_txfid, local->next_alloc); in prism2_debug_proc_show()
24 local->txfid[i], local->intransmitfid[i]); in prism2_debug_proc_show()
25 seq_printf(m, "FW TX rate control: %d\n", local->fw_tx_rate_control); in prism2_debug_proc_show()
26 seq_printf(m, "beacon_int=%d\n", local->beacon_int); in prism2_debug_proc_show()
27 seq_printf(m, "dtim_period=%d\n", local->dtim_period); in prism2_debug_proc_show()
28 seq_printf(m, "wds_max_connections=%d\n", local->wds_max_connections); in prism2_debug_proc_show()
29 seq_printf(m, "dev_enabled=%d\n", local->dev_enabled); in prism2_debug_proc_show()
30 seq_printf(m, "sw_tick_stuck=%d\n", local->sw_tick_stuck); in prism2_debug_proc_show()
32 if (local->crypt_info.crypt[i] && in prism2_debug_proc_show()
[all …]
Dhostap_80211_rx.c66 local_info_t *local; in prism2_rx_80211() local
73 local = iface->local; in prism2_rx_80211()
76 if (local->monitor_type == PRISM2_MONITOR_PRISM) { in prism2_rx_80211()
164 hdr->channel = htonl(local->channel); in prism2_rx_80211()
185 hdr->chan_freq = cpu_to_le16(freq_list[local->channel - 1]); in prism2_rx_80211()
222 prism2_frag_cache_find(local_info_t *local, unsigned int seq, in prism2_frag_cache_find() argument
229 entry = &local->frag_cache[i]; in prism2_frag_cache_find()
234 local->dev->name, entry->seq, entry->last_frag); in prism2_frag_cache_find()
252 prism2_frag_cache_get(local_info_t *local, struct ieee80211_hdr *hdr) in prism2_frag_cache_get() argument
265 skb = dev_alloc_skb(local->dev->mtu + in prism2_frag_cache_get()
[all …]
Dhostap.h18 u16 hostap_tx_callback_register(local_info_t *local,
21 int hostap_tx_callback_unregister(local_info_t *local, u16 idx);
24 u16 hostap_get_porttype(local_info_t *local);
25 int hostap_set_encryption(local_info_t *local);
26 int hostap_set_antsel(local_info_t *local);
27 int hostap_set_roaming(local_info_t *local);
28 int hostap_set_auth_algs(local_info_t *local);
36 void hostap_setup_dev(struct net_device *dev, local_info_t *local,
39 int hostap_set_hostapd(local_info_t *local, int val, int rtnl_locked);
40 int hostap_set_hostapd_sta(local_info_t *local, int val, int rtnl_locked);
[all …]
Dhostap_cs.c49 local_info_t *local; in hfa384x_outb_debug() local
53 local = iface->local; in hfa384x_outb_debug()
54 spin_lock_irqsave(&local->lock, flags); in hfa384x_outb_debug()
57 spin_unlock_irqrestore(&local->lock, flags); in hfa384x_outb_debug()
63 local_info_t *local; in hfa384x_inb_debug() local
68 local = iface->local; in hfa384x_inb_debug()
69 spin_lock_irqsave(&local->lock, flags); in hfa384x_inb_debug()
72 spin_unlock_irqrestore(&local->lock, flags); in hfa384x_inb_debug()
79 local_info_t *local; in hfa384x_outw_debug() local
83 local = iface->local; in hfa384x_outw_debug()
[all …]
Dhostap_download.c7 local_info_t *local; in prism2_enable_aux_port() local
10 local = iface->local; in prism2_enable_aux_port()
12 if (local->no_pri) { in prism2_enable_aux_port()
20 spin_lock_irqsave(&local->cmdlock, flags); in prism2_enable_aux_port()
30 spin_unlock_irqrestore(&local->cmdlock, flags); in prism2_enable_aux_port()
74 spin_unlock_irqrestore(&local->cmdlock, flags); in prism2_enable_aux_port()
180 local_info_t *local; member
188 hfa384x_from_aux(ctx->local->dev, (unsigned long)v - 1, 0x80, ctx->page); in prism2_download_aux_dump_proc_show()
196 prism2_enable_aux_port(ctx->local->dev, 1); in prism2_download_aux_dump_proc_start()
213 prism2_enable_aux_port(ctx->local->dev, 0); in prism2_download_aux_dump_proc_stop()
[all …]
Dhostap_pci.c59 local_info_t *local; in hfa384x_outb_debug() local
63 local = iface->local; in hfa384x_outb_debug()
64 hw_priv = local->hw_priv; in hfa384x_outb_debug()
66 spin_lock_irqsave(&local->lock, flags); in hfa384x_outb_debug()
69 spin_unlock_irqrestore(&local->lock, flags); in hfa384x_outb_debug()
76 local_info_t *local; in hfa384x_inb_debug() local
81 local = iface->local; in hfa384x_inb_debug()
82 hw_priv = local->hw_priv; in hfa384x_inb_debug()
84 spin_lock_irqsave(&local->lock, flags); in hfa384x_inb_debug()
87 spin_unlock_irqrestore(&local->lock, flags); in hfa384x_inb_debug()
[all …]
Dhostap_ap.c79 seq_printf(m, "auth_algs=%u\n", ap->local->auth_algs); in ap_debug_proc_show()
126 if (sta->ap && sta->local) in ap_free_sta()
127 hostap_event_expired_sta(sta->local->dev, sta); in ap_free_sta()
157 static void hostap_set_tim(local_info_t *local, int aid, int set) in hostap_set_tim() argument
159 if (local->func->set_tim) in hostap_set_tim()
160 local->func->set_tim(local->dev, aid, set); in hostap_set_tim()
190 local_info_t *local; in ap_handle_timer() local
195 if (sta == NULL || sta->local == NULL || sta->local->ap == NULL) { in ap_handle_timer()
200 local = sta->local; in ap_handle_timer()
201 ap = local->ap; in ap_handle_timer()
[all …]
Dhostap_80211_tx.c64 local_info_t *local; in hostap_data_start_xmit() local
77 local = iface->local; in hostap_data_start_xmit()
86 if (local->ddev != dev) { in hostap_data_start_xmit()
87 use_wds = (local->iw_mode == IW_MODE_MASTER && in hostap_data_start_xmit()
88 !(local->wds_type & HOSTAP_WDS_STANDARD_FRAME)) ? in hostap_data_start_xmit()
90 if (dev == local->stadev) { in hostap_data_start_xmit()
93 } else if (dev == local->apdev) { in hostap_data_start_xmit()
100 if (local->iw_mode == IW_MODE_REPEAT) { in hostap_data_start_xmit()
105 } else if (local->iw_mode == IW_MODE_INFRA && in hostap_data_start_xmit()
106 (local->wds_type & HOSTAP_WDS_AP_CLIENT) && in hostap_data_start_xmit()
[all …]
Dhostap_plx.c111 local_info_t *local; in hfa384x_outb_debug() local
115 local = iface->local; in hfa384x_outb_debug()
117 spin_lock_irqsave(&local->lock, flags); in hfa384x_outb_debug()
120 spin_unlock_irqrestore(&local->lock, flags); in hfa384x_outb_debug()
126 local_info_t *local; in hfa384x_inb_debug() local
131 local = iface->local; in hfa384x_inb_debug()
133 spin_lock_irqsave(&local->lock, flags); in hfa384x_inb_debug()
136 spin_unlock_irqrestore(&local->lock, flags); in hfa384x_inb_debug()
143 local_info_t *local; in hfa384x_outw_debug() local
147 local = iface->local; in hfa384x_outw_debug()
[all …]
Dhostap_ap.h81 local_info_t *local; member
166 local_info_t *local; member
220 void hostap_init_data(local_info_t *local);
221 void hostap_init_ap_proc(local_info_t *local);
235 ap_tx_ret hostap_handle_sta_tx(local_info_t *local, struct hostap_tx_data *tx);
237 void hostap_handle_sta_tx_exc(local_info_t *local, struct sk_buff *skb);
238 int hostap_update_sta_ps(local_info_t *local, struct ieee80211_hdr *hdr);
242 ap_rx_ret hostap_handle_sta_rx(local_info_t *local, struct net_device *dev,
246 int hostap_handle_sta_crypto(local_info_t *local, struct ieee80211_hdr *hdr,
254 void hostap_update_rates(local_info_t *local);
[all …]
Dhostap_wlan.h573 int (*card_present)(local_info_t *local);
574 void (*cor_sreset)(local_info_t *local);
575 void (*genesis_reset)(local_info_t *local, int hcr);
595 void (*schedule_reset)(local_info_t *local);
596 int (*download)(local_info_t *local,
894 struct local_info *local; /* pointer to shared private data */ member
981 local_info_t *local = iface->local; in prism2_io_debug_add() local
983 if (!local->io_debug_enabled) in prism2_io_debug_add()
986 local->io_debug[local->io_debug_head] = jiffies & 0xffffffff; in prism2_io_debug_add()
987 if (++local->io_debug_head >= PRISM2_IO_DEBUG_SIZE) in prism2_io_debug_add()
[all …]
/linux-4.4.14/net/nfc/
Dllcp_core.c33 static void nfc_llcp_rx_skb(struct nfc_llcp_local *local, struct sk_buff *skb);
57 struct nfc_llcp_local *local = sock->local; in nfc_llcp_socket_purge() local
65 if (local == NULL) in nfc_llcp_socket_purge()
69 skb_queue_walk_safe(&local->tx_queue, s, tmp) { in nfc_llcp_socket_purge()
73 skb_unlink(s, &local->tx_queue); in nfc_llcp_socket_purge()
78 static void nfc_llcp_socket_release(struct nfc_llcp_local *local, bool device, in nfc_llcp_socket_release() argument
85 skb_queue_purge(&local->tx_queue); in nfc_llcp_socket_release()
87 write_lock(&local->sockets.lock); in nfc_llcp_socket_release()
89 sk_for_each_safe(sk, tmp, &local->sockets.head) { in nfc_llcp_socket_release()
130 write_unlock(&local->sockets.lock); in nfc_llcp_socket_release()
[all …]
Dllcp_commands.c200 int nfc_llcp_parse_gb_tlv(struct nfc_llcp_local *local, in nfc_llcp_parse_gb_tlv() argument
207 if (local == NULL) in nfc_llcp_parse_gb_tlv()
218 local->remote_version = llcp_tlv_version(tlv); in nfc_llcp_parse_gb_tlv()
221 local->remote_miu = llcp_tlv_miux(tlv) + 128; in nfc_llcp_parse_gb_tlv()
224 local->remote_wks = llcp_tlv_wks(tlv); in nfc_llcp_parse_gb_tlv()
227 local->remote_lto = llcp_tlv_lto(tlv) * 10; in nfc_llcp_parse_gb_tlv()
230 local->remote_opt = llcp_tlv_opt(tlv); in nfc_llcp_parse_gb_tlv()
242 local->remote_version, local->remote_miu, in nfc_llcp_parse_gb_tlv()
243 local->remote_lto, local->remote_opt, in nfc_llcp_parse_gb_tlv()
244 local->remote_wks); in nfc_llcp_parse_gb_tlv()
[all …]
Dllcp_sock.c74 struct nfc_llcp_local *local; in llcp_sock_bind() local
105 local = nfc_llcp_find_local(dev); in llcp_sock_bind()
106 if (local == NULL) { in llcp_sock_bind()
112 llcp_sock->local = nfc_llcp_local_get(local); in llcp_sock_bind()
121 llcp_sock->ssap = nfc_llcp_get_sdp_ssap(local, llcp_sock); in llcp_sock_bind()
129 nfc_llcp_sock_link(&local->sockets, sk); in llcp_sock_bind()
148 struct nfc_llcp_local *local; in llcp_raw_sock_bind() local
175 local = nfc_llcp_find_local(dev); in llcp_raw_sock_bind()
176 if (local == NULL) { in llcp_raw_sock_bind()
182 llcp_sock->local = nfc_llcp_local_get(local); in llcp_raw_sock_bind()
[all …]
Dllcp.h118 struct nfc_llcp_local *local; member
217 struct nfc_llcp_local *nfc_llcp_local_get(struct nfc_llcp_local *local);
218 int nfc_llcp_local_put(struct nfc_llcp_local *local);
219 u8 nfc_llcp_get_sdp_ssap(struct nfc_llcp_local *local,
221 u8 nfc_llcp_get_local_ssap(struct nfc_llcp_local *local);
222 void nfc_llcp_put_ssap(struct nfc_llcp_local *local, u8 ssap);
224 void nfc_llcp_send_to_raw_sock(struct nfc_llcp_local *local,
235 int nfc_llcp_parse_gb_tlv(struct nfc_llcp_local *local,
252 int nfc_llcp_send_snl_sdres(struct nfc_llcp_local *local,
254 int nfc_llcp_send_snl_sdreq(struct nfc_llcp_local *local,
[all …]
Dnetlink.c952 struct nfc_llcp_local *local, in nfc_genl_send_params() argument
962 if (nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, local->dev->idx) || in nfc_genl_send_params()
963 nla_put_u8(msg, NFC_ATTR_LLC_PARAM_LTO, local->lto) || in nfc_genl_send_params()
964 nla_put_u8(msg, NFC_ATTR_LLC_PARAM_RW, local->rw) || in nfc_genl_send_params()
965 nla_put_u16(msg, NFC_ATTR_LLC_PARAM_MIUX, be16_to_cpu(local->miux))) in nfc_genl_send_params()
980 struct nfc_llcp_local *local; in nfc_genl_llc_get_params() local
996 local = nfc_llcp_find_local(dev); in nfc_genl_llc_get_params()
997 if (!local) { in nfc_genl_llc_get_params()
1008 rc = nfc_genl_send_params(msg, local, info->snd_portid, info->snd_seq); in nfc_genl_llc_get_params()
1028 struct nfc_llcp_local *local; in nfc_genl_llc_set_params() local
[all …]
/linux-4.4.14/drivers/net/wireless/
Dray_cs.c84 static int translate_frame(ray_dev_t *local, struct tx_msg __iomem *ptx,
86 static void ray_build_header(ray_dev_t *local, struct tx_msg __iomem *ptx,
88 static void untranslate(ray_dev_t *local, struct sk_buff *skb, int len);
93 static void authenticate(ray_dev_t *local);
94 static int build_auth_frame(ray_dev_t *local, UCHAR *dest, int auth_type);
96 static int get_free_ccs(ray_dev_t *local);
97 static int get_free_tx_ccs(ray_dev_t *local);
98 static void init_startup_params(ray_dev_t *local);
102 static int interrupt_ecf(ray_dev_t *local, int ccs);
109 static void clear_interrupt(ray_dev_t *local);
[all …]
Dairo_cs.c65 struct local_info *local; in airo_probe() local
70 local = kzalloc(sizeof(*local), GFP_KERNEL); in airo_probe()
71 if (!local) in airo_probe()
74 p_dev->priv = local; in airo_probe()
146 struct local_info *local = link->priv; in airo_suspend() local
148 netif_device_detach(local->eth_dev); in airo_suspend()
155 struct local_info *local = link->priv; in airo_resume() local
158 reset_airo_card(local->eth_dev); in airo_resume()
159 netif_device_attach(local->eth_dev); in airo_resume()
Datmel_cs.c75 struct local_info *local; in atmel_probe() local
80 local = kzalloc(sizeof(*local), GFP_KERNEL); in atmel_probe()
81 if (!local) in atmel_probe()
84 p_dev->priv = local; in atmel_probe()
177 struct local_info *local = link->priv; in atmel_suspend() local
179 netif_device_detach(local->eth_dev); in atmel_suspend()
186 struct local_info *local = link->priv; in atmel_resume() local
188 atmel_open(local->eth_dev); in atmel_resume()
189 netif_device_attach(local->eth_dev); in atmel_resume()
Dairo.c1141 static void airo_read_wireless_stats (struct airo_info *local);
2272 struct airo_info *local = dev->ml_priv; in airo_get_stats() local
2274 if (!test_bit(JOB_STATS, &local->jobs)) { in airo_get_stats()
2276 if (down_trylock(&local->sem) != 0) { in airo_get_stats()
2277 set_bit(JOB_STATS, &local->jobs); in airo_get_stats()
2278 wake_up_interruptible(&local->thr_wait); in airo_get_stats()
3796 static inline void set_auth_type(struct airo_info *local, int auth_type) in set_auth_type() argument
3798 local->config.authType = auth_type; in set_auth_type()
3803 local->last_auth = auth_type; in set_auth_type()
5797 struct airo_info *local = dev->ml_priv; in airo_set_freq() local
[all …]
/linux-4.4.14/tools/testing/selftests/breakpoints/
Dbreakpoint_test.c52 int local, int global, int set) in toggle_breakpoint() argument
92 if (local) { in toggle_breakpoint()
203 int len, local, global, i; in trigger_tests() local
217 for (local = 0; local < 2; local++) { in trigger_tests()
219 if (!local && !global) in trigger_tests()
231 for (local = 0; local < 2; local++) { in trigger_tests()
233 if (!local && !global) in trigger_tests()
242 for (local = 0; local < 2; local++) { in trigger_tests()
244 if (!local && !global) in trigger_tests()
289 static void launch_instruction_breakpoints(char *buf, int local, int global) in launch_instruction_breakpoints() argument
[all …]
/linux-4.4.14/drivers/net/ethernet/xircom/
Dxirc2ps_cs.c478 struct local_info *local; in xirc2ps_probe() local
486 local = netdev_priv(dev); in xirc2ps_probe()
487 local->dev = dev; in xirc2ps_probe()
488 local->p_dev = link; in xirc2ps_probe()
498 INIT_WORK(&local->tx_timeout_task, xirc2ps_tx_timeout_task); in xirc2ps_probe()
539 struct local_info *local = netdev_priv(dev); in set_card_type() local
557 local->mohawk = 0; in set_card_type()
558 local->dingo = 0; in set_card_type()
559 local->modem = 0; in set_card_type()
560 local->card_type = XIR_UNKNOWN; in set_card_type()
[all …]
/linux-4.4.14/arch/ia64/hp/sim/
Dsimeth.c182 struct simeth_local *local; in simeth_probe1() local
206 local = netdev_priv(dev); in simeth_probe1()
207 local->simfd = fd; /* keep track of underlying file descriptor */ in simeth_probe1()
226 dev->name, simeth_device, local->simfd, dev->dev_addr, dev->irq); in simeth_probe1()
272 struct simeth_local *local; in simeth_device_event() local
315 local = netdev_priv(dev); in simeth_device_event()
318 netdev_attach(local->simfd, dev->irq, ntohl(ifa->ifa_local)): in simeth_device_event()
319 netdev_detach(local->simfd); in simeth_device_event()
370 struct simeth_local *local = netdev_priv(dev); in simeth_tx() local
383 local->stats.tx_bytes += skb->len; in simeth_tx()
[all …]
/linux-4.4.14/drivers/misc/mic/scif/
Dscif_map.h44 scif_free_coherent(void *va, dma_addr_t local, in scif_free_coherent() argument
50 if (scifdev_is_p2p(scifdev) && local > scifdev->base_addr) in scif_free_coherent()
51 local = local - scifdev->base_addr; in scif_free_coherent()
53 size, va, local); in scif_free_coherent()
59 void *local, struct scif_dev *scifdev, size_t size) in scif_map_single() argument
64 *dma_handle = virt_to_phys((local)); in scif_map_single()
67 local, size, DMA_BIDIRECTIONAL); in scif_map_single()
79 scif_unmap_single(dma_addr_t local, struct scif_dev *scifdev, in scif_unmap_single() argument
84 local = local - scifdev->base_addr; in scif_unmap_single()
85 dma_unmap_single(&scifdev->sdev->dev, local, in scif_unmap_single()
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_xmit.c268 int local, noref = 1; in __ip_vs_get_out_rt() local
314 local = (rt->rt_flags & RTCF_LOCAL) ? 1 : 0; in __ip_vs_get_out_rt()
316 local))) { in __ip_vs_get_out_rt()
322 if (unlikely(local)) { in __ip_vs_get_out_rt()
326 return local; in __ip_vs_get_out_rt()
345 if (!local) in __ip_vs_get_out_rt()
352 return local; in __ip_vs_get_out_rt()
416 int local, noref = 1; in __ip_vs_get_out_rt_v6() local
460 local = __ip_vs_is_local_route6(rt); in __ip_vs_get_out_rt_v6()
463 local))) { in __ip_vs_get_out_rt_v6()
[all …]
/linux-4.4.14/drivers/isdn/hisax/
Dsedlbauer_cs.c78 local_info_t *local; in sedlbauer_probe() local
83 local = kzalloc(sizeof(local_info_t), GFP_KERNEL); in sedlbauer_probe()
84 if (!local) return -ENOMEM; in sedlbauer_probe()
85 local->cardnr = -1; in sedlbauer_probe()
87 local->p_dev = link; in sedlbauer_probe()
88 link->priv = local; in sedlbauer_probe()
156 local_info_t *local = link->priv; in sedlbauer_release() local
159 if (local) { in sedlbauer_release()
160 if (local->cardnr >= 0) { in sedlbauer_release()
162 HiSax_closecard(local->cardnr); in sedlbauer_release()
Delsa_cs.c77 local_info_t *local; in elsa_cs_probe() local
82 local = kzalloc(sizeof(local_info_t), GFP_KERNEL); in elsa_cs_probe()
83 if (!local) return -ENOMEM; in elsa_cs_probe()
85 local->p_dev = link; in elsa_cs_probe()
86 link->priv = local; in elsa_cs_probe()
88 local->cardnr = -1; in elsa_cs_probe()
170 local_info_t *local = link->priv; in elsa_cs_release() local
174 if (local) { in elsa_cs_release()
175 if (local->cardnr >= 0) { in elsa_cs_release()
177 HiSax_closecard(local->cardnr); in elsa_cs_release()
Dteles_cs.c58 local_info_t *local; in teles_probe() local
63 local = kzalloc(sizeof(local_info_t), GFP_KERNEL); in teles_probe()
64 if (!local) return -ENOMEM; in teles_probe()
65 local->cardnr = -1; in teles_probe()
67 local->p_dev = link; in teles_probe()
68 link->priv = local; in teles_probe()
152 local_info_t *local = link->priv; in teles_cs_release() local
156 if (local) { in teles_cs_release()
157 if (local->cardnr >= 0) { in teles_cs_release()
159 HiSax_closecard(local->cardnr); in teles_cs_release()
/linux-4.4.14/drivers/vlynq/
Dvlynq.c86 dev->local, dev->remote); in vlynq_dump_regs()
89 i + 1, ((u32 *)dev->local)[i]); in vlynq_dump_regs()
114 if (readl(&dev->local->status) & VLYNQ_STATUS_LINK) in vlynq_linked()
124 writel(readl(&dev->local->control) | VLYNQ_CTRL_RESET, in vlynq_reset()
125 &dev->local->control); in vlynq_reset()
131 writel(readl(&dev->local->control) & ~VLYNQ_CTRL_RESET, in vlynq_reset()
132 &dev->local->control); in vlynq_reset()
198 u32 status = readl(&dev->local->status); in vlynq_local_ack()
202 writel(status, &dev->local->status); in vlynq_local_ack()
221 status = readl(&dev->local->int_status); in vlynq_irq()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/timer/
Dsamsung,exynos4210-mct.txt4 global timer and CPU local timers. The global timer is a 64-bit free running
6 four preset counter values. The CPU local timers are 32-bit free running
8 one CPU local timer instantiated in MCT for every CPU in the system.
20 should be the order of the interrupts specified. The local timer interrupts
34 For MCT block that uses a per-processor interrupt for local timers, such
35 as ones compatible with "samsung,exynos4412-mct", only one local timer
36 interrupt might be specified, meaning that all local timers use the same
39 Example 1: In this example, the IP contains two local timers, using separate
40 interrupts, so two local timer interrupts have been specified,
73 Example 3: In this example, the IP contains four local timers, but using
[all …]
Dmarvell,armada-370-xp-timer.txt10 then local timer interrupts
13 local/private timers.
/linux-4.4.14/Documentation/
Dlocal_ops.txt6 This document explains the purpose of the local atomic operations, how
9 those local variables across CPUs when the order of memory writes matters.
18 * Purpose of local atomic operations
43 not have a different behavior between SMP and UP, including asm-generic/local.h
44 in your architecture's local.h is sufficient.
53 * Rules to follow when using local atomic operations
55 - Variables touched by local ops must be per cpu variables.
57 - This CPU can use local ops from any context (process, irq, softirq, nmi, ...)
59 - Preemption (or interrupts) must be disabled when using local ops in
62 actual local op.
[all …]
Dmono.txt23 /usr/local/bin/mono) is working.
33 3) Add the following entries to /etc/rc.local or similar script
51 # the Mono CLR runtime (usually /usr/local/bin/mono
Djava.txt32 ':Java:M::\xca\xfe\xba\xbe::/usr/local/bin/javawrapper:'
34 ':ExecutableJAR:E::jar::/usr/local/bin/jarwrapper:'
42 custom wrappers from this document in /usr/local)
55 and stick it to /usr/local/bin.
62 # /usr/local/bin/javawrapper - the wrapper for binfmt_misc/java
71 FQCLASS=`/usr/local/bin/javaclassname $1`
358 # /usr/local/java/bin/jarwrapper - the wrapper for binfmt_misc/jar
/linux-4.4.14/net/tipc/
Dudp_media.c284 struct udp_media_addr *local, in parse_options() argument
308 local->proto = htons(ETH_P_IP); in parse_options()
309 local->udp_port = ip4->sin_port; in parse_options()
310 local->ipv4.s_addr = ip4->sin_addr.s_addr; in parse_options()
323 local->proto = htons(ETH_P_IPV6); in parse_options()
324 local->udp_port = ip6->sin6_port; in parse_options()
325 local->ipv6 = ip6->sin6_addr; in parse_options()
353 struct udp_media_addr local = {0}; in tipc_udp_enable() local
363 err = parse_options(attrs, ub, &local, remote); in tipc_udp_enable()
371 tipc_udp_media_addr_set(&b->addr, &local); in tipc_udp_enable()
[all …]
/linux-4.4.14/drivers/uwb/
Ddrp-avail.c52 bitmap_fill(rc->drp_avail.local, UWB_NUM_MAS); in uwb_drp_avail_init()
63 bitmap_and(avail->bm, rc->drp_avail.global, rc->drp_avail.local, UWB_NUM_MAS); in uwb_drp_available()
94 bitmap_andnot(rc->drp_avail.local, rc->drp_avail.local, mas->bm, UWB_NUM_MAS); in uwb_drp_avail_reserve()
105 bitmap_or(rc->drp_avail.local, rc->drp_avail.local, mas->bm, UWB_NUM_MAS); in uwb_drp_avail_release()
121 bitmap_and(avail.bm, rc->drp_avail.global, rc->drp_avail.local, UWB_NUM_MAS); in uwb_drp_avail_ie_update()
/linux-4.4.14/net/atm/
Daddr.c57 head = &dev->local; in atm_reset_addr()
63 if (head == &dev->local) in atm_reset_addr()
82 head = &dev->local; in atm_add_addr()
97 if (head == &dev->local) in atm_add_addr()
117 head = &dev->local; in atm_del_addr()
123 if (head == &dev->local) in atm_del_addr()
145 head = &dev->local; in atm_get_addr()
Dsignaling.c79 if (!*vcc->local.sas_addr.prv && !*vcc->local.sas_addr.pub) { in sigd_send()
80 vcc->local.sas_family = AF_ATMSVC; in sigd_send()
81 memcpy(vcc->local.sas_addr.prv, in sigd_send()
82 msg->local.sas_addr.prv, ATM_ESA_LEN); in sigd_send()
83 memcpy(vcc->local.sas_addr.pub, in sigd_send()
84 msg->local.sas_addr.pub, ATM_E164_LEN + 1); in sigd_send()
166 msg->local = vcc->local; in sigd_enq2()
Dsvc.c127 vcc->local = *addr; in svc_bind()
129 sigd_enq(vcc, as_bind, NULL, NULL, &vcc->local); in svc_bind()
300 sigd_enq(vcc, as_listen, NULL, NULL, &vcc->local); in svc_listen()
376 new_vcc->local = msg->local; in svc_accept()
426 memcpy(addr, peer ? &ATM_SD(sock)->remote : &ATM_SD(sock)->local, in svc_getname()
437 sigd_enq2(vcc, as_modify, NULL, NULL, &vcc->local, qos, 0); in svc_change_qos()
666 ATM_SD(sock)->local.sas_family = AF_ATMSVC; in svc_create()
/linux-4.4.14/Documentation/DocBook/
Drapidio.xml.db1 API-rio-local-read-config-32
2 API-rio-local-write-config-32
3 API-rio-local-read-config-16
4 API-rio-local-write-config-16
5 API-rio-local-read-config-8
6 API-rio-local-write-config-8
27 API-rio-local-get-device-id
81 API-rio-local-set-device-id
123 API-fsl-local-config-read
124 API-fsl-local-config-write
/linux-4.4.14/arch/mips/boot/dts/cavium-octeon/
Docteon_3xxx.dts206 local-mac-address = [ 00 00 00 00 00 00 ];
218 local-mac-address = [ 00 00 00 00 00 00 ];
237 local-mac-address = [ 00 00 00 00 00 00 ];
244 local-mac-address = [ 00 00 00 00 00 00 ];
251 local-mac-address = [ 00 00 00 00 00 00 ];
258 local-mac-address = [ 00 00 00 00 00 00 ];
265 local-mac-address = [ 00 00 00 00 00 00 ];
270 local-mac-address = [ 00 00 00 00 00 00 ];
275 local-mac-address = [ 00 00 00 00 00 00 ];
280 local-mac-address = [ 00 00 00 00 00 00 ];
[all …]
Docteon_68xx.dts250 local-mac-address = [ 00 00 00 00 00 00 ];
269 local-mac-address = [ 00 00 00 00 00 00 ];
275 local-mac-address = [ 00 00 00 00 00 00 ];
281 local-mac-address = [ 00 00 00 00 00 00 ];
287 local-mac-address = [ 00 00 00 00 00 00 ];
301 local-mac-address = [ 00 00 00 00 00 00 ];
307 local-mac-address = [ 00 00 00 00 00 00 ];
313 local-mac-address = [ 00 00 00 00 00 00 ];
319 local-mac-address = [ 00 00 00 00 00 00 ];
333 local-mac-address = [ 00 00 00 00 00 00 ];
[all …]
/linux-4.4.14/net/dccp/
Dfeat.c356 static int dccp_feat_activate(struct sock *sk, u8 feat_num, bool local, in dccp_feat_activate() argument
359 return __dccp_feat_activate(sk, dccp_feat_index(feat_num), local, fval); in dccp_feat_activate()
454 dccp_feat_entry_new(struct list_head *head, u8 feat, bool local) in dccp_feat_entry_new() argument
459 if (entry->feat_num == feat && entry->is_local == local) { in dccp_feat_entry_new()
470 entry->is_local = local; in dccp_feat_entry_new()
484 static int dccp_feat_push_change(struct list_head *fn_list, u8 feat, u8 local, in dccp_feat_push_change() argument
487 struct dccp_feat_entry *new = dccp_feat_entry_new(fn_list, feat, local); in dccp_feat_push_change()
493 new->is_local = local; in dccp_feat_push_change()
512 static int dccp_feat_push_confirm(struct list_head *fn_list, u8 feat, u8 local, in dccp_feat_push_confirm() argument
515 struct dccp_feat_entry *new = dccp_feat_entry_new(fn_list, feat, local); in dccp_feat_push_confirm()
[all …]
/linux-4.4.14/drivers/usb/host/
Dsl811_cs.c178 local_info_t *local; in sl811_cs_probe() local
180 local = kzalloc(sizeof(local_info_t), GFP_KERNEL); in sl811_cs_probe()
181 if (!local) in sl811_cs_probe()
183 local->p_dev = link; in sl811_cs_probe()
184 link->priv = local; in sl811_cs_probe()
/linux-4.4.14/drivers/rapidio/
Drio.h22 extern u32 rio_mport_get_feature(struct rio_mport *mport, int local, u16 destid,
24 extern u32 rio_mport_get_physefb(struct rio_mport *port, int local,
26 extern u32 rio_mport_get_efb(struct rio_mport *port, int local, u16 destid,
42 extern int rio_enable_rx_tx_port(struct rio_mport *port, int local, u16 destid,
Drio.c454 int rio_map_inb_region(struct rio_mport *mport, dma_addr_t local, in rio_map_inb_region() argument
463 rc = mport->ops->map_inb(mport, local, rbase, size, rflags); in rio_map_inb_region()
494 rio_mport_get_physefb(struct rio_mport *port, int local, in rio_mport_get_physefb() argument
500 ext_ftr_ptr = rio_mport_get_efb(port, local, destid, hopcount, 0); in rio_mport_get_physefb()
503 if (local) in rio_mport_get_physefb()
527 ext_ftr_ptr = rio_mport_get_efb(port, local, destid, in rio_mport_get_physefb()
606 int local, u16 destid, in rio_enable_rx_tx_port() argument
617 "%d, port_num = %d)\n", local, destid, hopcount, port_num); in rio_enable_rx_tx_port()
619 ext_ftr_ptr = rio_mport_get_physefb(port, local, destid, hopcount); in rio_enable_rx_tx_port()
621 if (local) { in rio_enable_rx_tx_port()
[all …]
/linux-4.4.14/fs/fscache/
DKconfig3 tristate "General filesystem local caching manager"
13 bool "Gather statistical information on local caching"
16 This option causes statistical information to be gathered on local
30 bool "Gather latency information on local caching"
33 This option causes latency information to be gathered on local
50 This permits debugging to be dynamically enabled in the local caching
/linux-4.4.14/drivers/net/ethernet/alteon/
Dacenic.c2953 u32 local; in eeprom_start() local
2957 local = readl(&regs->LocalCtrl); in eeprom_start()
2958 local |= EEPROM_DATA_OUT | EEPROM_WRITE_ENABLE; in eeprom_start()
2959 writel(local, &regs->LocalCtrl); in eeprom_start()
2963 local |= EEPROM_CLK_OUT; in eeprom_start()
2964 writel(local, &regs->LocalCtrl); in eeprom_start()
2968 local &= ~EEPROM_DATA_OUT; in eeprom_start()
2969 writel(local, &regs->LocalCtrl); in eeprom_start()
2973 local &= ~EEPROM_CLK_OUT; in eeprom_start()
2974 writel(local, &regs->LocalCtrl); in eeprom_start()
[all …]
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-bus-rpmsg19 processor. Channels have a local ("source") rpmsg address,
26 This sysfs entry contains the src (local) rpmsg address
37 processor. Channels have a local ("source") rpmsg address,
48 remote processor. This make it a local rpmsg server,
60 /sys/bus/rpmsg/devices/.../name above) and have a local
64 A channel is first created when an entity, whether local
73 This sysfs entry tells us whether the channel is a local
/linux-4.4.14/Documentation/ABI/stable/
Dfirewire-cdev15 be remote or local nodes. Operations on a /dev/fw* file have
22 and local node
30 - Query node IDs of local node, root node, IRM, bus
35 - Allocation of IEEE 1212 address ranges on the local
39 - Addition of descriptors or directories to the local
45 with a local node:
46 - Addition of descriptors or directories to the local
96 with the file descriptor, back out any changes to the local
/linux-4.4.14/Documentation/hwmon/
Dmax166828 temp1_input ro local (ambient) temperature
29 temp1_max rw local temperature maximum threshold for alarm
30 temp1_max_alarm ro local temperature maximum threshold alarm
31 temp1_min rw local temperature minimum threshold for alarm
32 temp1_min_alarm ro local temperature minimum threshold alarm
Dmax669743 chips. The chips support one local temperature sensor plus four, six, or seven
46 thermal transistors plus three thermistors in addition to the local temperature
49 The driver provides the following sysfs attributes. temp1 is the local (chip)
Dtmp42134 implement one local and up to one (TMP421, TMP441), up to two (TMP422,
38 for both the local and remote channels is 0.0625 degree C.
Dlm6335 - No low limit for local temperature.
36 - No critical limit for local temperature.
46 degree for the local temperature, 0.125 degree for the remote temperature.
/linux-4.4.14/Documentation/devicetree/bindings/net/
Dcavium-pip.txt57 local-mac-address = [ 00 0f b7 10 63 60 ];
63 local-mac-address = [ 00 0f b7 10 63 61 ];
69 local-mac-address = [ 00 0f b7 10 63 62 ];
75 local-mac-address = [ 00 0f b7 10 63 63 ];
89 local-mac-address = [ 00 0f b7 10 63 64 ];
Daltera_tse.txt35 - mdio device tree subnode: When the TSE has a phy connected to its local
50 - local-mac-address: See ethernet.txt in the same directory.
71 local-mac-address = [ 00 00 00 00 00 00 ];
109 local-mac-address = [ 00 00 00 00 00 00 ];
Dbrcm,systemport.txt9 - local-mac-address: Ethernet MAC address (48 bits) of this adapter
25 local-mac-address = [ 00 11 22 33 44 55 ];
Dhisilicon-hns-nic.txt38 - local-mac-address: mac addr of the ethernet interface
46 local-mac-address = [a2 14 e4 4b 56 76];
Dqca-qca7000-spi.txt19 - local-mac-address: 6 bytes, MAC address
45 local-mac-address = [ A0 B0 C0 D0 E0 F0 ];
Dfsl-fec.txt40 local-mac-address = [00 04 9F 01 1B B9];
52 local-mac-address = [00 04 9F 01 1B B9];
/linux-4.4.14/drivers/isdn/i4l/
Disdn_net.c75 isdn_net_local *lp = n->local; in isdn_net_device_started()
328 isdn_net_local *l = p->local; in isdn_net_autohup()
400 isdn_net_local *lp = p->local; in isdn_net_stat_callback()
568 isdn_net_local *lp = p->local; in isdn_net_dial()
1109 nd->queue = nd->local; in isdn_net_xmit()
1679 __be32 local; in isdn_net_ciscohdlck_slarp_in() local
1702 local = *addr ^ cpu_to_be32(3); in isdn_net_ciscohdlck_slarp_in()
1704 lp->netdev->dev->name, addr, &local, mask); in isdn_net_ciscohdlck_slarp_in()
1883 isdn_net_local *lp = p->local; in isdn_net_rcv_skb()
2013 if (p->local->pre_device == drvidx) in isdn_net_swapbind()
[all …]
/linux-4.4.14/Documentation/locking/
Dlglock.txt1 lglock - local/global locks for mostly local access patterns
17 as per_cpu elements but can be mostly handled by CPU local actions
18 lglock will be used where the majority of accesses are cpu local
19 reading and occasional cpu local writing with very infrequent
24 - very fast access to the local per_cpu data
35 lg_local_lock/unlock accessing the local CPUs lock object and the
38 that the reference to the local CPUs lock does not go out of scope.
39 Due to the lg_local_lock/unlock only touching cpu-local resources it
40 is fast. Taking the local lock on a different CPU will be more
129 * suitable for code that can do most operations on the CPU local
/linux-4.4.14/arch/powerpc/mm/
Dhash_native_64.c152 int ssize, int local) in tlbie() argument
157 use_local = local && mmu_has_feature(MMU_FTR_TLBIEL) && !cxl_ctx_in_use(); in tlbie()
290 int ret = 0, local = 0; in native_hpte_updatepp() local
327 local = 1; in native_hpte_updatepp()
332 tlbie(vpn, bpsize, apsize, ssize, local); in native_hpte_updatepp()
398 int bpsize, int apsize, int ssize, int local) in native_hpte_invalidate() argument
427 tlbie(vpn, bpsize, apsize, ssize, local); in native_hpte_invalidate()
435 int psize, int ssize, int local) in native_hugepage_invalidate() argument
481 tlbie(vpn, psize, actual_psize, ssize, local); in native_hugepage_invalidate()
635 static void native_flush_hash_range(unsigned long number, int local) in native_flush_hash_range() argument
[all …]
Dtlb_hash64.c144 int i, local = 0; in __flush_tlb_pending() local
149 local = 1; in __flush_tlb_pending()
152 batch->psize, batch->ssize, local); in __flush_tlb_pending()
154 flush_hash_range(i, local); in __flush_tlb_pending()
Dhash_utils_64.c1296 int local = flags & HPTE_LOCAL_UPDATE; in flush_hash_page() local
1311 ppc_md.hpte_invalidate(slot, vpn, psize, psize, ssize, local); in flush_hash_page()
1322 if (local && cpu_has_feature(CPU_FTR_TM) && in flush_hash_page()
1340 int local = flags & HPTE_LOCAL_UPDATE; in flush_hash_hugepage() local
1354 psize, ssize, local); in flush_hash_hugepage()
1382 MMU_PAGE_16M, ssize, local); in flush_hash_hugepage()
1393 if (local && cpu_has_feature(CPU_FTR_TM) && in flush_hash_hugepage()
1404 void flush_hash_range(unsigned long number, int local) in flush_hash_range() argument
1407 ppc_md.flush_hash_range(number, local); in flush_hash_range()
1415 batch->psize, batch->ssize, local); in flush_hash_range()
/linux-4.4.14/arch/ia64/include/asm/
Dtlb.h65 struct page *local[IA64_GATHER_BUNDLE]; member
174 tlb->max = ARRAY_SIZE(tlb->local); in tlb_gather_mmu()
175 tlb->pages = tlb->local; in tlb_gather_mmu()
199 if (tlb->pages != tlb->local) in tlb_finish_mmu()
212 if (!tlb->nr && tlb->pages == tlb->local) in __tlb_remove_page()
/linux-4.4.14/scripts/coccinelle/iterators/
Ddevice_node_continue.cocci17 local idexpression n;
55 local idexpression r.n;
67 local idexpression n;
76 local idexpression n;
/linux-4.4.14/net/netlabel/
Dnetlabel_cipso_v4.c206 doi_def->map.std->lvl.local = kcalloc(doi_def->map.std->lvl.local_size, in netlbl_cipsov4_add_std()
209 if (doi_def->map.std->lvl.local == NULL) { in netlbl_cipsov4_add_std()
221 doi_def->map.std->lvl.local[iter] = CIPSO_V4_INV_LVL; in netlbl_cipsov4_add_std()
237 doi_def->map.std->lvl.local[nla_get_u32(lvl_loc)] = in netlbl_cipsov4_add_std()
279 doi_def->map.std->cat.local = kcalloc( in netlbl_cipsov4_add_std()
283 if (doi_def->map.std->cat.local == NULL) { in netlbl_cipsov4_add_std()
296 doi_def->map.std->cat.local[iter] = CIPSO_V4_INV_CAT; in netlbl_cipsov4_add_std()
312 doi_def->map.std->cat.local[ in netlbl_cipsov4_add_std()
534 if (doi_def->map.std->lvl.local[iter] == in netlbl_cipsov4_list()
550 doi_def->map.std->lvl.local[iter]); in netlbl_cipsov4_list()
[all …]
/linux-4.4.14/drivers/i2c/busses/
Di2c-opal.c134 u8 local[2]; in i2c_opal_smbus_xfer() local
159 local[0] = data->word & 0xff; in i2c_opal_smbus_xfer()
160 local[1] = (data->word >> 8) & 0xff; in i2c_opal_smbus_xfer()
162 req.buffer_ra = cpu_to_be64(__pa(local)); in i2c_opal_smbus_xfer()
183 data->word = ((u16)local[1]) << 8; in i2c_opal_smbus_xfer()
184 data->word |= local[0]; in i2c_opal_smbus_xfer()
Di2c-powermac.c51 u8 local[2]; in i2c_powermac_smbus_xfer() local
75 local[0] = data->word & 0xff; in i2c_powermac_smbus_xfer()
76 local[1] = (data->word >> 8) & 0xff; in i2c_powermac_smbus_xfer()
78 buf = local; in i2c_powermac_smbus_xfer()
133 data->word = ((u16)local[1]) << 8; in i2c_powermac_smbus_xfer()
134 data->word |= local[0]; in i2c_powermac_smbus_xfer()
/linux-4.4.14/Documentation/filesystems/pohmelfs/
Dnetwork_protocol.txt66 @id - local inode number of the directory to read.
72 Data size does not exceed local page cache size.
89 @id - local inode number
98 @id - local inode number.
107 @id - local inode number of the directory to look object in.
108 @start - local inode number of the object to look at.
116 @id - parent local inode number.
133 @id - local inode number.
164 @id - local inode number.
185 @id - local inode number.
[all …]
/linux-4.4.14/arch/arm/include/asm/
Dtlb.h79 struct page *local[MMU_GATHER_BUNDLE]; member
140 if (tlb->pages == tlb->local) in tlb_flush_mmu_free()
158 tlb->max = ARRAY_SIZE(tlb->local); in tlb_gather_mmu()
159 tlb->pages = tlb->local; in tlb_gather_mmu()
176 if (tlb->pages != tlb->local) in tlb_finish_mmu()
/linux-4.4.14/include/media/
Dv4l2-dev.h55 int v4l2_prio_change(struct v4l2_prio_state *global, enum v4l2_priority *local,
57 void v4l2_prio_open(struct v4l2_prio_state *global, enum v4l2_priority *local);
58 void v4l2_prio_close(struct v4l2_prio_state *global, enum v4l2_priority local);
60 int v4l2_prio_check(struct v4l2_prio_state *global, enum v4l2_priority local);
/linux-4.4.14/Documentation/fb/
Dcmap_xfbdev.txt41 dr = (long) pent->co.local.red - prgb->red;
42 dg = (long) pent->co.local.green - prgb->green;
43 db = (long) pent->co.local.blue - prgb->blue;
48 co.local.red are entries that were brought in through FBIOGETCMAP which come
/linux-4.4.14/sound/isa/gus/
Dgus_main.c237 int l, idx, local; in snd_gus_detect_memory() local
247 local = idx << 18; in snd_gus_detect_memory()
248 snd_gf1_poke(gus, local, d); in snd_gus_detect_memory()
249 snd_gf1_poke(gus, local + 1, d + 1); in snd_gus_detect_memory()
250 if (snd_gf1_peek(gus, local) != d || in snd_gus_detect_memory()
251 snd_gf1_peek(gus, local + 1) != d + 1 || in snd_gus_detect_memory()
260 for (l = 0, local = gus->gf1.memory; l < 4; l++, local -= 256 * 1024) { in snd_gus_detect_memory()
264 gus->gf1.mem_alloc.banks_16[l].size = local > 0 ? 256 * 1024 : 0; in snd_gus_detect_memory()
Dinterwave.c332 unsigned int local; in snd_interwave_bank_sizes() local
338 for (local = idx << 22; in snd_interwave_bank_sizes()
339 local < (idx << 22) + 0x400000; in snd_interwave_bank_sizes()
340 local += 0x40000, d++) { in snd_interwave_bank_sizes()
341 snd_gf1_poke(gus, local, d); in snd_interwave_bank_sizes()
342 snd_gf1_poke(gus, local + 1, d + 1); in snd_interwave_bank_sizes()
347 snd_gf1_peek(gus, local), in snd_interwave_bank_sizes()
348 snd_gf1_peek(gus, local + 1), in snd_interwave_bank_sizes()
351 if (snd_gf1_peek(gus, local) != d || in snd_interwave_bank_sizes()
352 snd_gf1_peek(gus, local + 1) != d + 1 || in snd_interwave_bank_sizes()
/linux-4.4.14/net/openvswitch/
Dvport-netdev.c82 struct vport *local; in get_dpdev() local
84 local = ovs_vport_ovsl(dp, OVSP_LOCAL); in get_dpdev()
85 BUG_ON(!local); in get_dpdev()
86 return local->dev; in get_dpdev()
/linux-4.4.14/scripts/coccinelle/api/
Dd_find_alias.cocci15 local idexpression struct dentry *dent;
44 local idexpression struct dentry *r.dent;
64 local idexpression struct dentry *r.dent;
/linux-4.4.14/drivers/net/fddi/skfp/
Dsmt.c68 int local);
70 int fc, u_long tid, int type, int local);
75 u_long tid, int local);
77 u_long tid, int local);
473 int local ; in smt_received_pack() local
490 local = ((fs & L_INDICATOR) != 0) ; in smt_received_pack()
500 if (is_my_addr(smc,&sm->smt_source) && !local) { in smt_received_pack()
561 smt_send_rdf(smc,mb,m_fc(mb),SMT_RDF_VERSION,local) ; in smt_received_pack()
568 smt_send_rdf(smc,mb,m_fc(mb),SMT_RDF_LENGTH,local) ; in smt_received_pack()
624 SMT_REPLY,local) ; in smt_received_pack()
[all …]
Dpmf.c40 int local, int set);
42 int index, int local);
44 int set, int local);
281 void smt_pmf_received_pack(struct s_smc *smc, SMbuf *mb, int local) in smt_pmf_received_pack() argument
300 sm->smt_class == SMT_PMF_SET,local) ; in smt_pmf_received_pack()
306 smt_send_frame(smc,reply,FC_SMT_INFO,local) ; in smt_pmf_received_pack()
312 int set, int local) in smt_build_pmf_response() argument
355 if (!local && smt_authorize(smc,req)) in smt_build_pmf_response()
437 index,local); in smt_build_pmf_response()
451 index,local) ; in smt_build_pmf_response()
[all …]
/linux-4.4.14/drivers/hid/
Dhid-core.c127 usage = parser->local.usage[0]; in open_collection()
205 if (parser->local.usage_index >= HID_MAX_USAGES) { in hid_add_usage()
209 parser->local.usage[parser->local.usage_index] = usage; in hid_add_usage()
210 parser->local.collection_index[parser->local.usage_index] = in hid_add_usage()
213 parser->local.usage_index++; in hid_add_usage()
251 if (!parser->local.usage_index) /* Ignore padding fields */ in hid_add_field()
254 usages = max_t(unsigned, parser->local.usage_index, in hid_add_field()
268 if (i >= parser->local.usage_index) in hid_add_field()
269 j = parser->local.usage_index - 1; in hid_add_field()
270 field->usage[i].hid = parser->local.usage[j]; in hid_add_field()
[all …]
/linux-4.4.14/arch/powerpc/kernel/vdso32/
Dgettimeofday.S42 bl __get_datapage@local /* get data page */
48 bl __do_get_tspec@local /* get sec/usec from tb & kernel */
83 bl __get_datapage@local /* get data page */
87 50: bl __do_get_tspec@local /* get sec/nsec from tb & kernel */
195 bl __get_datapage@local
Ddatapage.S59 bl __get_datapage@local
80 bl __get_datapage@local
/linux-4.4.14/sound/soc/intel/atom/sst/
Dsst_pvt.c348 int local; in sst_assign_pvt_id() local
352 local = ffz(drv->pvt_id); in sst_assign_pvt_id()
353 dev_dbg(drv->dev, "pvt_id assigned --> %d\n", local); in sst_assign_pvt_id()
354 if (local >= SST_MAX_BLOCKS){ in sst_assign_pvt_id()
360 change_bit(local, &drv->pvt_id); in sst_assign_pvt_id()
362 return local; in sst_assign_pvt_id()
/linux-4.4.14/scripts/coccinelle/misc/
Dcompare_const_fl.cocci17 local idexpression i;
50 local idexpression i;
88 local idexpression i;
114 local idexpression i;
/linux-4.4.14/Documentation/vm/
Dnuma10 or more CPUs, local memory, and/or IO buses. For brevity and to
39 [cache misses] to be to "local" memory--memory on the same cell, if any--or
57 a given node will see the same local memory access times and bandwidth.
91 for the node where the request originates. This is called "local allocation."
92 If the "local" node cannot satisfy the request, the kernel will examine other
97 "local" to the underlying physical resources and off the system interconnect--
110 sched_setaffinity(2). Further, one can modify the kernel's default local
120 node the "local memory node"--the node of the first zone in CPU's node's
123 So, default, local allocations will succeed with the kernel supplying the
147 or cpu_to_mem() function to locate the "local memory node" for the calling or
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/
Dmcm.txt8 The LAW node represents the region of CCSR space where local access
11 number of local access windows as specified by fsl,num-laws.
30 Definition: The value specifies the number of local access
Decm.txt8 The LAW node represents the region of CCSR space where local access
11 number of local access windows as specified by fsl,num-laws.
30 Definition: The value specifies the number of local access
/linux-4.4.14/drivers/infiniband/core/
Dmad.c748 struct ib_mad_local_private *local; in handle_outgoing_dr_smp() local
818 local = kmalloc(sizeof *local, GFP_ATOMIC); in handle_outgoing_dr_smp()
819 if (!local) { in handle_outgoing_dr_smp()
824 local->mad_priv = NULL; in handle_outgoing_dr_smp()
825 local->recv_mad_agent = NULL; in handle_outgoing_dr_smp()
830 kfree(local); in handle_outgoing_dr_smp()
855 local->mad_priv = mad_priv; in handle_outgoing_dr_smp()
856 local->recv_mad_agent = mad_agent_priv; in handle_outgoing_dr_smp()
885 local->mad_priv = mad_priv; in handle_outgoing_dr_smp()
886 local->recv_mad_agent = recv_mad_agent; in handle_outgoing_dr_smp()
[all …]
/linux-4.4.14/fs/ocfs2/dlm/
Ddlmdomain.c976 char *local, int locallen) in dlm_match_regions() argument
1008 localnr = o2hb_get_all_regions(local, (u8)localnr); in dlm_match_regions()
1011 l = local; in dlm_match_regions()
1037 l = local; in dlm_match_regions()
1118 char *local = NULL; in dlm_query_region_handler() local
1127 local = kmalloc(sizeof(qr->qr_regions), GFP_KERNEL); in dlm_query_region_handler()
1128 if (!local) in dlm_query_region_handler()
1159 status = dlm_match_regions(dlm, qr, local, sizeof(qr->qr_regions)); in dlm_query_region_handler()
1167 kfree(local); in dlm_query_region_handler()
1174 struct o2nm_node *local; in dlm_match_nodes() local
[all …]
/linux-4.4.14/Documentation/accounting/
Dgetdelays.c91 struct sockaddr_nl local; in create_nl_socket() local
105 memset(&local, 0, sizeof(local)); in create_nl_socket()
106 local.nl_family = AF_NETLINK; in create_nl_socket()
108 if (bind(fd, (struct sockaddr *) &local, sizeof(local)) < 0) in create_nl_socket()
/linux-4.4.14/drivers/block/drbd/
Ddrbd_int.h843 struct drbd_backing_dev *ldev __protected_by(local);
1124 extern void drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local);
1125 extern void _drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local);
1126 extern void drbd_uuid_new_current(struct drbd_device *device) __must_hold(local);
1127 extern void drbd_uuid_set_bm(struct drbd_device *device, u64 val) __must_hold(local);
1128 extern void drbd_uuid_move_history(struct drbd_device *device) __must_hold(local);
1129 extern void __drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local);
1130 extern void drbd_md_set_flag(struct drbd_device *device, int flags) __must_hold(local);
1131 extern void drbd_md_clear_flag(struct drbd_device *device, int flags)__must_hold(local);
1144 extern int drbd_bmio_set_n_write(struct drbd_device *device) __must_hold(local);
[all …]
/linux-4.4.14/drivers/dma/
Ddmaengine.c99 count += per_cpu_ptr(chan->local, i)->memcpy_count; in memcpy_count_show()
121 count += per_cpu_ptr(chan->local, i)->bytes_transferred; in bytes_transferred_show()
893 chan->local = alloc_percpu(typeof(*chan->local)); in dma_async_device_register()
894 if (chan->local == NULL) in dma_async_device_register()
898 free_percpu(chan->local); in dma_async_device_register()
899 chan->local = NULL; in dma_async_device_register()
915 free_percpu(chan->local); in dma_async_device_register()
916 chan->local = NULL; in dma_async_device_register()
961 if (chan->local == NULL) in dma_async_device_register()
967 free_percpu(chan->local); in dma_async_device_register()
[all …]
/linux-4.4.14/drivers/media/v4l2-core/
Dv4l2-dev.c249 int v4l2_prio_change(struct v4l2_prio_state *global, enum v4l2_priority *local, in v4l2_prio_change() argument
254 if (*local == new) in v4l2_prio_change()
258 if (prio_is_valid(*local)) in v4l2_prio_change()
259 atomic_dec(&global->prios[*local]); in v4l2_prio_change()
260 *local = new; in v4l2_prio_change()
265 void v4l2_prio_open(struct v4l2_prio_state *global, enum v4l2_priority *local) in v4l2_prio_open() argument
267 v4l2_prio_change(global, local, V4L2_PRIORITY_DEFAULT); in v4l2_prio_open()
271 void v4l2_prio_close(struct v4l2_prio_state *global, enum v4l2_priority local) in v4l2_prio_close() argument
273 if (prio_is_valid(local)) in v4l2_prio_close()
274 atomic_dec(&global->prios[local]); in v4l2_prio_close()
[all …]
/linux-4.4.14/arch/arm/boot/dts/
Dlpc4350.dtsi26 reg = <0x10000000 0x20000>; /* 96 + 32 KiB local SRAM */
31 reg = <0x10080000 0x12000>; /* 64 + 8 KiB local SRAM */
Dlpc4357.dtsi26 reg = <0x10000000 0x8000>; /* 32 KiB local SRAM */
31 reg = <0x10080000 0xa000>; /* 32 + 8 KiB local SRAM */
/linux-4.4.14/tools/perf/Documentation/
Dperf-probe.txt29 and C local variables) with debuginfo.
79 Show available local variables at given probe point. The argument
83 (Only for --vars) Show external defined variables in addition to local
157local variable, local data structure member (e.g. var->field, var.field2), local array with fixed …
158 …special arguments are also available for NAME, '$vars' is expanded to the local variables (includi…
159 …t the type based on debuginfo. You can specify 'string' type only for the local variable or struct…
201 Add a probe on schedule() function 12th line with recording cpu local variable:
/linux-4.4.14/arch/arm64/boot/dts/hisilicon/
Dhip05_hns.dtsi132 local-mac-address = [00 00 00 01 00 58];
147 local-mac-address = [00 00 00 01 00 5a];
155 local-mac-address = [00 00 00 01 00 5b];
163 local-mac-address = [00 00 00 01 00 5c];
171 local-mac-address = [00 00 00 01 00 5d];
179 local-mac-address = [00 00 00 01 00 5e];
187 local-mac-address = [00 00 00 01 00 5f];
/linux-4.4.14/Documentation/devicetree/bindings/interrupt-controller/
Dmips-gic.txt4 It also supports local (per-processor) interrupts and software-generated
13 - The first cell is the type of interrupt, local or shared.
29 - interrupts : Interrupt for the GIC local timer.
/linux-4.4.14/Documentation/filesystems/
Dgfs2.txt8 iSCSI, NBD, etc). GFS reads and writes to the block device like a local
17 lock_nolock -- allows gfs to be used as a local file system
25 To use gfs as a local file system, no external clustering systems are
Ddnotify.txt41 The notification should work for any local access to files even if the
43 access to files served by local user mode servers should be notified.
44 Also, remote accesses to files served by a local kernel NFS server should
/linux-4.4.14/Documentation/networking/
Dtproxy.txt9 1. Making non-local sockets work
12 The idea is that you identify packets with destination address matching a local
22 # ip route add local 0.0.0.0/0 dev lo table 100
25 modify your application to allow it to send datagrams _from_ non-local IP
Dvrf.txt161 On enslavement connected and local routes are automatically moved to the
251 local 10.2.1.2 dev eth1 proto kernel scope host src 10.2.1.2
255 local 10.2.2.2 dev eth2 proto kernel scope host src 10.2.2.2
259 local 2002:1:: dev lo proto none metric 0 pref medium
260 local 2002:1::2 dev lo proto none metric 0 pref medium
262 local 2002:2:: dev lo proto none metric 0 pref medium
263 local 2002:2::2 dev lo proto none metric 0 pref medium
265 local fe80:: dev lo proto none metric 0 pref medium
266 local fe80:: dev lo proto none metric 0 pref medium
267 local fe80::ff:fe00:202 dev lo proto none metric 0 pref medium
[all …]
Dip_dynaddr.txt4 dynamically changing packet source address (and socket's if local procs).
16 going up. So, the *same* (local AND masqueraded) connections requests that
Dproc_net_tcp.txt16 | | |--------------------> local TCP port number
17 | |---------------------------> local IPv4 address
/linux-4.4.14/drivers/media/platform/xilinx/
Dxilinx-vipp.c72 struct media_entity *local = entity->entity; in xvip_graph_build_one() local
82 dev_dbg(xdev->dev, "creating links for entity %s\n", local->name); in xvip_graph_build_one()
105 if (link.local_port >= local->num_pads) { in xvip_graph_build_one()
113 local_pad = &local->pads[link.local_port]; in xvip_graph_build_one()
156 local->name, local_pad->index, in xvip_graph_build_one()
159 ret = media_entity_create_link(local, local_pad->index, in xvip_graph_build_one()
165 local->name, local_pad->index, in xvip_graph_build_one()
/linux-4.4.14/drivers/media/platform/vsp1/
Dvsp1_entity.c124 const struct media_pad *local, in vsp1_entity_link_setup() argument
129 if (!(local->flags & MEDIA_PAD_FL_SOURCE)) in vsp1_entity_link_setup()
132 source = container_of(local->entity, struct vsp1_entity, subdev.entity); in vsp1_entity_link_setup()
/linux-4.4.14/drivers/media/pci/cobalt/
Dcobalt-omnitek.c201 d->local = 0; in descriptor_list_create()
210 d->local = 0x11111111; in descriptor_list_create()
235 d->local = 0; in descriptor_list_create()
272 d->local = 0x22222222; in descriptor_list_create()
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_mbx.c636 mbx->local = fm10k_fifo_crc(&mbx->tx, head, len, mbx->local); in fm10k_mbx_update_local_crc()
875 mbx->tail_len, mbx->local); in fm10k_mbx_create_data_hdr()
893 u16 crc = fm10k_crc_16b(&hdr, mbx->local, 1); in fm10k_mbx_create_disconnect_hdr()
914 u16 crc = fm10k_crc_16b(&hdr, mbx->local, 1); in fm10k_mbx_create_fake_disconnect_hdr()
1138 mbx->local = FM10K_MBX_CRC_SEED; in fm10k_mbx_connect_reset()
1312 mbx->local = FM10K_MBX_CRC_SEED; in fm10k_mbx_process_error()
1607 mbx->local = FM10K_MBX_CRC_SEED; in fm10k_pfvf_mbx_init()
1657 if (mbx->local) in fm10k_sm_mbx_create_connect_hdr()
1678 mbx->local = FM10K_SM_MBX_VERSION; in fm10k_sm_mbx_connect_reset()
1839 while (mbx->local > 1) in fm10k_sm_mbx_process_error()
[all …]
/linux-4.4.14/Documentation/devicetree/
Ddynamic-resolution-notes.txt18 2. Adjust all the local phandles of the tree to resolve by that amount.
19 3. Using the __local__fixups__ node information adjust all local references
/linux-4.4.14/arch/powerpc/boot/dts/
Dkmeter1.dts326 local-mac-address = [ 00 00 00 00 00 00 ];
342 local-mac-address = [ 00 00 00 00 00 00 ];
358 local-mac-address = [ 00 00 00 00 00 00 ];
374 local-mac-address = [ 00 00 00 00 00 00 ];
390 local-mac-address = [ 00 00 00 00 00 00 ];
406 local-mac-address = [ 00 00 00 00 00 00 ];
422 local-mac-address = [ 00 00 00 00 00 00 ];
Dmpc885ads.dts105 local-mac-address = [ 00 00 00 00 00 00 ];
117 local-mac-address = [ 00 00 00 00 00 00 ];
208 local-mac-address = [ 00 00 00 00 00 00 ];
/linux-4.4.14/net/
DKconfig63 These are the protocols used on the Internet and on most local
116 a firewall protecting a local network from the Internet. The type of
124 firewalls often require changes to the programs running on the local
130 the gateway to the Internet for a local network of machines without
132 of the computers on your local network wants to send something to
138 correct local computer. This way, the computers on your local net
141 run globally visible servers from within a masqueraded local network
146 the local network tries to connect to an outside host, your Linux
147 box can transparently forward the traffic to a local server,
/linux-4.4.14/net/ipv6/
Dip6_vti.c93 const struct in6_addr *local) in vti6_tnl_lookup() argument
95 unsigned int hash = HASH(remote, local); in vti6_tnl_lookup()
101 if (ipv6_addr_equal(local, &t->parms.laddr) && in vti6_tnl_lookup()
108 hash = HASH(&any, local); in vti6_tnl_lookup()
110 if (ipv6_addr_equal(local, &t->parms.laddr) && in vti6_tnl_lookup()
143 const struct in6_addr *local = &p->laddr; in vti6_tnl_bucket() local
147 if (!ipv6_addr_any(remote) || !ipv6_addr_any(local)) { in vti6_tnl_bucket()
149 h = HASH(remote, local); in vti6_tnl_bucket()
260 const struct in6_addr *local = &p->laddr; in vti6_locate() local
268 if (ipv6_addr_equal(local, &t->parms.laddr) && in vti6_locate()
/linux-4.4.14/arch/powerpc/include/asm/
Dmachdep.h40 int ssize, int local);
59 void (*flush_hash_range)(unsigned long number, int local);
63 int psize, int ssize, int local);
/linux-4.4.14/arch/arm/include/asm/xen/
Dpage-coherent.h42 bool local = (page_pfn <= dev_pfn) && in xen_dma_map_page() local
54 if (local) in xen_dma_map_page()
/linux-4.4.14/arch/x86/entry/vdso/
Dvdsox32.lds.S23 local: *;
Dvdso.lds.S27 local: *;
/linux-4.4.14/arch/x86/entry/vdso/vdso32/
Dvdso32.lds.S35 local: *;
/linux-4.4.14/arch/x86/um/vdso/
Dvdso.lds.S28 local: *;
/linux-4.4.14/arch/powerpc/boot/dts/fsl/
Dmpc8569mds.dts260 local-mac-address = [ 00 00 00 00 00 00 ];
331 local-mac-address = [ 00 00 00 00 00 00 ];
354 local-mac-address = [ 00 00 00 00 00 00 ];
377 local-mac-address = [ 00 00 00 00 00 00 ];
400 local-mac-address = [ 00 00 00 00 00 00 ];
411 local-mac-address = [ 00 00 00 00 00 00 ];
/linux-4.4.14/arch/arm/mach-vexpress/
Ddcscb_setup.S33 2: @ Implementation-specific local CPU setup operations should go here,
/linux-4.4.14/Documentation/devicetree/bindings/hwmon/
Dmax6697.txt32 Select bit 0 for local temperature, bit 1..7 for remote temperatures.
37 Select bit 0 for local temperature, bit 1..7 for remote temperatures.
/linux-4.4.14/Documentation/devicetree/bindings/arm/
Didle-states.txt275 - local-timer-stop
278 Definition: if present the CPU local timer control logic is
512 local-timer-stop;
522 local-timer-stop;
531 local-timer-stop;
549 local-timer-stop;
559 local-timer-stop;
569 local-timer-stop;
645 local-timer-stop;
654 local-timer-stop;
[all …]
/linux-4.4.14/drivers/staging/unisys/visorbus/
Dvisorchannel.c240 void *local, ulong nbytes) in visorchannel_read() argument
245 memcpy(local, channel->mapped + offset, nbytes); in visorchannel_read()
253 void *local, ulong nbytes) in visorchannel_write() argument
264 local, copy_size); in visorchannel_write()
267 memcpy(channel->mapped + offset, local, nbytes); in visorchannel_write()
/linux-4.4.14/arch/powerpc/platforms/pseries/
Dlpar.c382 int ssize, int local) in pSeries_lpar_hpte_invalidate() argument
389 slot, vpn, psize, local); in pSeries_lpar_hpte_invalidate()
451 int psize, int ssize, int local) in pSeries_lpar_hugepage_invalidate() argument
519 static void pSeries_lpar_flush_hash_range(unsigned long number, int local) in pSeries_lpar_flush_hash_range() argument
552 0, ssize, local); in pSeries_lpar_flush_hash_range()
/linux-4.4.14/drivers/staging/unisys/include/
Dvisorbus.h195 void *local, ulong nbytes);
197 void *local, ulong nbytes);

1234