| /linux/net/mac80211/ |
| H A D | led.c | 12 void ieee80211_led_assoc(struct ieee80211_local *local, bool associated) in ieee80211_led_assoc() argument 14 if (!atomic_read(&local->assoc_led_active)) in ieee80211_led_assoc() 17 led_trigger_event(&local->assoc_led, LED_FULL); in ieee80211_led_assoc() 19 led_trigger_event(&local->assoc_led, LED_OFF); in ieee80211_led_assoc() 22 void ieee80211_led_radio(struct ieee80211_local *local, bool enabled) in ieee80211_led_radio() argument 24 if (!atomic_read(&local->radio_led_active)) in ieee80211_led_radio() 27 led_trigger_event(&local->radio_led, LED_FULL); in ieee80211_led_radio() 29 led_trigger_event(&local->radio_led, LED_OFF); in ieee80211_led_radio() 32 void ieee80211_alloc_led_names(struct ieee80211_local *local) in ieee80211_alloc_led_names() argument 34 local->rx_led.name = kasprintf(GFP_KERNEL, "%srx", in ieee80211_alloc_led_names() [all …]
|
| H A D | driver-ops.c | 13 int drv_start(struct ieee80211_local *local) in drv_start() argument 18 lockdep_assert_wiphy(local->hw.wiphy); in drv_start() 20 if (WARN_ON(local->started)) in drv_start() 23 trace_drv_start(local); in drv_start() 24 local->started = true; in drv_start() 27 ret = local->ops->start(&local->hw); in drv_start() 28 trace_drv_return_int(local, ret); in drv_start() 31 local->started = false; in drv_start() 36 void drv_stop(struct ieee80211_local *local, boo argument 57 drv_add_interface(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata) drv_add_interface() argument 90 drv_change_interface(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,enum nl80211_iftype type,bool p2p) drv_change_interface() argument 108 drv_remove_interface(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata) drv_remove_interface() argument 134 drv_sta_state(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct sta_info * sta,enum ieee80211_sta_state old_state,enum ieee80211_sta_state new_state) drv_sta_state() argument 170 drv_sta_set_txpwr(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct sta_info * sta) drv_sta_set_txpwr() argument 191 drv_link_sta_rc_update(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_link_sta * link_sta,u32 changed) drv_link_sta_rc_update() argument 212 drv_conf_tx(struct ieee80211_local * local,struct ieee80211_link_data * link,u16 ac,const struct ieee80211_tx_queue_params * params) drv_conf_tx() argument 247 drv_get_tsf(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata) drv_get_tsf() argument 265 drv_set_tsf(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,u64 tsf) drv_set_tsf() argument 281 drv_offset_tsf(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,s64 offset) drv_offset_tsf() argument 297 drv_reset_tsf(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata) drv_reset_tsf() argument 312 drv_assign_vif_chanctx(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_bss_conf * link_conf,struct ieee80211_chanctx * ctx) drv_assign_vif_chanctx() argument 353 drv_unassign_vif_chanctx(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_bss_conf * link_conf,struct ieee80211_chanctx * ctx) drv_unassign_vif_chanctx() argument 383 drv_switch_vif_chanctx(struct ieee80211_local * local,struct ieee80211_vif_chanctx_switch * vifs,int n_vifs,enum ieee80211_chanctx_switch_mode mode) drv_switch_vif_chanctx() argument 437 drv_ampdu_action(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_ampdu_params * params) drv_ampdu_action() argument 460 drv_link_info_changed(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_bss_conf * info,int link_id,u64 changed) drv_link_info_changed() argument 499 drv_set_key(struct ieee80211_local * local,enum set_key_cmd cmd,struct ieee80211_sub_if_data * sdata,struct ieee80211_sta * sta,struct ieee80211_key_conf * key) drv_set_key() argument 527 drv_change_vif_links(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,u16 old_links,u16 new_links,struct ieee80211_bss_conf * old[IEEE80211_MLD_MAX_NUM_LINKS]) drv_change_vif_links() argument 577 drv_change_sta_links(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct ieee80211_sta * sta,u16 old_links,u16 new_links) drv_change_sta_links() argument [all...] |
| H A D | offchannel.c | 27 struct ieee80211_local *local = sdata->local; in ieee80211_offchannel_ps_enable() local 33 timer_delete_sync(&local->dynamic_ps_timer); in ieee80211_offchannel_ps_enable() 37 wiphy_work_cancel(local->hw.wiphy, &local->dynamic_ps_enable_work); in ieee80211_offchannel_ps_enable() 39 if (local->hw.conf.flags & IEEE80211_CONF_PS) { in ieee80211_offchannel_ps_enable() 41 local->hw.conf.flags &= ~IEEE80211_CONF_PS; in ieee80211_offchannel_ps_enable() 42 ieee80211_hw_config(local, -1, IEEE80211_CONF_CHANGE_PS); in ieee80211_offchannel_ps_enable() 46 !ieee80211_hw_check(&local->hw, PS_NULLFUNC_STACK)) in ieee80211_offchannel_ps_enable() 57 ieee80211_send_nullfunc(local, sdata, true); in ieee80211_offchannel_ps_enable() 63 struct ieee80211_local *local = sdata->local; in ieee80211_offchannel_ps_disable() local 65 if (!local->ps_sdata) in ieee80211_offchannel_ps_disable() [all …]
|
| H A D | pm.c | 14 static void ieee80211_sched_scan_cancel(struct ieee80211_local *local) in ieee80211_sched_scan_cancel() argument 16 if (ieee80211_request_sched_scan_stop(local)) in ieee80211_sched_scan_cancel() 18 cfg80211_sched_scan_stopped_locked(local->hw.wiphy, 0); in ieee80211_sched_scan_cancel() 23 struct ieee80211_local *local = hw_to_local(hw); in __ieee80211_suspend() local 27 if (!local->open_count) in __ieee80211_suspend() 30 local->suspending = true; in __ieee80211_suspend() 33 ieee80211_scan_cancel(local); in __ieee80211_suspend() 35 ieee80211_dfs_cac_cancel(local, NULL); in __ieee80211_suspend() 37 ieee80211_roc_purge(local, NULL); in __ieee80211_suspend() 39 ieee80211_del_virtual_monitor(local); in __ieee80211_suspend() [all …]
|
| H A D | chan.c | 112 ieee80211_chanctx_user_iter_next(struct ieee80211_local *local, in ieee80211_chanctx_user_iter_next() argument 120 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_chanctx_user_iter_next() 138 iter->sdata = list_prepare_entry(iter->sdata, &local->interfaces, list); in ieee80211_chanctx_user_iter_next() 139 list_for_each_entry_continue(iter->sdata, &local->interfaces, list) { in ieee80211_chanctx_user_iter_next() 164 #define for_each_chanctx_user_assigned(local, ctx, iter) \ argument 165 for (ieee80211_chanctx_user_iter_next(local, ctx, iter, \ 169 ieee80211_chanctx_user_iter_next(local, ctx, iter, \ 173 #define for_each_chanctx_user_reserved(local, ctx, iter) \ argument 174 for (ieee80211_chanctx_user_iter_next(local, ctx, iter, \ 178 ieee80211_chanctx_user_iter_next(local, ctx, iter, \ [all …]
|
| H A D | led.h | 13 static inline void ieee80211_led_rx(struct ieee80211_local *local) in ieee80211_led_rx() argument 16 if (!atomic_read(&local->rx_led_active)) in ieee80211_led_rx() 18 led_trigger_blink_oneshot(&local->rx_led, MAC80211_BLINK_DELAY, MAC80211_BLINK_DELAY, 0); in ieee80211_led_rx() 22 static inline void ieee80211_led_tx(struct ieee80211_local *local) in ieee80211_led_tx() argument 25 if (!atomic_read(&local->tx_led_active)) in ieee80211_led_tx() 27 led_trigger_blink_oneshot(&local->tx_led, MAC80211_BLINK_DELAY, MAC80211_BLINK_DELAY, 0); in ieee80211_led_tx() 32 void ieee80211_led_assoc(struct ieee80211_local *local, 34 void ieee80211_led_radio(struct ieee80211_local *local, 36 void ieee80211_alloc_led_names(struct ieee80211_local *local); 37 void ieee80211_free_led_names(struct ieee80211_local *local); [all …]
|
| H A D | debugfs.c | 38 struct ieee80211_local *local = file->private_data; \ 55 debugfs_create_file(#name, 0400, phyd, local, &name## _ops) 58 debugfs_create_file(#name, mode, phyd, local, &name## _ops); 62 local->hw.conf.flags); 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"); 79 struct ieee80211_local *local = file->private_data; in aqm_read() local [all …]
|
| H A D | util.c | 42 struct ieee80211_local *local; in wiphy_to_ieee80211_hw() local 44 local = wiphy_priv(wiphy); in wiphy_to_ieee80211_hw() 45 return &local->hw; in wiphy_to_ieee80211_hw() 204 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_rts_duration() local 212 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_rts_duration() 247 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_ctstoself_duration() local 255 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_ctstoself_duration() 283 static void wake_tx_push_queue(struct ieee80211_local *local, in wake_tx_push_queue() argument 293 skb = ieee80211_tx_dequeue(&local->hw, queue); in wake_tx_push_queue() 297 drv_tx(local, &control, skb); in wake_tx_push_queue() [all …]
|
| H A D | sta_info.c | 90 static int sta_info_hash_del(struct ieee80211_local *local, in sta_info_hash_del() argument 93 return rhltable_remove(&local->sta_hash, &sta->hash_node, in sta_info_hash_del() 97 static int link_sta_info_hash_add(struct ieee80211_local *local, in link_sta_info_hash_add() argument 100 lockdep_assert_wiphy(local->hw.wiphy); in link_sta_info_hash_add() 102 return rhltable_insert(&local->link_sta_hash, in link_sta_info_hash_add() 106 static int link_sta_info_hash_del(struct ieee80211_local *local, in link_sta_info_hash_del() argument 109 lockdep_assert_wiphy(local->hw.wiphy); in link_sta_info_hash_del() 111 return rhltable_remove(&local->link_sta_hash, in link_sta_info_hash_del() 117 struct ieee80211_local *local = sta->sdata->local; in ieee80211_purge_sta_txqs() local 128 ieee80211_txq_purge(local, txqi); in ieee80211_purge_sta_txqs() [all …]
|
| H A D | tx.c | 49 struct ieee80211_local *local = tx->local; in ieee80211_duration() local 65 sband = local->hw.wiphy->bands[info->band]; in ieee80211_duration() 195 struct ieee80211_local *local = tx->local; in ieee80211_tx_h_dynamic_ps() local 200 if (!ieee80211_hw_check(&local->hw, SUPPORTS_PS)) in ieee80211_tx_h_dynamic_ps() 204 if (ieee80211_hw_check(&local->hw, SUPPORTS_DYNAMIC_PS)) in ieee80211_tx_h_dynamic_ps() 208 if (local->hw.conf.dynamic_ps_timeout <= 0) in ieee80211_tx_h_dynamic_ps() 212 if (local->scanning) in ieee80211_tx_h_dynamic_ps() 215 if (!local->ps_sdata) in ieee80211_tx_h_dynamic_ps() 219 if (local->quiescing) in ieee80211_tx_h_dynamic_ps() 249 if (local->hw.conf.flags & IEEE80211_CONF_PS) { in ieee80211_tx_h_dynamic_ps() [all …]
|
| /linux/net/mac802154/ |
| H A D | driver-ops.h | 14 drv_xmit_async(struct ieee802154_local *local, struct sk_buff *skb) in drv_xmit_async() argument 16 return local->ops->xmit_async(&local->hw, skb); in drv_xmit_async() 20 drv_xmit_sync(struct ieee802154_local *local, struct sk_buff *skb) in drv_xmit_sync() argument 24 return local->ops->xmit_sync(&local->hw, skb); in drv_xmit_sync() 27 static inline int drv_set_pan_id(struct ieee802154_local *local, __le16 pan_id) in drv_set_pan_id() argument 34 if (!local->ops->set_hw_addr_filt) { in drv_set_pan_id() 41 trace_802154_drv_set_pan_id(local, pan_id); in drv_set_pan_id() 42 ret = local->ops->set_hw_addr_filt(&local->hw, &filt, in drv_set_pan_id() 44 trace_802154_drv_return_int(local, ret); in drv_set_pan_id() 49 drv_set_extended_addr(struct ieee802154_local *local, __le64 extended_addr) in drv_set_extended_addr() argument [all …]
|
| H A D | scan.c | 44 static int mac802154_scan_cleanup_locked(struct ieee802154_local *local, in mac802154_scan_cleanup_locked() argument 49 struct wpan_phy *wpan_phy = local->phy; in mac802154_scan_cleanup_locked() 54 clear_bit(IEEE802154_IS_SCANNING, &local->ongoing); in mac802154_scan_cleanup_locked() 55 cancel_delayed_work(&local->scan_work); in mac802154_scan_cleanup_locked() 56 request = rcu_replace_pointer(local->scan_req, NULL, 1); in mac802154_scan_cleanup_locked() 69 ieee802154_mlme_op_post(local); in mac802154_scan_cleanup_locked() 72 drv_set_channel(local, wpan_phy->current_page, in mac802154_scan_cleanup_locked() 76 drv_stop(local); in mac802154_scan_cleanup_locked() 79 drv_start(local, sdata->required_filtering, &local->addr_filt); in mac802154_scan_cleanup_locked() 84 int mac802154_abort_scan_locked(struct ieee802154_local *local, in mac802154_abort_scan_locked() argument [all …]
|
| H A D | util.c | 28 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_wake_queue() local 32 clear_bit(WPAN_PHY_FLAG_STATE_QUEUE_STOPPED, &local->phy->flags); in ieee802154_wake_queue() 33 list_for_each_entry_rcu(sdata, &local->interfaces, list) { in ieee802154_wake_queue() 54 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_stop_queue() local 58 list_for_each_entry_rcu(sdata, &local->interfaces, list) { in ieee802154_stop_queue() 67 void ieee802154_hold_queue(struct ieee802154_local *local) in ieee802154_hold_queue() argument 71 spin_lock_irqsave(&local->phy->queue_lock, flags); in ieee802154_hold_queue() 72 if (!atomic_fetch_inc(&local->phy->hold_txs)) in ieee802154_hold_queue() 73 ieee802154_stop_queue(&local->hw); in ieee802154_hold_queue() 74 spin_unlock_irqrestore(&local->phy->queue_lock, flags); in ieee802154_hold_queue() [all …]
|
| H A D | trace.h | 18 wpan_phy_name(local->hw.phy), MAXNAME) 37 TP_PROTO(struct ieee802154_local *local), 38 TP_ARGS(local), 49 TP_PROTO(struct ieee802154_local *local), 50 TP_ARGS(local) 54 TP_PROTO(struct ieee802154_local *local, int ret), 55 TP_ARGS(local, ret), 69 TP_PROTO(struct ieee802154_local *local), 70 TP_ARGS(local) 74 TP_PROTO(struct ieee802154_local *local), [all …]
|
| H A D | iface.c | 146 struct ieee802154_local *local = sdata->local; in ieee802154_setup_hw() local 152 if (local->hw.flags & IEEE802154_HW_AFILT) { in ieee802154_setup_hw() 153 local->addr_filt.pan_id = wpan_dev->pan_id; in ieee802154_setup_hw() 154 local->addr_filt.ieee_addr = wpan_dev->extended_addr; in ieee802154_setup_hw() 155 local->addr_filt.short_addr = wpan_dev->short_addr; in ieee802154_setup_hw() 158 if (local->hw.flags & IEEE802154_HW_LBT) { in ieee802154_setup_hw() 159 ret = drv_set_lbt_mode(local, wpan_dev->lbt); in ieee802154_setup_hw() 164 if (local->hw.flags & IEEE802154_HW_CSMA_PARAMS) { in ieee802154_setup_hw() 165 ret = drv_set_csma_params(local, wpan_dev->min_be, in ieee802154_setup_hw() 172 if (local->hw.flags & IEEE802154_HW_FRAME_RETRIES) { in ieee802154_setup_hw() [all …]
|
| H A D | rx.c | 34 struct ieee802154_local *local = in mac802154_rx_beacon_worker() local 38 mac_pkt = list_first_entry_or_null(&local->rx_beacon_list, in mac802154_rx_beacon_worker() 43 mac802154_process_beacon(local, mac_pkt->skb, mac_pkt->page, mac_pkt->channel); in mac802154_rx_beacon_worker() 50 static bool mac802154_should_answer_beacon_req(struct ieee802154_local *local) in mac802154_should_answer_beacon_req() argument 56 beacon_req = rcu_dereference(local->beacon_req); in mac802154_should_answer_beacon_req() 65 if (!mac802154_is_beaconing(local)) in mac802154_should_answer_beacon_req() 73 struct ieee802154_local *local = in mac802154_rx_mac_cmd_worker() local 79 mac_pkt = list_first_entry_or_null(&local->rx_mac_cmd_list, in mac802154_rx_mac_cmd_worker() 91 if (!mac802154_should_answer_beacon_req(local)) in mac802154_rx_mac_cmd_worker() 94 queue_delayed_work(local->mac_wq, &local->beacon_work, 0); in mac802154_rx_mac_cmd_worker() [all …]
|
| /linux/net/rxrpc/ |
| H A D | local_object.c | 42 void rxrpc_local_dont_fragment(const struct rxrpc_local *local, bool set) in rxrpc_local_dont_fragment() argument 45 ip_sock_set_mtu_discover(local->socket->sk, IP_PMTUDISC_DO); in rxrpc_local_dont_fragment() 47 ip_sock_set_mtu_discover(local->socket->sk, IP_PMTUDISC_DONT); in rxrpc_local_dont_fragment() 59 static long rxrpc_local_cmp_key(const struct rxrpc_local *local, in rxrpc_local_cmp_key() argument 64 diff = ((local->srx.transport_type - srx->transport_type) ?: in rxrpc_local_cmp_key() 65 (local->srx.transport_len - srx->transport_len) ?: in rxrpc_local_cmp_key() 66 (local->srx.transport.family - srx->transport.family)); in rxrpc_local_cmp_key() 75 return ((u16 __force)local->srx.transport.sin.sin_port - in rxrpc_local_cmp_key() 77 memcmp(&local->srx.transport.sin.sin_addr, in rxrpc_local_cmp_key() 85 return ((u16 __force)local->srx.transport.sin6.sin6_port - in rxrpc_local_cmp_key() [all …]
|
| H A D | io_thread.c | 29 struct rxrpc_local *local = rcu_dereference_sk_user_data(udp_sk); in rxrpc_encap_rcv() local 32 if (unlikely(!local)) { in rxrpc_encap_rcv() 36 io_thread = READ_ONCE(local->io_thread); in rxrpc_encap_rcv() 46 rx_queue = &local->rx_queue; in rxrpc_encap_rcv() 49 !skb_queue_empty(&local->rx_delay_queue)) { in rxrpc_encap_rcv() 51 rx_queue = &local->rx_delay_queue; in rxrpc_encap_rcv() 65 struct rxrpc_local *local; in rxrpc_error_report() local 69 local = rcu_dereference_sk_user_data(sk); in rxrpc_error_report() 70 if (unlikely(!local)) { in rxrpc_error_report() 78 skb_queue_tail(&local->rx_queue, skb); in rxrpc_error_report() [all …]
|
| H A D | conn_client.c | 45 static void rxrpc_put_client_connection_id(struct rxrpc_local *local, in rxrpc_put_client_connection_id() argument 48 idr_remove(&local->conn_ids, conn->proto.cid >> RXRPC_CIDSHIFT); in rxrpc_put_client_connection_id() 54 static void rxrpc_destroy_client_conn_ids(struct rxrpc_local *local) in rxrpc_destroy_client_conn_ids() argument 59 if (!idr_is_empty(&local->conn_ids)) { in rxrpc_destroy_client_conn_ids() 60 idr_for_each_entry(&local->conn_ids, conn, id) { in rxrpc_destroy_client_conn_ids() 67 idr_destroy(&local->conn_ids); in rxrpc_destroy_client_conn_ids() 81 bundle->local = call->local; in rxrpc_alloc_bundle() 95 write_lock(&bundle->local->rxnet->conn_lock); in rxrpc_alloc_bundle() 96 list_add_tail(&bundle->proc_link, &bundle->local->rxnet->bundle_proc_list); in rxrpc_alloc_bundle() 97 write_unlock(&bundle->local->rxnet->conn_lock); in rxrpc_alloc_bundle() [all …]
|
| /linux/net/nfc/ |
| H A D | llcp_core.c | 23 static void nfc_llcp_rx_skb(struct nfc_llcp_local *local, struct sk_buff *skb); 47 struct nfc_llcp_local *local = sock->local; in nfc_llcp_socket_purge() local 53 if (local == NULL) in nfc_llcp_socket_purge() 57 skb_queue_walk_safe(&local->tx_queue, s, tmp) { in nfc_llcp_socket_purge() 61 skb_unlink(s, &local->tx_queue); in nfc_llcp_socket_purge() 66 static void nfc_llcp_socket_release(struct nfc_llcp_local *local, bool device, in nfc_llcp_socket_release() argument 73 skb_queue_purge(&local->tx_queue); in nfc_llcp_socket_release() 75 write_lock(&local->sockets.lock); in nfc_llcp_socket_release() 77 sk_for_each_safe(sk, tmp, &local->sockets.head) { in nfc_llcp_socket_release() 118 write_unlock(&local->sockets.lock); in nfc_llcp_socket_release() [all …]
|
| H A D | llcp_commands.c | 192 int nfc_llcp_parse_gb_tlv(struct nfc_llcp_local *local, in nfc_llcp_parse_gb_tlv() argument 200 if (local == NULL) in nfc_llcp_parse_gb_tlv() 211 local->remote_version = llcp_tlv_version(tlv); in nfc_llcp_parse_gb_tlv() 214 local->remote_miu = llcp_tlv_miux(tlv) + 128; in nfc_llcp_parse_gb_tlv() 217 local->remote_wks = llcp_tlv_wks(tlv); in nfc_llcp_parse_gb_tlv() 220 local->remote_lto = llcp_tlv_lto(tlv) * 10; in nfc_llcp_parse_gb_tlv() 223 local->remote_opt = llcp_tlv_opt(tlv); in nfc_llcp_parse_gb_tlv() 235 local->remote_version, local->remote_miu, in nfc_llcp_parse_gb_tlv() 236 local->remote_lto, local->remote_opt, in nfc_llcp_parse_gb_tlv() 237 local->remote_wks); in nfc_llcp_parse_gb_tlv() [all …]
|
| /linux/tools/testing/selftests/breakpoints/ |
| H A D | breakpoint_test.c | 54 int local, int global, int set) in toggle_breakpoint() argument 94 if (local) { in toggle_breakpoint() 205 int len, local, global, i; in trigger_tests() local 219 for (local = 0; local < 2; local++) { in trigger_tests() 221 if (!local && !global) in trigger_tests() 233 for (local = 0; local < 2; local++) { in trigger_tests() 235 if (!local && !global) in trigger_tests() 244 for (local = 0; local < 2; local++) { in trigger_tests() 246 if (!local && !global) in trigger_tests() 292 static void launch_instruction_breakpoints(char *buf, int local, int global) in launch_instruction_breakpoints() argument [all …]
|
| /linux/drivers/net/ethernet/xircom/ |
| H A D | xirc2ps_cs.c | 477 struct local_info *local; in xirc2ps_probe() local 485 local = netdev_priv(dev); in xirc2ps_probe() 486 local->dev = dev; in xirc2ps_probe() 487 local->p_dev = link; in xirc2ps_probe() 497 INIT_WORK(&local->tx_timeout_task, xirc2ps_tx_timeout_task); in xirc2ps_probe() 506 struct local_info *local = netdev_priv(dev); in xirc2ps_detach() local 510 cancel_work_sync(&local->tx_timeout_task); in xirc2ps_detach() 543 struct local_info *local = netdev_priv(dev); in set_card_type() local 561 local->mohawk = 0; in set_card_type() 562 local->dingo = 0; in set_card_type() [all …]
|
| /linux/net/smc/ |
| H A D | smc_cdc.h | 196 union smc_host_cursor *local, in smc_host_cursor_to_cdc() argument 200 smc_curs_copy(save, local, conn); in smc_host_cursor_to_cdc() 210 struct smc_host_cdc_msg *local = &conn->local_tx_ctrl; in smc_host_msg_to_cdc() local 212 peer->common.type = local->common.type; in smc_host_msg_to_cdc() 213 peer->len = local->len; in smc_host_msg_to_cdc() 214 peer->seqno = htons(local->seqno); in smc_host_msg_to_cdc() 215 peer->token = htonl(local->token); in smc_host_msg_to_cdc() 216 smc_host_cursor_to_cdc(&peer->prod, &local->prod, save, conn); in smc_host_msg_to_cdc() 217 smc_host_cursor_to_cdc(&peer->cons, &local->cons, save, conn); in smc_host_msg_to_cdc() 218 peer->prod_flags = local->prod_flags; in smc_host_msg_to_cdc() [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | cpumask_failure.c | 123 struct bpf_cpumask *local, *prev; in BPF_PROG() local 125 local = create_cpumask(); in BPF_PROG() 126 if (!local) in BPF_PROG() 129 prev = bpf_kptr_xchg(&global_mask, local); in BPF_PROG() 137 local = global_mask; in BPF_PROG() 138 if (!local) { in BPF_PROG() 148 bpf_cpumask_test_cpu(0, (const struct cpumask *)local); in BPF_PROG() 157 struct bpf_cpumask *local, *prev; in BPF_PROG() local 159 local = create_cpumask(); in BPF_PROG() 160 if (!local) in BPF_PROG() 210 struct bpf_cpumask *local, *prev; BPF_PROG() local [all...] |