Home
last modified time | relevance | path

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

1234

/linux-4.1.27/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.c33 void ieee80211_rx_bss_put(struct ieee80211_local *local, in ieee80211_rx_bss_put() argument
38 cfg80211_put_bss(local->hw.wiphy, in ieee80211_rx_bss_put()
60 ieee80211_bss_info_update(struct ieee80211_local *local, in ieee80211_bss_info_update() argument
73 if (local->hw.flags & IEEE80211_HW_SIGNAL_DBM) in ieee80211_bss_info_update()
75 else if (local->hw.flags & IEEE80211_HW_SIGNAL_UNSPEC) in ieee80211_bss_info_update()
76 signal = (rx_status->signal * 100) / local->hw.max_signal; in ieee80211_bss_info_update()
84 cbss = cfg80211_inform_bss_width_frame(local->hw.wiphy, channel, in ieee80211_bss_info_update()
154 local->hw.wiphy->bands[rx_status->band]; in ieee80211_bss_info_update()
164 void ieee80211_scan_rx(struct ieee80211_local *local, struct sk_buff *skb) in ieee80211_scan_rx() argument
180 sdata1 = rcu_dereference(local->scan_sdata); in ieee80211_scan_rx()
[all …]
Dled.c17 void ieee80211_led_rx(struct ieee80211_local *local) in ieee80211_led_rx() argument
20 if (unlikely(!local->rx_led)) in ieee80211_led_rx()
22 led_trigger_blink_oneshot(local->rx_led, &led_delay, &led_delay, 0); in ieee80211_led_rx()
25 void ieee80211_led_tx(struct ieee80211_local *local) in ieee80211_led_tx() argument
28 if (unlikely(!local->tx_led)) in ieee80211_led_tx()
30 led_trigger_blink_oneshot(local->tx_led, &led_delay, &led_delay, 0); in ieee80211_led_tx()
33 void ieee80211_led_assoc(struct ieee80211_local *local, bool associated) in ieee80211_led_assoc() argument
35 if (unlikely(!local->assoc_led)) in ieee80211_led_assoc()
38 led_trigger_event(local->assoc_led, LED_FULL); in ieee80211_led_assoc()
40 led_trigger_event(local->assoc_led, LED_OFF); in ieee80211_led_assoc()
[all …]
Dmain.c38 void ieee80211_configure_filter(struct ieee80211_local *local) in ieee80211_configure_filter() argument
44 if (atomic_read(&local->iff_promiscs)) in ieee80211_configure_filter()
47 if (atomic_read(&local->iff_allmultis)) in ieee80211_configure_filter()
50 if (local->monitors || test_bit(SCAN_SW_SCANNING, &local->scanning) || in ieee80211_configure_filter()
51 test_bit(SCAN_ONCHANNEL_SCANNING, &local->scanning)) in ieee80211_configure_filter()
54 if (local->fif_probe_req || local->probe_req_reg) in ieee80211_configure_filter()
57 if (local->fif_fcsfail) in ieee80211_configure_filter()
60 if (local->fif_plcpfail) in ieee80211_configure_filter()
63 if (local->fif_control) in ieee80211_configure_filter()
66 if (local->fif_other_bss) 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 !(local->hw.flags & IEEE80211_HW_PS_NULLFUNC_STACK)) in ieee80211_offchannel_ps_enable()
[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 …]
Dpm.c11 struct ieee80211_local *local = hw_to_local(hw); in __ieee80211_suspend() local
15 if (!local->open_count) in __ieee80211_suspend()
18 ieee80211_scan_cancel(local); in __ieee80211_suspend()
20 ieee80211_dfs_cac_cancel(local); in __ieee80211_suspend()
22 ieee80211_roc_purge(local, NULL); in __ieee80211_suspend()
24 ieee80211_del_virtual_monitor(local); in __ieee80211_suspend()
27 mutex_lock(&local->sta_mtx); in __ieee80211_suspend()
28 list_for_each_entry(sta, &local->sta_list, list) { in __ieee80211_suspend()
33 mutex_unlock(&local->sta_mtx); in __ieee80211_suspend()
44 ieee80211_flush_queues(local, NULL, true); in __ieee80211_suspend()
[all …]
Diface.c69 ieee80211_hw_config(sdata->local, 0); in __ieee80211_recalc_txpower()
83 static u32 __ieee80211_idle_off(struct ieee80211_local *local) in __ieee80211_idle_off() argument
85 if (!(local->hw.conf.flags & IEEE80211_CONF_IDLE)) in __ieee80211_idle_off()
88 local->hw.conf.flags &= ~IEEE80211_CONF_IDLE; in __ieee80211_idle_off()
92 static u32 __ieee80211_idle_on(struct ieee80211_local *local) in __ieee80211_idle_on() argument
94 if (local->hw.conf.flags & IEEE80211_CONF_IDLE) in __ieee80211_idle_on()
97 ieee80211_flush_queues(local, NULL, false); in __ieee80211_idle_on()
99 local->hw.conf.flags |= IEEE80211_CONF_IDLE; in __ieee80211_idle_on()
103 static u32 __ieee80211_recalc_idle(struct ieee80211_local *local, in __ieee80211_recalc_idle() argument
109 lockdep_assert_held(&local->mtx); in __ieee80211_recalc_idle()
[all …]
Ddebugfs.c39 struct ieee80211_local *local = file->private_data; \
57 debugfs_create_file(#name, 0400, phyd, local, &name## _ops);
60 debugfs_create_file(#name, mode, phyd, local, &name## _ops);
64 local->user_power_level);
66 local->hw.conf.power_level);
68 local->total_ps_buffered);
70 local->wep_iv & 0xffffff);
72 local->rate_ctrl ? local->rate_ctrl->ops->name : "hw/driver");
78 struct ieee80211_local *local = file->private_data; in reset_write() local
81 __ieee80211_suspend(&local->hw, NULL); in reset_write()
[all …]
Dled.h15 void ieee80211_led_rx(struct ieee80211_local *local);
16 void ieee80211_led_tx(struct ieee80211_local *local);
17 void ieee80211_led_assoc(struct ieee80211_local *local,
19 void ieee80211_led_radio(struct ieee80211_local *local,
21 void ieee80211_led_names(struct ieee80211_local *local);
22 void ieee80211_led_init(struct ieee80211_local *local);
23 void ieee80211_led_exit(struct ieee80211_local *local);
24 void ieee80211_mod_tpt_led_trig(struct ieee80211_local *local,
27 static inline void ieee80211_led_rx(struct ieee80211_local *local) in ieee80211_led_rx() argument
30 static inline void ieee80211_led_tx(struct ieee80211_local *local) in ieee80211_led_tx() argument
[all …]
Dtrace.h13 #define LOCAL_ASSIGN strlcpy(__entry->wiphy_name, wiphy_name(local->hw.wiphy), MAXNAME)
79 TP_PROTO(struct ieee80211_local *local),
80 TP_ARGS(local),
91 TP_PROTO(struct ieee80211_local *local,
93 TP_ARGS(local, sdata),
114 TP_PROTO(struct ieee80211_local *local, u32 value),
115 TP_ARGS(local, value),
134 TP_PROTO(struct ieee80211_local *local,
136 TP_ARGS(local, sdata),
155 TP_PROTO(struct ieee80211_local *local),
[all …]
Dutil.c42 struct ieee80211_local *local; in wiphy_to_ieee80211_hw() local
45 local = wiphy_priv(wiphy); in wiphy_to_ieee80211_hw()
46 return &local->hw; in wiphy_to_ieee80211_hw()
209 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_rts_duration() local
217 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_rts_duration()
253 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_ctstoself_duration() local
261 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_ctstoself_duration()
290 void ieee80211_propagate_queue_wake(struct ieee80211_local *local, int queue) in ieee80211_propagate_queue_wake() argument
295 if (local->hw.queues < IEEE80211_NUM_ACS) in ieee80211_propagate_queue_wake()
298 list_for_each_entry_rcu(sdata, &local->interfaces, list) { in ieee80211_propagate_queue_wake()
[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 …]
Dsta_info.c77 static int sta_info_hash_del(struct ieee80211_local *local, in sta_info_hash_del() argument
80 return rhashtable_remove_fast(&local->sta_hash, &sta->hash_node, in sta_info_hash_del()
89 struct ieee80211_local *local = sdata->local; in __cleanup_single_sta() local
115 ieee80211_purge_tx_queue(&local->hw, &txqi->queue); in __cleanup_single_sta()
121 local->total_ps_buffered -= skb_queue_len(&sta->ps_tx_buf[ac]); in __cleanup_single_sta()
122 ieee80211_purge_tx_queue(&local->hw, &sta->ps_tx_buf[ac]); in __cleanup_single_sta()
123 ieee80211_purge_tx_queue(&local->hw, &sta->tx_filtered[ac]); in __cleanup_single_sta()
142 ieee80211_purge_tx_queue(&local->hw, &tid_tx->pending); in __cleanup_single_sta()
150 struct ieee80211_local *local = sdata->local; in cleanup_single_sta() local
153 sta_info_free(local, sta); in cleanup_single_sta()
[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
144 if (!timer_pending(&local->sta_cleanup)) in ieee80211_handle_filtered_frame()
145 mod_timer(&local->sta_cleanup, in ieee80211_handle_filtered_frame()
[all …]
Dcfg.c32 struct ieee80211_local *local = wiphy_priv(wiphy); in ieee80211_add_iface() local
37 err = ieee80211_if_add(local, name, name_assign_type, &wdev, type, params); in ieee80211_add_iface()
76 struct ieee80211_local *local = sdata->local; in ieee80211_change_iface() local
98 ieee80211_configure_filter(local); in ieee80211_change_iface()
118 mutex_lock(&sdata->local->chanctx_mtx); in ieee80211_start_p2p_device()
120 mutex_unlock(&sdata->local->chanctx_mtx); in ieee80211_start_p2p_device()
148 struct ieee80211_local *local = sdata->local; in ieee80211_add_key() local
162 if (IS_ERR(local->wep_tx_tfm)) in ieee80211_add_key()
175 cs = ieee80211_cs_get(local, params->cipher, sdata->vif.type); in ieee80211_add_key()
188 mutex_lock(&local->sta_mtx); in ieee80211_add_key()
[all …]
Dmlme.c121 if (sdata->local->hw.flags & IEEE80211_HW_CONNECTION_MONITOR) in ieee80211_sta_reset_beacon_monitor()
137 if (sdata->local->hw.flags & IEEE80211_HW_CONNECTION_MONITOR) in ieee80211_sta_reset_conn_monitor()
322 while (!cfg80211_chandef_usable(sdata->local->hw.wiphy, chandef, in ieee80211_determine_chantype()
349 struct ieee80211_local *local = sdata->local; in ieee80211_config_bw() local
381 sband = local->hw.wiphy->bands[chan->band]; in ieee80211_config_bw()
449 rate_control_rate_update(local, sband, sta, in ieee80211_config_bw()
463 rate_control_rate_update(local, sband, sta, in ieee80211_config_bw()
598 struct ieee80211_local *local = sdata->local; in ieee80211_send_assoc() local
623 sband = local->hw.wiphy->bands[chan->band]; in ieee80211_send_assoc()
653 skb = alloc_skb(local->hw.extra_tx_headroom + in ieee80211_send_assoc()
[all …]
Dtx.c46 struct ieee80211_local *local = tx->local; in ieee80211_duration() local
69 sband = local->hw.wiphy->bands[info->band]; in ieee80211_duration()
200 struct ieee80211_local *local = tx->local; in ieee80211_tx_h_dynamic_ps() local
204 if (!(local->hw.flags & IEEE80211_HW_SUPPORTS_PS)) in ieee80211_tx_h_dynamic_ps()
208 if (local->hw.flags & IEEE80211_HW_SUPPORTS_DYNAMIC_PS) in ieee80211_tx_h_dynamic_ps()
212 if (local->hw.conf.dynamic_ps_timeout <= 0) in ieee80211_tx_h_dynamic_ps()
216 if (local->scanning) in ieee80211_tx_h_dynamic_ps()
219 if (!local->ps_sdata) in ieee80211_tx_h_dynamic_ps()
223 if (local->quiescing) in ieee80211_tx_h_dynamic_ps()
250 if (local->hw.conf.flags & IEEE80211_CONF_PS) { in ieee80211_tx_h_dynamic_ps()
[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()
116 struct ieee80211_local *local = sdata->local; in ieee80211_send_bar() local
121 skb = dev_alloc_skb(sizeof(*bar) + local->hw.extra_tx_headroom); in ieee80211_send_bar()
125 skb_reserve(skb, local->hw.extra_tx_headroom); in ieee80211_send_bar()
170 if (atomic_inc_return(&sdata->local->agg_queue_stop[queue]) == 1) in __acquires()
172 &sdata->local->hw, queue, in __acquires()
183 if (atomic_dec_return(&sdata->local->agg_queue_stop[queue]) == 0) in __releases()
185 &sdata->local->hw, queue, in __releases()
[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()
52 rate_control_tx_status_noskb(struct ieee80211_local *local, in rate_control_tx_status_noskb() argument
57 struct rate_control_ref *ref = local->rate_ctrl; in rate_control_tx_status_noskb()
72 struct ieee80211_local *local = sta->sdata->local; in rate_control_rate_init() local
92 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; in rate_control_rate_init()
100 static inline void rate_control_rate_update(struct ieee80211_local *local, in rate_control_rate_update() argument
104 struct rate_control_ref *ref = local->rate_ctrl; in rate_control_rate_update()
122 drv_sta_rc_update(local, sta->sdata, &sta->sta, changed); in rate_control_rate_update()
[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 !(key->local->hw.flags & IEEE80211_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 (key->local->hw.flags & IEEE80211_HW_SW_CRYPTO_CONTROL) in ieee80211_key_enable_hw_accel()
[all …]
Dibss.c47 struct ieee80211_local *local = sdata->local; in ieee80211_ibss_build_presp() local
92 sband = local->hw.wiphy->bands[chandef->chan->band]; in ieee80211_ibss_build_presp()
204 if (local->hw.queues >= IEEE80211_NUM_ACS) in ieee80211_ibss_build_presp()
225 struct ieee80211_local *local = sdata->local; in __ieee80211_sta_join_ibss() local
240 drv_reset_tsf(local, sdata); in __ieee80211_sta_join_ibss()
254 drv_leave_ibss(local, sdata); in __ieee80211_sta_join_ibss()
266 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chandef, in __ieee80211_sta_join_ibss()
279 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chandef, in __ieee80211_sta_join_ibss()
287 err = cfg80211_chandef_dfs_required(sdata->local->hw.wiphy, in __ieee80211_sta_join_ibss()
302 mutex_lock(&local->mtx); in __ieee80211_sta_join_ibss()
[all …]
Dtdls.c23 struct ieee80211_local *local; in ieee80211_tdls_peer_del_work() local
27 local = sdata->local; in ieee80211_tdls_peer_del_work()
29 mutex_lock(&local->mtx); in ieee80211_tdls_peer_del_work()
35 mutex_unlock(&local->mtx); in ieee80211_tdls_peer_del_work()
38 static void ieee80211_tdls_add_ext_capab(struct ieee80211_local *local, in ieee80211_tdls_add_ext_capab() argument
42 bool chan_switch = local->hw.wiphy->features & in ieee80211_tdls_add_ext_capab()
68 ch = ieee80211_get_channel(sdata->local->hw.wiphy, i); in ieee80211_tdls_add_subband()
73 if (cfg80211_reg_can_beacon(sdata->local->hw.wiphy, in ieee80211_tdls_add_subband()
170 struct ieee80211_local *local = sdata->local; in ieee80211_get_tdls_sta_capab() local
181 if (!(local->hw.flags & IEEE80211_HW_2GHZ_SHORT_SLOT_INCAPABLE)) in ieee80211_get_tdls_sta_capab()
[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
194 skb = dev_alloc_skb(sizeof(*mgmt) + local->hw.extra_tx_headroom); in ieee80211_send_addba_resp()
198 skb_reserve(skb, local->hw.extra_tx_headroom); in ieee80211_send_addba_resp()
236 struct ieee80211_local *local = sta->sdata->local; in __ieee80211_start_rx_ba_session() local
274 if (buf_size > local->hw.max_rx_aggregation_subframes) in __ieee80211_start_rx_ba_session()
275 buf_size = local->hw.max_rx_aggregation_subframes; in __ieee80211_start_rx_ba_session()
[all …]
Dieee80211_i.h166 struct ieee80211_local *local; member
222 struct ieee80211_local *local; member
838 struct ieee80211_local *local; member
1483 u64 ieee80211_calculate_rx_timestamp(struct ieee80211_local *local,
1487 int ieee80211_hw_config(struct ieee80211_local *local, u32 changed);
1491 void ieee80211_configure_filter(struct ieee80211_local *local);
1504 void ieee80211_send_pspoll(struct ieee80211_local *local,
1506 void ieee80211_recalc_ps(struct ieee80211_local *local, s32 latency);
1524 void ieee80211_ibss_notify_scan_completed(struct ieee80211_local *local);
1565 void ieee80211_scan_cancel(struct ieee80211_local *local);
[all …]
Drx.c41 static struct sk_buff *remove_monitor_info(struct ieee80211_local *local, in remove_monitor_info() argument
45 if (local->hw.flags & IEEE80211_HW_RX_INCLUDES_FCS) { in remove_monitor_info()
86 ieee80211_rx_radiotap_hdrlen(struct ieee80211_local *local, in ieee80211_rx_radiotap_hdrlen() argument
103 if (local->hw.flags & IEEE80211_HW_SIGNAL_DBM) in ieee80211_rx_radiotap_hdrlen()
155 ieee80211_add_rx_radiotap_header(struct ieee80211_local *local, in ieee80211_add_rx_radiotap_header() argument
178 if (!(has_fcs && (local->hw.flags & IEEE80211_HW_RX_INCLUDES_FCS))) in ieee80211_add_rx_radiotap_header()
224 ieee80211_calculate_rx_timestamp(local, status, in ieee80211_add_rx_radiotap_header()
232 if (has_fcs && (local->hw.flags & IEEE80211_HW_RX_INCLUDES_FCS)) in ieee80211_add_rx_radiotap_header()
282 if (local->hw.flags & IEEE80211_HW_SIGNAL_DBM && in ieee80211_add_rx_radiotap_header()
313 *pos++ = local->hw.radiotap_mcs_details; in ieee80211_add_rx_radiotap_header()
[all …]
Drate.c144 struct ieee80211_local *local) in rate_control_alloc() argument
152 ref->local = local; in rate_control_alloc()
158 debugfsdir = debugfs_create_dir("rc", local->hw.wiphy->debugfsdir); in rate_control_alloc()
159 local->debugfs.rcdir = debugfsdir; in rate_control_alloc()
163 ref->priv = ref->ops->alloc(&local->hw, debugfsdir); in rate_control_alloc()
178 debugfs_remove_recursive(ctrl_ref->local->debugfs.rcdir); in rate_control_free()
179 ctrl_ref->local->debugfs.rcdir = NULL; in rate_control_free()
648 sband = sdata->local->hw.wiphy->bands[info->band]; in ieee80211_get_tx_rates()
654 __rate_control_send_low(&sdata->local->hw, sband, sta, info, in ieee80211_get_tx_rates()
666 struct rate_control_ref *ref = sdata->local->rate_ctrl; in rate_control_get_rate()
[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
103 mutex_lock(&local->sta_mtx); in ieee80211_get_stats()
133 list_for_each_entry(sta, &local->sta_list, list) { in ieee80211_get_stats()
162 if (drv_get_survey(local, q, &survey) != 0) { in ieee80211_get_stats()
199 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()
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()
416 struct ieee80211_local *local = sdata->local; in mesh_add_ht_cap_ie() local
421 sband = local->hw.wiphy->bands[band]; in mesh_add_ht_cap_ie()
440 struct ieee80211_local *local = sdata->local; in mesh_add_ht_oper_ie() local
458 sband = local->hw.wiphy->bands[channel->band]; in mesh_add_ht_oper_ie()
479 ieee80211_queue_work(&sdata->local->hw, &sdata->work); in ieee80211_mesh_path_timer()
490 ieee80211_queue_work(&sdata->local->hw, &sdata->work); in ieee80211_mesh_path_root_timer()
774 ieee80211_queue_work(&sdata->local->hw, &sdata->work); in ieee80211_mbss_info_change_notify()
780 struct ieee80211_local *local = sdata->local; in ieee80211_start_mesh() local
[all …]
Ddebugfs_netdev.c225 struct ieee80211_local *local = sdata->local; in ieee80211_set_smps() local
228 if (!(local->hw.wiphy->features & NL80211_FEATURE_STATIC_SMPS) && in ieee80211_set_smps()
233 if (!(local->hw.wiphy->features & NL80211_FEATURE_DYNAMIC_SMPS) && in ieee80211_set_smps()
294 struct ieee80211_local *local = sdata->local; in ieee80211_if_parse_tkip_mic_test() local
306 skb = dev_alloc_skb(local->hw.extra_tx_headroom + 24 + 100); in ieee80211_if_parse_tkip_mic_test()
309 skb_reserve(skb, local->hw.extra_tx_headroom); in ieee80211_if_parse_tkip_mic_test()
443 struct ieee80211_local *local = sdata->local; in ieee80211_if_fmt_tsf() local
446 tsf = drv_get_tsf(local, (struct ieee80211_sub_if_data *)sdata); in ieee80211_if_fmt_tsf()
454 struct ieee80211_local *local = sdata->local; in ieee80211_if_parse_tsf() local
460 if (local->ops->reset_tsf) { in ieee80211_if_parse_tsf()
[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,
Dmesh_plink.c96 struct ieee80211_local *local = sdata->local; in mesh_set_short_slot_time() local
98 struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band]; in mesh_set_short_slot_time()
110 local->hw.flags & IEEE80211_HW_2GHZ_SHORT_SLOT_INCAPABLE)) in mesh_set_short_slot_time()
121 list_for_each_entry_rcu(sta, &local->sta_list, list) { in mesh_set_short_slot_time()
156 struct ieee80211_local *local = sdata->local; in mesh_set_ht_prot_mode() local
171 list_for_each_entry_rcu(sta, &local->sta_list, list) { in mesh_set_ht_prot_mode()
262 struct ieee80211_local *local = sdata->local; in mesh_plink_frame_tx() local
273 skb = dev_alloc_skb(local->tx_headroom + in mesh_plink_frame_tx()
288 skb_reserve(skb, local->tx_headroom); in mesh_plink_frame_tx()
381 struct ieee80211_local *local = sdata->local; in mesh_sta_info_init() local
[all …]
Dkey.h56 struct ieee80211_local *local; member
161 void ieee80211_free_sta_keys(struct ieee80211_local *local,
166 #define key_mtx_dereference(local, ref) \ argument
167 rcu_dereference_protected(ref, lockdep_is_held(&((local)->key_mtx)))
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
Dmesh_hwmp.c112 struct ieee80211_local *local = sdata->local; in mesh_path_sel_frame_tx() local
119 skb = dev_alloc_skb(local->tx_headroom + in mesh_path_sel_frame_tx()
124 skb_reserve(skb, local->tx_headroom); in mesh_path_sel_frame_tx()
243 struct ieee80211_local *local = sdata->local; in mesh_path_error_tx() local
254 skb = dev_alloc_skb(local->tx_headroom + in mesh_path_error_tx()
261 skb_reserve(skb, local->tx_headroom + sdata->encrypt_headroom); in mesh_path_error_tx()
302 ieee80211_add_pending_skb(local, skb); in mesh_path_error_tx()
306 void ieee80211s_update_metric(struct ieee80211_local *local, in ieee80211s_update_metric() argument
324 static u32 airtime_link_metric_get(struct ieee80211_local *local, in airtime_link_metric_get() argument
376 struct ieee80211_local *local = sdata->local; in hwmp_route_info_get() local
[all …]
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()
Dvht.c364 struct ieee80211_local *local = sdata->local; in __ieee80211_vht_handle_opmode() local
370 sband = local->hw.wiphy->bands[band]; in __ieee80211_vht_handle_opmode()
416 struct ieee80211_local *local = sdata->local; in ieee80211_vht_handle_opmode() local
417 struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band]; in ieee80211_vht_handle_opmode()
423 rate_control_rate_update(local, sband, sta, changed); in ieee80211_vht_handle_opmode()
Dsta_info.h347 struct ieee80211_local *local; member
568 #define for_each_sta_info(local, tbl, _addr, _sta, _tmp) \ argument
587 void sta_info_free(struct ieee80211_local *local, struct sta_info *sta);
608 int sta_info_init(struct ieee80211_local *local);
609 void sta_info_stop(struct ieee80211_local *local);
Ddebugfs_key.c304 if (!key->local->debugfs.keys) in ieee80211_debugfs_key_add()
311 key->local->debugfs.keys); in ieee80211_debugfs_key_add()
356 lockdep_assert_held(&sdata->local->key_mtx); in ieee80211_debugfs_key_update_default()
362 key = key_mtx_dereference(sdata->local, in ieee80211_debugfs_key_update_default()
374 key = key_mtx_dereference(sdata->local, in ieee80211_debugfs_key_update_default()
391 key = key_mtx_dereference(sdata->local, in ieee80211_debugfs_key_add_mgmt_default()
Ddebugfs_sta.c408 struct ieee80211_local *local = sta->local; in ieee80211_sta_debugfs_add() local
469 drv_sta_add_debugfs(local, sdata, &sta->sta, sta->debugfs.dir); in ieee80211_sta_debugfs_add()
474 struct ieee80211_local *local = sta->local; in ieee80211_sta_debugfs_remove() local
477 drv_sta_remove_debugfs(local, sdata, &sta->sta, sta->debugfs.dir); in ieee80211_sta_debugfs_remove()
/linux-4.1.27/net/mac802154/
Ddriver-ops.h12 drv_xmit_async(struct ieee802154_local *local, struct sk_buff *skb) in drv_xmit_async() argument
14 return local->ops->xmit_async(&local->hw, skb); in drv_xmit_async()
18 drv_xmit_sync(struct ieee802154_local *local, struct sk_buff *skb) in drv_xmit_sync() argument
25 return local->ops->xmit_sync(&local->hw, skb); in drv_xmit_sync()
28 static inline int drv_start(struct ieee802154_local *local) in drv_start() argument
32 local->started = true; in drv_start()
35 return local->ops->start(&local->hw); in drv_start()
38 static inline void drv_stop(struct ieee802154_local *local) in drv_stop() argument
42 local->ops->stop(&local->hw); in drv_stop()
45 tasklet_disable(&local->tasklet); in drv_stop()
[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->hw, skb); in ieee802154_tasklet_handler()
58 struct ieee802154_local *local; in ieee802154_alloc_hw() local
85 priv_size = ALIGN(sizeof(*local), NETDEV_ALIGN) + priv_data_len; in ieee802154_alloc_hw()
95 local = wpan_phy_priv(phy); in ieee802154_alloc_hw()
96 local->phy = phy; in ieee802154_alloc_hw()
97 local->hw.phy = local->phy; in ieee802154_alloc_hw()
98 local->hw.priv = (char *)local + ALIGN(sizeof(*local), NETDEV_ALIGN); in ieee802154_alloc_hw()
99 local->ops = ops; in ieee802154_alloc_hw()
[all …]
Dtx.c39 struct ieee802154_local *local; member
48 struct ieee802154_local *local = cb->local; in ieee802154_xmit_worker() local
59 res = drv_xmit_sync(local, skb); in ieee802154_xmit_worker()
63 ieee802154_xmit_complete(&local->hw, skb, false); in ieee802154_xmit_worker()
74 ieee802154_wake_queue(&local->hw); in ieee802154_xmit_worker()
81 ieee802154_tx(struct ieee802154_local *local, struct sk_buff *skb) in ieee802154_tx() argument
86 if (!(local->hw.flags & IEEE802154_HW_TX_OMIT_CKSUM)) { in ieee802154_tx()
92 if (skb_cow_head(skb, local->hw.extra_tx_headroom)) in ieee802154_tx()
96 ieee802154_stop_queue(&local->hw); in ieee802154_tx()
99 if (local->ops->xmit_async) { in ieee802154_tx()
[all …]
Diface.c140 struct ieee802154_local *local = sdata->local; in mac802154_slave_open() local
147 if (!local->open_count) { in mac802154_slave_open()
148 res = drv_start(local); in mac802154_slave_open()
154 local->open_count++; in mac802154_slave_open()
165 ieee802154_check_mac_settings(struct ieee802154_local *local, in ieee802154_check_mac_settings() argument
171 if (local->hw.flags & IEEE802154_HW_PROMISCUOUS) { in ieee802154_check_mac_settings()
176 if (local->hw.flags & IEEE802154_HW_AFILT) { in ieee802154_check_mac_settings()
183 if (local->hw.flags & IEEE802154_HW_CSMA_PARAMS) { in ieee802154_check_mac_settings()
190 if (local->hw.flags & IEEE802154_HW_FRAME_RETRIES) { in ieee802154_check_mac_settings()
195 if (local->hw.flags & IEEE802154_HW_LBT) { in ieee802154_check_mac_settings()
[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()
52 struct ieee802154_local *local = wpan_phy_priv(phy); in ieee802154_add_iface() local
55 err = ieee802154_if_add(local, name, name_assign_type, type, in ieee802154_add_iface()
71 struct ieee802154_local *local = wpan_phy_priv(wpan_phy); in ieee802154_set_channel() local
80 ret = drv_set_channel(local, page, channel); in ieee802154_set_channel()
93 struct ieee802154_local *local = wpan_phy_priv(wpan_phy); in ieee802154_set_cca_mode() local
99 if (!(local->hw.flags & IEEE802154_HW_CCA_MODE)) in ieee802154_set_cca_mode()
102 ret = drv_set_cca_mode(local, cca); in ieee802154_set_cca_mode()
134 struct ieee802154_local *local = wpan_phy_priv(wpan_phy); in ieee802154_set_backoff_exponent() local
[all …]
Dutil.c23 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_wake_queue() local
27 list_for_each_entry_rcu(sdata, &local->interfaces, list) { in ieee802154_wake_queue()
39 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_stop_queue() local
43 list_for_each_entry_rcu(sdata, &local->interfaces, list) { in ieee802154_stop_queue()
55 struct ieee802154_local *local = in ieee802154_xmit_ifs_timer() local
58 ieee802154_wake_queue(&local->hw); in ieee802154_xmit_ifs_timer()
67 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_xmit_complete() local
81 hrtimer_start(&local->ifs_timer, in ieee802154_xmit_complete()
85 hrtimer_start(&local->ifs_timer, in ieee802154_xmit_complete()
Dmac_cmd.c76 struct ieee802154_local *local = sdata->local; in mac802154_set_mac_params() local
94 if (local->hw.flags & IEEE802154_HW_TXPOWER) { in mac802154_set_mac_params()
95 ret = drv_set_tx_power(local, params->transmit_power); in mac802154_set_mac_params()
100 if (local->hw.flags & IEEE802154_HW_CCA_MODE) { in mac802154_set_mac_params()
101 ret = drv_set_cca_mode(local, &params->cca); in mac802154_set_mac_params()
106 if (local->hw.flags & IEEE802154_HW_CCA_ED_LEVEL) { in mac802154_set_mac_params()
107 ret = drv_set_cca_ed_level(local, params->cca_ed_level); in mac802154_set_mac_params()
Drx.c195 __ieee802154_rx_handle_packet(struct ieee802154_local *local, in __ieee802154_rx_handle_packet() argument
209 list_for_each_entry_rcu(sdata, &local->interfaces, list) { in __ieee802154_rx_handle_packet()
224 ieee802154_monitors_rx(struct ieee802154_local *local, struct sk_buff *skb) in ieee802154_monitors_rx() argument
234 list_for_each_entry_rcu(sdata, &local->interfaces, list) { in ieee802154_monitors_rx()
254 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_rx() local
263 if (local->hw.flags & IEEE802154_HW_RX_OMIT_CKSUM) { in ieee802154_rx()
270 ieee802154_monitors_rx(local, skb); in ieee802154_rx()
275 if (local->hw.flags & IEEE802154_HW_RX_DROP_BAD_CKSUM) { in ieee802154_rx()
286 __ieee802154_rx_handle_packet(local, skb); in ieee802154_rx()
295 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_rx_irqsafe() local
[all …]
Dmib.c91 struct ieee802154_local *local = sdata->local; in mac802154_dev_set_page_channel() local
96 res = drv_set_channel(local, page, chan); in mac802154_dev_set_page_channel()
100 mutex_lock(&local->phy->pib_lock); in mac802154_dev_set_page_channel()
101 local->phy->current_channel = chan; in mac802154_dev_set_page_channel()
102 local->phy->current_page = page; in mac802154_dev_set_page_channel()
103 mutex_unlock(&local->phy->pib_lock); in mac802154_dev_set_page_channel()
Dieee802154_i.h83 struct ieee802154_local *local; member
184 ieee802154_if_add(struct ieee802154_local *local, const char *name,
187 void ieee802154_remove_interfaces(struct ieee802154_local *local);
/linux-4.1.27/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-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-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-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.1.27/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.1.27/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.c944 struct nfc_llcp_local *local, in nfc_genl_send_params() argument
954 if (nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, local->dev->idx) || in nfc_genl_send_params()
955 nla_put_u8(msg, NFC_ATTR_LLC_PARAM_LTO, local->lto) || in nfc_genl_send_params()
956 nla_put_u8(msg, NFC_ATTR_LLC_PARAM_RW, local->rw) || in nfc_genl_send_params()
957 nla_put_u16(msg, NFC_ATTR_LLC_PARAM_MIUX, be16_to_cpu(local->miux))) in nfc_genl_send_params()
972 struct nfc_llcp_local *local; in nfc_genl_llc_get_params() local
988 local = nfc_llcp_find_local(dev); in nfc_genl_llc_get_params()
989 if (!local) { in nfc_genl_llc_get_params()
1000 rc = nfc_genl_send_params(msg, local, info->snd_portid, info->snd_seq); in nfc_genl_llc_get_params()
1020 struct nfc_llcp_local *local; in nfc_genl_llc_set_params() local
[all …]
/linux-4.1.27/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);
2276 struct airo_info *local = dev->ml_priv; in airo_get_stats() local
2278 if (!test_bit(JOB_STATS, &local->jobs)) { in airo_get_stats()
2280 if (down_trylock(&local->sem) != 0) { in airo_get_stats()
2281 set_bit(JOB_STATS, &local->jobs); in airo_get_stats()
2282 wake_up_interruptible(&local->thr_wait); in airo_get_stats()
5792 struct airo_info *local = dev->ml_priv; in airo_set_freq() local
5815 readConfigRid(local, 1); in airo_set_freq()
5817 local->config.channelSet = cpu_to_le16(channel); in airo_set_freq()
5818 set_bit (FLAG_COMMIT, &local->flags); in airo_set_freq()
[all …]
/linux-4.1.27/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.1.27/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.1.27/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.1.27/net/netfilter/ipvs/
Dip_vs_xmit.c267 int local, noref = 1; in __ip_vs_get_out_rt() local
313 local = (rt->rt_flags & RTCF_LOCAL) ? 1 : 0; in __ip_vs_get_out_rt()
315 local))) { in __ip_vs_get_out_rt()
321 if (unlikely(local)) { in __ip_vs_get_out_rt()
325 return local; in __ip_vs_get_out_rt()
344 if (!local) in __ip_vs_get_out_rt()
351 return local; in __ip_vs_get_out_rt()
411 int local, noref = 1; in __ip_vs_get_out_rt_v6() local
454 local = __ip_vs_is_local_route6(rt); in __ip_vs_get_out_rt_v6()
457 local))) { in __ip_vs_get_out_rt_v6()
[all …]
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/net/tipc/
Dudp_media.c277 struct udp_media_addr *local, in parse_options() argument
301 local->proto = htons(ETH_P_IP); in parse_options()
302 local->udp_port = ip4->sin_port; in parse_options()
303 local->ipv4.s_addr = ip4->sin_addr.s_addr; in parse_options()
316 local->proto = htons(ETH_P_IPV6); in parse_options()
317 local->udp_port = ip6->sin6_port; in parse_options()
318 local->ipv6 = ip6->sin6_addr; in parse_options()
346 struct udp_media_addr local = {0}; in tipc_udp_enable() local
356 err = parse_options(attrs, ub, &local, remote); in tipc_udp_enable()
364 tipc_udp_media_addr_set(&b->addr, &local); in tipc_udp_enable()
[all …]
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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 ];
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];
Dethernet.txt3 - local-mac-address: array of 6 bytes, specifies the MAC address that was
7 the device by the boot program is different from the "local-mac-address"
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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()
636 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.c1293 int local = flags & HPTE_LOCAL_UPDATE; in flush_hash_page() local
1308 ppc_md.hpte_invalidate(slot, vpn, psize, psize, ssize, local); in flush_hash_page()
1319 if (local && cpu_has_feature(CPU_FTR_TM) && in flush_hash_page()
1337 int local = flags & HPTE_LOCAL_UPDATE; in flush_hash_hugepage() local
1351 psize, ssize, local); in flush_hash_hugepage()
1379 MMU_PAGE_16M, ssize, local); in flush_hash_hugepage()
1390 if (local && cpu_has_feature(CPU_FTR_TM) && in flush_hash_hugepage()
1401 void flush_hash_range(unsigned long number, int local) in flush_hash_range() argument
1404 ppc_md.flush_hash_range(number, local); in flush_hash_range()
1412 batch->psize, batch->ssize, local); in flush_hash_range()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/drivers/staging/unisys/visorchipset/
Dparser.c44 parser_init_guts(u64 addr, u32 bytes, BOOL local, in parser_init_guts() argument
80 if (local) { in parser_init_guts()
138 parser_init(u64 addr, u32 bytes, BOOL local, BOOL *retry) in parser_init() argument
140 return parser_init_guts(addr, bytes, local, TRUE, retry); in parser_init()
149 parser_init_byte_stream(u64 addr, u32 bytes, BOOL local, BOOL *retry) in parser_init_byte_stream() argument
151 return parser_init_guts(addr, bytes, local, FALSE, retry); in parser_init_byte_stream()
Dparser.h35 struct parser_context *parser_init_byte_stream(u64 addr, u32 bytes, BOOL local,
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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 netdev_vport_priv(local)->dev; in get_dpdev()
/linux-4.1.27/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.S57 bl __get_datapage@local
78 bl __get_datapage@local
/linux-4.1.27/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.1.27/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.1.27/tools/perf/Documentation/
Dperf-probe.txt27 and C local variables) with debuginfo.
77 Show available local variables at given probe point. The argument
81 (Only for --vars) Show external defined variables in addition to local
150local variable, local data structure member (e.g. var->field, var.field2), local array with fixed …
151 '$vars' special argument is also available for NAME, it is expanded to the local variables which ca…
152 …t the type based on debuginfo. You can specify 'string' type only for the local variable or struct…
194 Add a probe on schedule() function 12th line with recording cpu local variable:
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/drivers/block/drbd/
Ddrbd_int.h842 struct drbd_backing_dev *ldev __protected_by(local);
1123 extern void drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local);
1124 extern void _drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local);
1125 extern void drbd_uuid_new_current(struct drbd_device *device) __must_hold(local);
1126 extern void drbd_uuid_set_bm(struct drbd_device *device, u64 val) __must_hold(local);
1127 extern void drbd_uuid_move_history(struct drbd_device *device) __must_hold(local);
1128 extern void __drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local);
1129 extern void drbd_md_set_flag(struct drbd_device *device, int flags) __must_hold(local);
1130 extern void drbd_md_clear_flag(struct drbd_device *device, int flags)__must_hold(local);
1143 extern int drbd_bmio_set_n_write(struct drbd_device *device) __must_hold(local);
[all …]
Ddrbd_interval.h12 int local:1 /* local or remote request? */; member
/linux-4.1.27/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()
872 chan->local = alloc_percpu(typeof(*chan->local)); in dma_async_device_register()
873 if (chan->local == NULL) in dma_async_device_register()
877 free_percpu(chan->local); in dma_async_device_register()
878 chan->local = NULL; in dma_async_device_register()
894 free_percpu(chan->local); in dma_async_device_register()
895 chan->local = NULL; in dma_async_device_register()
940 if (chan->local == NULL) in dma_async_device_register()
946 free_percpu(chan->local); in dma_async_device_register()
[all …]
/linux-4.1.27/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.1.27/drivers/infiniband/core/
Dmad.c731 struct ib_mad_local_private *local; in handle_outgoing_dr_smp() local
766 local = kmalloc(sizeof *local, GFP_ATOMIC); in handle_outgoing_dr_smp()
767 if (!local) { in handle_outgoing_dr_smp()
772 local->mad_priv = NULL; in handle_outgoing_dr_smp()
773 local->recv_mad_agent = NULL; in handle_outgoing_dr_smp()
778 kfree(local); in handle_outgoing_dr_smp()
796 local->mad_priv = mad_priv; in handle_outgoing_dr_smp()
797 local->recv_mad_agent = mad_agent_priv; in handle_outgoing_dr_smp()
826 local->mad_priv = mad_priv; in handle_outgoing_dr_smp()
827 local->recv_mad_agent = recv_mad_agent; in handle_outgoing_dr_smp()
[all …]
/linux-4.1.27/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.1.27/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.1.27/drivers/staging/unisys/visorutil/
Dmemregion_direct.c168 void *local, ulong nbytes) in memregion_readwrite() argument
174 memcpy_toio(memregion->mapped + offset, local, nbytes); in memregion_readwrite()
176 memcpy_fromio(local, memregion->mapped + offset, nbytes); in memregion_readwrite()
/linux-4.1.27/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
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
Dip-sysctl.txt277 before it is aborted at the local end. While a perfectly
667 on the local machine, hurting latency of other flows, for
743 Defines the local port range that is used by TCP and UDP to
744 choose the local port. The first number is the first, the
745 second the last local port number. The default values are
780 If set, allows processes to bind() to non-local IP addresses,
793 certain kinds of local sockets. Currently we only do this
996 not to this host as local ones. It is supposed, that
1011 Accept packets with local source addresses. In combination with
1013 local interfaces over the wire and have them accepted properly.
[all …]
/linux-4.1.27/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.1.27/drivers/media/platform/vsp1/
Dvsp1_entity.c122 const struct media_pad *local, in vsp1_entity_link_setup() argument
127 if (!(local->flags & MEDIA_PAD_FL_SOURCE)) in vsp1_entity_link_setup()
130 source = container_of(local->entity, struct vsp1_entity, subdev.entity); in vsp1_entity_link_setup()
/linux-4.1.27/drivers/staging/unisys/visorchannel/
Dvisorchannel.h50 void *local, ulong nbytes);
52 void *local, ulong nbytes);
Dvisorchannel_funcs.c222 void *local, ulong nbytes) in visorchannel_read() argument
225 local, nbytes); in visorchannel_read()
228 memcpy(&channel->chan_hdr, local, in visorchannel_read()
237 void *local, ulong nbytes) in visorchannel_write() argument
240 memcpy(&channel->chan_hdr, local, in visorchannel_write()
242 return visor_memregion_write(channel->memregion, offset, local, nbytes); in visorchannel_write()
/linux-4.1.27/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()
1100 mbx->local = FM10K_MBX_CRC_SEED; in fm10k_mbx_connect_reset()
1279 mbx->local = FM10K_MBX_CRC_SEED; in fm10k_mbx_process_error()
1572 mbx->local = FM10K_MBX_CRC_SEED; in fm10k_pfvf_mbx_init()
1622 if (mbx->local) in fm10k_sm_mbx_create_connect_hdr()
1643 mbx->local = FM10K_SM_MBX_VERSION; in fm10k_sm_mbx_connect_reset()
1804 while (mbx->local > 1) in fm10k_sm_mbx_process_error()
1805 mbx->local--; in fm10k_sm_mbx_process_error()
[all …]
/linux-4.1.27/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.1.27/net/
DKconfig60 These are the protocols used on the Internet and on most local
113 a firewall protecting a local network from the Internet. The type of
121 firewalls often require changes to the programs running on the local
127 the gateway to the Internet for a local network of machines without
129 of the computers on your local network wants to send something to
135 correct local computer. This way, the computers on your local net
138 run globally visible servers from within a masqueraded local network
143 the local network tries to connect to an outside host, your Linux
144 box can transparently forward the traffic to a local server,
/linux-4.1.27/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 ];
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 ];
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.1.27/arch/arm/include/asm/xen/
Dpage-coherent.h38 bool local = PFN_DOWN(dev_addr) == page_to_pfn(page); in xen_dma_map_page() local
43 if (local) in xen_dma_map_page()
/linux-4.1.27/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.1.27/arch/x86/vdso/
Dvdsox32.lds.S23 local: *;
Dvdso.lds.S27 local: *;
/linux-4.1.27/drivers/net/ipvlan/
Dipvlan_core.c193 const struct ipvl_dev *in_dev, bool local) in ipvlan_multicast_frame() argument
207 if (local && (ipvlan == in_dev)) in ipvlan_multicast_frame()
226 if (local) in ipvlan_multicast_frame()
239 if (local) { in ipvlan_multicast_frame()
253 bool local) in ipvlan_rcv_frame() argument
274 if (local) { in ipvlan_rcv_frame()
/linux-4.1.27/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.1.27/arch/x86/um/vdso/
Dvdso.lds.S28 local: *;
/linux-4.1.27/arch/x86/vdso/vdso32/
Dvdso32.lds.S35 local: *;
/linux-4.1.27/arch/arm/mach-vexpress/
Ddcscb_setup.S33 2: @ Implementation-specific local CPU setup operations should go here,
/linux-4.1.27/Documentation/devicetree/bindings/i2c/
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.1.27/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.1.27/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.1.27/include/net/
Dcipso_ipv4.h100 u32 *local; member
106 u32 *local; member
/linux-4.1.27/arch/openrisc/include/asm/
DKbuild13 generic-y += cmpxchg-local.h
37 generic-y += local.h
/linux-4.1.27/kernel/sched/
Dfair.c1620 unsigned long local = p->numa_faults_locality[1]; in update_task_scan_period() local
1629 if (local + shared == 0 || p->numa_faults_locality[2]) { in update_task_scan_period()
1646 ratio = (local * NUMA_PERIOD_SLOTS) / (local + remote); in update_task_scan_period()
2043 int local = !!(flags & TNF_FAULT_LOCAL); in task_numa_fault() local
2084 if (!priv && !local && p->numa_group && in task_numa_fault()
2087 local = 1; in task_numa_fault()
2105 p->numa_faults_locality[local] += pages; in task_numa_fault()
5962 struct sched_group *local; /* Local group in this sd */ member
5981 .local = NULL, in init_sd_lb_stats()
6412 sds->local = sg; in update_sd_lb_stats()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/mfd/
Dqriox.txt10 - reg: access on the parent local bus (chip select, offset in chip select, size)
/linux-4.1.27/include/uapi/linux/
Datmsvc.h33 struct sockaddr_atmsvc local; /* local SVC address */ member

1234