| /drivers/infiniband/ulp/opa_vnic/ |
| A D | opa_vnic_internal.h | 280 #define vnic_hash_for_each_safe(name, bkt, tmp, obj, member) \ argument 281 for ((bkt) = 0, obj = NULL; \ 282 !obj && (bkt) < OPA_VNIC_MAC_TBL_SIZE; (bkt)++) \ 283 hlist_for_each_entry_safe(obj, tmp, &name[bkt], member) 289 #define vnic_hash_for_each(name, bkt, obj, member) \ argument 290 for ((bkt) = 0, obj = NULL; \ 291 !obj && (bkt) < OPA_VNIC_MAC_TBL_SIZE; (bkt)++) \ 292 hlist_for_each_entry(obj, &name[bkt], member)
|
| A D | opa_vnic_encap.c | 107 int bkt; in opa_vnic_free_mac_tbl() local 112 vnic_hash_for_each_safe(mactbl, bkt, tmp, node, hlist) { in opa_vnic_free_mac_tbl() 157 int bkt; in opa_vnic_query_mac_tbl() local 168 vnic_hash_for_each(mactbl, bkt, node, hlist) { in opa_vnic_query_mac_tbl() 209 int i, bkt, rc = 0; in opa_vnic_update_mac_tbl() local 263 vnic_hash_for_each(old_mactbl, bkt, node, hlist) { in opa_vnic_update_mac_tbl()
|
| /drivers/s390/crypto/ |
| A D | ap_card.c | 80 int bkt; in request_count_store() local 85 hash_for_each(ap_queues, bkt, aq, hnode) in request_count_store() 99 int bkt; in requestq_count_show() local 106 hash_for_each(ap_queues, bkt, aq, hnode) in requestq_count_show() 118 int bkt; in pendingq_count_show() local 125 hash_for_each(ap_queues, bkt, aq, hnode) in pendingq_count_show()
|
| A D | ap_bus.c | 471 int bkt; in ap_tasklet_fn() local 483 hash_for_each(ap_queues, bkt, aq, hnode) { in ap_tasklet_fn() 495 int bkt; in ap_pending_requests() local 499 hash_for_each(ap_queues, bkt, aq, hnode) { in ap_pending_requests() 1019 int bkt; in ap_get_qdev() local 1023 hash_for_each(ap_queues, bkt, aq, hnode) { in ap_get_qdev()
|
| /drivers/net/ethernet/intel/ice/ |
| A D | ice_sriov.c | 29 unsigned int bkt; in ice_free_vf_entries() local 137 unsigned int bkt; in ice_free_vfs() local 156 ice_for_each_vf(pf, bkt, vf) { in ice_free_vfs() 470 unsigned int bkt, it_cnt; in ice_start_vfs() local 880 int to_remap = 0, bkt; in ice_sriov_remap_vectors() local 1077 unsigned int bkt; in ice_process_vflr_event() local 1114 unsigned int bkt; in ice_get_vf_from_pfq() local 1471 unsigned int bkt; in ice_calc_all_vfs_min_tx_rate() local 1783 unsigned int bkt; in ice_print_vfs_mdd_events() local 1824 u32 bkt; in ice_restore_all_vfs_msi_state() local [all …]
|
| A D | ice_vf_lib.c | 108 unsigned int bkt; in ice_get_num_vfs() local 112 ice_for_each_vf_rcu(pf, bkt, vf) in ice_get_num_vfs() 580 unsigned int bkt; in ice_is_any_vf_in_unicast_promisc() local 583 ice_for_each_vf_rcu(pf, bkt, vf) { in ice_is_any_vf_in_unicast_promisc() 753 unsigned int bkt; in ice_reset_all_vfs() local 762 ice_for_each_vf(pf, bkt, vf) in ice_reset_all_vfs() 772 ice_for_each_vf(pf, bkt, vf) in ice_reset_all_vfs() 779 ice_for_each_vf(pf, bkt, vf) { in ice_reset_all_vfs() 791 ice_for_each_vf(pf, bkt, vf) { in ice_reset_all_vfs() 1382 unsigned int bkt; in ice_get_vf_ctrl_vsi() local [all …]
|
| A D | ice_vf_lib.h | 220 #define ice_for_each_vf(pf, bkt, vf) \ argument 221 hash_for_each((pf)->vfs.table, (bkt), (vf), entry) 237 #define ice_for_each_vf_rcu(pf, bkt, vf) \ argument 238 hash_for_each_rcu((pf)->vfs.table, (bkt), (vf), entry)
|
| A D | ice_virtchnl.c | 182 unsigned int bkt; in ice_vc_vf_broadcast() local 185 ice_for_each_vf(pf, bkt, vf) { in ice_vc_vf_broadcast() 257 unsigned int bkt; in ice_vc_notify_link_state() local 260 ice_for_each_vf(pf, bkt, vf) in ice_vc_notify_link_state()
|
| A D | ice_tc_lib.c | 809 unsigned int bkt; in ice_any_vf_lldp_tx_ena() local 811 ice_for_each_vf(pf, bkt, vf) in ice_any_vf_lldp_tx_ena()
|
| A D | ice_virtchnl_fdir.c | 1806 unsigned int bkt; in ice_flush_fdir_ctx() local 1812 ice_for_each_vf(pf, bkt, vf) { in ice_flush_fdir_ctx()
|
| A D | ice_lib.c | 2126 unsigned int bkt; in ice_cfg_sw_rx_lldp() local 2134 ice_for_each_vf(pf, bkt, vf) { in ice_cfg_sw_rx_lldp()
|
| /drivers/net/ethernet/mellanox/mlx5/core/en/ |
| A D | htb.c | 37 int bkt, err; in mlx5e_htb_enumerate_leaves() local 39 hash_for_each(htb->qos_tc2node, bkt, node, hnode) { in mlx5e_htb_enumerate_leaves() 434 int bkt; in mlx5e_htb_node_find_by_qid() local 436 hash_for_each(htb->qos_tc2node, bkt, node, hnode) in mlx5e_htb_node_find_by_qid() 627 int bkt; in mlx5e_htb_update_children() local 629 hash_for_each(htb->qos_tc2node, bkt, child, hnode) { in mlx5e_htb_update_children()
|
| /drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| A D | vxlan.c | 183 int bkt; in mlx5_vxlan_reset_to_default() local 188 hash_for_each_safe(vxlan->htable, bkt, tmp, vxlanp, hlist) { in mlx5_vxlan_reset_to_default()
|
| /drivers/net/ethernet/rocker/ |
| A D | rocker_ofdpa.c | 1953 int bkt; in ofdpa_port_fdb_flush() local 1964 hash_for_each_safe(ofdpa->fdb_tbl, bkt, tmp, found, entry) { in ofdpa_port_fdb_flush() 1994 int bkt; in ofdpa_fdb_cleanup() local 1998 hash_for_each_safe(ofdpa->fdb_tbl, bkt, tmp, entry, entry) { in ofdpa_fdb_cleanup() 2387 int bkt; in ofdpa_fini() local 2393 hash_for_each_safe(ofdpa->flow_tbl, bkt, tmp, flow_entry, entry) in ofdpa_fini() 2398 hash_for_each_safe(ofdpa->group_tbl, bkt, tmp, group_entry, entry) in ofdpa_fini() 2403 hash_for_each_safe(ofdpa->fdb_tbl, bkt, tmp, fdb_entry, entry) in ofdpa_fini() 2408 hash_for_each_safe(ofdpa->internal_vlan_tbl, bkt, in ofdpa_fini() 2414 hash_for_each_safe(ofdpa->neigh_tbl, bkt, tmp, neigh_entry, entry) in ofdpa_fini() [all …]
|
| /drivers/net/ovpn/ |
| A D | peer.c | 1166 int bkt; in ovpn_peers_release_mp() local 1169 hash_for_each_safe(ovpn->peers->by_id, bkt, tmp, peer, hash_entry_id) { in ovpn_peers_release_mp() 1285 int bkt; in ovpn_peer_keepalive_work_mp() local 1289 hash_for_each_safe(ovpn->peers->by_id, bkt, tmp, peer, hash_entry_id) { in ovpn_peer_keepalive_work_mp()
|
| A D | netlink.c | 718 int bkt, last_idx = cb->args[1], dumped = 0; in ovpn_nl_peer_get_dumpit() local 744 hash_for_each_rcu(ovpn->peers->by_id, bkt, peer, in ovpn_nl_peer_get_dumpit()
|
| /drivers/media/test-drivers/vidtv/ |
| A D | vidtv_mux.c | 68 int bkt; in vidtv_mux_pid_ctx_destroy() local 70 hash_for_each_safe(m->pid_ctx, bkt, tmp, ctx, h) { in vidtv_mux_pid_ctx_destroy()
|
| /drivers/net/ethernet/intel/i40e/ |
| A D | i40e_virtchnl_pf.c | 1205 u16 num_vlans = 0, bkt; in __i40e_getnum_vf_vsi_vlan_filters() local 1207 hash_for_each(vsi->mac_filter_hash, bkt, f, hlist) { in __i40e_getnum_vf_vsi_vlan_filters() 1246 int bkt; in i40e_get_vlan_list_sync() local 1254 hash_for_each(vsi->mac_filter_hash, bkt, f, hlist) { in i40e_get_vlan_list_sync() 3168 int bkt; in i40e_vc_del_mac_addr_msg() local 3172 hash_for_each_safe(vsi->mac_filter_hash, bkt, h, f, hlist) { in i40e_vc_del_mac_addr_msg() 3579 int bkt; in i40e_validate_cloud_filter() local 3617 hash_for_each_safe(vsi->mac_filter_hash, bkt, h, f, in i40e_validate_cloud_filter() 4415 int bkt; in i40e_ndo_set_vf_mac() local 4453 hash_for_each_safe(vsi->mac_filter_hash, bkt, h, f, hlist) in i40e_ndo_set_vf_mac()
|
| A D | i40e_main.c | 1255 int bkt; in i40e_count_filters() local 1391 int bkt, new_vlan; in i40e_correct_mac_vlan_filters() local 1538 int bkt, new_vlan; in i40e_correct_vf_mac_vlan_filters() local 1718 int bkt; in i40e_add_mac_filter() local 1754 int bkt; in i40e_del_mac_filter() local 2543 int bkt; in i40e_sync_vsi_filters() local 2761 hash_for_each(vsi->mac_filter_hash, bkt, f, hlist) { in i40e_sync_vsi_filters() 3038 int bkt; in i40e_add_vlan_all_mac() local 3122 int bkt; in i40e_rm_vlan_all_mac() local 13835 int bkt; in i40e_add_vsi() local [all …]
|
| A D | i40e_debugfs.c | 105 int i, bkt; in i40e_dbg_dump_vsi_seid() local 137 hash_for_each(vsi->mac_filter_hash, bkt, f, hlist) { in i40e_dbg_dump_vsi_seid()
|
| /drivers/firmware/arm_scmi/ |
| A D | notify.c | 1583 int bkt; in scmi_protocols_late_init() local 1594 hash_for_each_safe(ni->pending_events_handlers, bkt, tmp, hndl, hash) { in scmi_protocols_late_init()
|
| /drivers/infiniband/hw/irdma/ |
| A D | cm.c | 215 int bkt; in irdma_timer_list_prep() local 217 hash_for_each_rcu(cm_core->cm_hash_tbl, bkt, cm_node, list) { in irdma_timer_list_prep() 1854 int bkt; in irdma_reset_list_prep() local 1856 hash_for_each_rcu(cm_core->cm_hash_tbl, bkt, cm_node, list) { in irdma_reset_list_prep() 4119 int bkt; in irdma_teardown_list_prep() local 4121 hash_for_each_rcu(cm_core->cm_hash_tbl, bkt, cm_node, list) { in irdma_teardown_list_prep()
|
| /drivers/net/ethernet/intel/ice/devlink/ |
| A D | devlink.c | 692 unsigned int bkt; in ice_tear_down_devlink_rate_tree() local 698 ice_for_each_vf(pf, bkt, vf) { in ice_tear_down_devlink_rate_tree()
|
| /drivers/net/ethernet/marvell/octeontx2/nic/ |
| A D | qos.c | 556 int bkt; in otx2_sw_node_find_by_qid() local 558 hash_for_each(pfvf->qos.qos_hlist, bkt, node, hlist) { in otx2_sw_node_find_by_qid()
|
| /drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | en_tc.c | 1043 u32 bkt; in debugfs_hairpin_num_active_get() local 1046 hash_for_each(tc->hairpin_tbl, bkt, hpe, hairpin_hlist) in debugfs_hairpin_num_active_get() 1062 u32 bkt; in debugfs_hairpin_table_dump_show() local 1065 hash_for_each(tc->hairpin_tbl, bkt, hpe, hairpin_hlist) in debugfs_hairpin_table_dump_show() 5156 int bkt; in mlx5e_tc_hairpin_update_dead_peer() local 5164 hash_for_each(tc->hairpin_tbl, bkt, hpe, hairpin_hlist) in mlx5e_tc_hairpin_update_dead_peer()
|