/Linux-v4.19/arch/mips/netlogic/xlr/ |
D | fmn-config.c | 50 int bkt; in print_credit_config() local 54 for (bkt = 0; bkt < 16; bkt++) in print_credit_config() 56 xlr_board_fmn_config.bucket_size[(bkt * 8) + 0], in print_credit_config() 57 xlr_board_fmn_config.bucket_size[(bkt * 8) + 1], in print_credit_config() 58 xlr_board_fmn_config.bucket_size[(bkt * 8) + 2], in print_credit_config() 59 xlr_board_fmn_config.bucket_size[(bkt * 8) + 3], in print_credit_config() 60 xlr_board_fmn_config.bucket_size[(bkt * 8) + 4], in print_credit_config() 61 xlr_board_fmn_config.bucket_size[(bkt * 8) + 5], in print_credit_config() 62 xlr_board_fmn_config.bucket_size[(bkt * 8) + 6], in print_credit_config() 63 xlr_board_fmn_config.bucket_size[(bkt * 8) + 7]); in print_credit_config() [all …]
|
/Linux-v4.19/include/linux/ |
D | hashtable.h | 126 #define hash_for_each(name, bkt, obj, member) \ argument 127 for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\ 128 (bkt)++)\ 129 hlist_for_each_entry(obj, &name[bkt], member) 138 #define hash_for_each_rcu(name, bkt, obj, member) \ argument 139 for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\ 140 (bkt)++)\ 141 hlist_for_each_entry_rcu(obj, &name[bkt], member) 152 #define hash_for_each_safe(name, bkt, tmp, obj, member) \ argument 153 for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\ [all …]
|
/Linux-v4.19/tools/include/linux/ |
D | hashtable.h | 105 #define hash_for_each(name, bkt, obj, member) \ argument 106 for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\ 107 (bkt)++)\ 108 hlist_for_each_entry(obj, &name[bkt], member) 119 #define hash_for_each_safe(name, bkt, tmp, obj, member) \ argument 120 for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\ 121 (bkt)++)\ 122 hlist_for_each_entry_safe(obj, tmp, &name[bkt], member)
|
/Linux-v4.19/drivers/infiniband/ulp/opa_vnic/ |
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)
|
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()
|
/Linux-v4.19/net/ipv6/ |
D | calipso.c | 214 u32 bkt; in calipso_cache_check() local 223 bkt = hash & (CALIPSO_CACHE_BUCKETS - 1); in calipso_cache_check() 224 spin_lock_bh(&calipso_cache[bkt].lock); in calipso_cache_check() 225 list_for_each_entry(entry, &calipso_cache[bkt].list, list) { in calipso_cache_check() 235 spin_unlock_bh(&calipso_cache[bkt].lock); in calipso_cache_check() 250 spin_unlock_bh(&calipso_cache[bkt].lock); in calipso_cache_check() 255 spin_unlock_bh(&calipso_cache[bkt].lock); in calipso_cache_check() 279 u32 bkt; in calipso_cache_add() local 302 bkt = entry->hash & (CALIPSO_CACHE_BUCKETS - 1); in calipso_cache_add() 303 spin_lock_bh(&calipso_cache[bkt].lock); in calipso_cache_add() [all …]
|
/Linux-v4.19/net/ipv4/ |
D | cipso_ipv4.c | 252 u32 bkt; in cipso_v4_cache_check() local 261 bkt = hash & (CIPSO_V4_CACHE_BUCKETS - 1); in cipso_v4_cache_check() 262 spin_lock_bh(&cipso_v4_cache[bkt].lock); in cipso_v4_cache_check() 263 list_for_each_entry(entry, &cipso_v4_cache[bkt].list, list) { in cipso_v4_cache_check() 273 spin_unlock_bh(&cipso_v4_cache[bkt].lock); in cipso_v4_cache_check() 288 spin_unlock_bh(&cipso_v4_cache[bkt].lock); in cipso_v4_cache_check() 293 spin_unlock_bh(&cipso_v4_cache[bkt].lock); in cipso_v4_cache_check() 315 u32 bkt; in cipso_v4_cache_add() local 338 bkt = entry->hash & (CIPSO_V4_CACHE_BUCKETS - 1); in cipso_v4_cache_add() 339 spin_lock_bh(&cipso_v4_cache[bkt].lock); in cipso_v4_cache_add() [all …]
|
/Linux-v4.19/net/sched/ |
D | cls_route.c | 58 struct route4_bucket *bkt; member 329 b = f->bkt; in route4_delete() 457 f->bkt = b; in route4_set_parms() 510 f->bkt = fold->bkt; in route4_change() 520 fp = &f->bkt->ht[h]; in route4_change()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | vxlan.c | 217 int bkt; in mlx5_vxlan_destroy() local 223 hash_for_each_safe(vxlan->htable, bkt, tmp, vxlanp, hlist) { in mlx5_vxlan_destroy()
|
/Linux-v4.19/drivers/infiniband/core/ |
D | restrack.c | 46 int bkt; in rdma_restrack_clean() local 55 hash_for_each(res->hash, bkt, e, node) { in rdma_restrack_clean()
|
/Linux-v4.19/net/netlabel/ |
D | netlabel_domainhash.c | 153 u32 bkt; in netlbl_domhsh_search() local 158 bkt = netlbl_domhsh_hash(domain); in netlbl_domhsh_search() 159 bkt_list = &netlbl_domhsh_rcu_deref(netlbl_domhsh)->tbl[bkt]; in netlbl_domhsh_search() 448 u32 bkt = netlbl_domhsh_hash(entry->domain); in netlbl_domhsh_add() local 450 &rcu_dereference(netlbl_domhsh)->tbl[bkt]); in netlbl_domhsh_add()
|
D | netlabel_unlabeled.c | 218 u32 bkt; in netlbl_unlhsh_search_iface() local 222 bkt = netlbl_unlhsh_hash(ifindex); in netlbl_unlhsh_search_iface() 223 bkt_list = &netlbl_unlhsh_rcu_deref(netlbl_unlhsh)->tbl[bkt]; in netlbl_unlhsh_search_iface() 327 u32 bkt; in netlbl_unlhsh_add_iface() local 341 bkt = netlbl_unlhsh_hash(ifindex); in netlbl_unlhsh_add_iface() 345 &netlbl_unlhsh_rcu_deref(netlbl_unlhsh)->tbl[bkt]); in netlbl_unlhsh_add_iface()
|
/Linux-v4.19/drivers/net/ethernet/rocker/ |
D | rocker_ofdpa.c | 1955 int bkt; in ofdpa_port_fdb_flush() local 1966 hash_for_each_safe(ofdpa->fdb_tbl, bkt, tmp, found, entry) { in ofdpa_port_fdb_flush() 1996 int bkt; in ofdpa_fdb_cleanup() local 2000 hash_for_each_safe(ofdpa->fdb_tbl, bkt, tmp, entry, entry) { in ofdpa_fdb_cleanup() 2389 int bkt; in ofdpa_fini() local 2395 hash_for_each_safe(ofdpa->flow_tbl, bkt, tmp, flow_entry, entry) in ofdpa_fini() 2400 hash_for_each_safe(ofdpa->group_tbl, bkt, tmp, group_entry, entry) in ofdpa_fini() 2405 hash_for_each_safe(ofdpa->fdb_tbl, bkt, tmp, fdb_entry, entry) in ofdpa_fini() 2410 hash_for_each_safe(ofdpa->internal_vlan_tbl, bkt, in ofdpa_fini() 2416 hash_for_each_safe(ofdpa->neigh_tbl, bkt, tmp, neigh_entry, entry) in ofdpa_fini() [all …]
|
/Linux-v4.19/tools/bpf/bpftool/ |
D | common.c | 428 unsigned int bkt; in delete_pinned_obj_table() local 430 hash_for_each_safe(tab->table, bkt, tmp, obj, hash) { in delete_pinned_obj_table()
|
/Linux-v4.19/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.c | 1829 int num_vlans = 0, bkt; in i40e_getnum_vf_vsi_vlan_filters() local 1831 hash_for_each(vsi->mac_filter_hash, bkt, f, hlist) { in i40e_getnum_vf_vsi_vlan_filters() 1861 int bkt; in i40e_vc_config_promiscuous_mode_msg() local 1888 hash_for_each(vsi->mac_filter_hash, bkt, f, hlist) { in i40e_vc_config_promiscuous_mode_msg() 1938 hash_for_each(vsi->mac_filter_hash, bkt, f, hlist) { in i40e_vc_config_promiscuous_mode_msg() 2997 int bkt; in i40e_validate_cloud_filter() local 3035 hash_for_each_safe(vsi->mac_filter_hash, bkt, h, f, in i40e_validate_cloud_filter() 3805 int bkt; in i40e_ndo_set_vf_mac() local 3854 hash_for_each_safe(vsi->mac_filter_hash, bkt, h, f, hlist) in i40e_ndo_set_vf_mac()
|
D | i40e_main.c | 1216 int bkt, new_vlan; in i40e_correct_mac_vlan_filters() local 1243 hash_for_each_safe(vsi->mac_filter_hash, bkt, h, f, hlist) { in i40e_correct_mac_vlan_filters() 1455 int bkt; in i40e_add_mac_filter() local 1464 hash_for_each_safe(vsi->mac_filter_hash, bkt, h, f, hlist) { in i40e_add_mac_filter() 1490 int bkt; in i40e_del_mac_filter() local 1494 hash_for_each_safe(vsi->mac_filter_hash, bkt, h, f, hlist) { in i40e_del_mac_filter() 2251 int bkt; in i40e_sync_vsi_filters() local 2281 hash_for_each_safe(vsi->mac_filter_hash, bkt, h, f, hlist) { in i40e_sync_vsi_filters() 2458 hash_for_each(vsi->mac_filter_hash, bkt, f, hlist) { in i40e_sync_vsi_filters() 2720 int bkt; in i40e_add_vlan_all_mac() local [all …]
|
D | i40e_debugfs.c | 114 int i, bkt; in i40e_dbg_dump_vsi_seid() local 149 hash_for_each(vsi->mac_filter_hash, bkt, f, hlist) { in i40e_dbg_dump_vsi_seid()
|
/Linux-v4.19/kernel/ |
D | workqueue.c | 4459 int bkt; in show_pwq() local 4467 hash_for_each(pool->busy_hash, bkt, worker, hentry) { in show_pwq() 4477 hash_for_each(pool->busy_hash, bkt, worker, hentry) { in show_pwq() 5771 int cpu, bkt; in workqueue_init() local 5809 hash_for_each(unbound_pool_hash, bkt, pool, hash_node) in workqueue_init()
|
/Linux-v4.19/drivers/staging/netlogic/ |
D | xlr_net.c | 124 static void xlr_net_fmn_handler(int bkt, int src_stnid, int size, int code, in xlr_net_fmn_handler() argument
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tc.c | 2958 int bkt; in mlx5e_tc_hairpin_update_dead_peer() local 2965 hash_for_each(priv->fs.tc.hairpin_tbl, bkt, hpe, hairpin_hlist) { in mlx5e_tc_hairpin_update_dead_peer()
|