Home
last modified time | relevance | path

Searched refs:bkt (Results 1 – 16 of 16) sorted by relevance

/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_internal.h280 #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)
Dopa_vnic_encap.c107 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/misc/
Duid_sys_stats.c92 static inline void lock_uid_by_bkt(u32 bkt) in lock_uid_by_bkt() argument
94 spin_lock(&uid_lock[bkt]); in lock_uid_by_bkt()
97 static inline void unlock_uid_by_bkt(u32 bkt) in unlock_uid_by_bkt() argument
99 spin_unlock(&uid_lock[bkt]); in unlock_uid_by_bkt()
201 u32 bkt; in uid_cputime_show() local
203 for (bkt = 0, uid_entry = NULL; uid_entry == NULL && in uid_cputime_show()
204 bkt < HASH_SIZE(hash_table); bkt++) { in uid_cputime_show()
206 lock_uid_by_bkt(bkt); in uid_cputime_show()
207 hlist_for_each_entry(uid_entry, &hash_table[bkt], hash) { in uid_cputime_show()
215 unlock_uid_by_bkt(bkt); in uid_cputime_show()
[all …]
/drivers/s390/crypto/
Dap_card.c80 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()
Dap_bus.c457 int bkt; in ap_tasklet_fn() local
469 hash_for_each(ap_queues, bkt, aq, hnode) { in ap_tasklet_fn()
481 int bkt; in ap_pending_requests() local
485 hash_for_each(ap_queues, bkt, aq, hnode) { in ap_pending_requests()
921 int bkt; in ap_get_qdev() local
925 hash_for_each(ap_queues, bkt, aq, hnode) { in ap_get_qdev()
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dqos.c384 int bkt, err; in mlx5e_qos_open_queues() local
393 hash_for_each(priv->htb.qos_tc2node, bkt, node, hnode) { in mlx5e_qos_open_queues()
409 int bkt; in mlx5e_qos_activate_queues() local
411 hash_for_each(priv->htb.qos_tc2node, bkt, node, hnode) { in mlx5e_qos_activate_queues()
708 int bkt; in mlx5e_sw_node_find_by_qid() local
710 hash_for_each(priv->htb.qos_tc2node, bkt, node, hnode) in mlx5e_sw_node_find_by_qid()
917 int bkt; in mlx5e_qos_update_children() local
919 hash_for_each(priv->htb.qos_tc2node, bkt, child, hnode) { in mlx5e_qos_update_children()
/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dvxlan.c184 int bkt; in mlx5_vxlan_reset_to_default() local
189 hash_for_each_safe(vxlan->htable, bkt, tmp, vxlanp, hlist) { in mlx5_vxlan_reset_to_default()
/drivers/net/ethernet/rocker/
Drocker_ofdpa.c1952 int bkt; in ofdpa_port_fdb_flush() local
1963 hash_for_each_safe(ofdpa->fdb_tbl, bkt, tmp, found, entry) { in ofdpa_port_fdb_flush()
1993 int bkt; in ofdpa_fdb_cleanup() local
1997 hash_for_each_safe(ofdpa->fdb_tbl, bkt, tmp, entry, entry) { in ofdpa_fdb_cleanup()
2386 int bkt; in ofdpa_fini() local
2392 hash_for_each_safe(ofdpa->flow_tbl, bkt, tmp, flow_entry, entry) in ofdpa_fini()
2397 hash_for_each_safe(ofdpa->group_tbl, bkt, tmp, group_entry, entry) in ofdpa_fini()
2402 hash_for_each_safe(ofdpa->fdb_tbl, bkt, tmp, fdb_entry, entry) in ofdpa_fini()
2407 hash_for_each_safe(ofdpa->internal_vlan_tbl, bkt, in ofdpa_fini()
2413 hash_for_each_safe(ofdpa->neigh_tbl, bkt, tmp, neigh_entry, entry) in ofdpa_fini()
[all …]
/drivers/media/test-drivers/vidtv/
Dvidtv_mux.c68 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/
Di40e_virtchnl_pf.c1206 u16 num_vlans = 0, bkt; in __i40e_getnum_vf_vsi_vlan_filters() local
1208 hash_for_each(vsi->mac_filter_hash, bkt, f, hlist) { in __i40e_getnum_vf_vsi_vlan_filters()
1247 int bkt; in i40e_get_vlan_list_sync() local
1255 hash_for_each(vsi->mac_filter_hash, bkt, f, hlist) { in i40e_get_vlan_list_sync()
3054 int bkt; in i40e_vc_del_mac_addr_msg() local
3058 hash_for_each_safe(vsi->mac_filter_hash, bkt, h, f, hlist) { in i40e_vc_del_mac_addr_msg()
3462 int bkt; in i40e_validate_cloud_filter() local
3500 hash_for_each_safe(vsi->mac_filter_hash, bkt, h, f, in i40e_validate_cloud_filter()
4267 int bkt; in i40e_ndo_set_vf_mac() local
4320 hash_for_each_safe(vsi->mac_filter_hash, bkt, h, f, hlist) in i40e_ndo_set_vf_mac()
Di40e_main.c1231 int bkt; in i40e_count_filters() local
1234 hash_for_each_safe(vsi->mac_filter_hash, bkt, h, f, hlist) in i40e_count_filters()
1363 int bkt, new_vlan; in i40e_correct_mac_vlan_filters() local
1390 hash_for_each_safe(vsi->mac_filter_hash, bkt, h, f, hlist) { in i40e_correct_mac_vlan_filters()
1508 int bkt, new_vlan; in i40e_correct_vf_mac_vlan_filters() local
1515 hash_for_each_safe(vsi->mac_filter_hash, bkt, h, f, hlist) { in i40e_correct_vf_mac_vlan_filters()
1710 int bkt; in i40e_add_mac_filter() local
1719 hash_for_each_safe(vsi->mac_filter_hash, bkt, h, f, hlist) { in i40e_add_mac_filter()
1745 int bkt; in i40e_del_mac_filter() local
1748 hash_for_each_safe(vsi->mac_filter_hash, bkt, h, f, hlist) { in i40e_del_mac_filter()
[all …]
Di40e_debugfs.c120 int i, bkt; in i40e_dbg_dump_vsi_seid() local
153 hash_for_each(vsi->mac_filter_hash, bkt, f, hlist) { in i40e_dbg_dump_vsi_seid()
/drivers/firmware/arm_scmi/
Dnotify.c1569 int bkt; in scmi_protocols_late_init() local
1580 hash_for_each_safe(ni->pending_events_handlers, bkt, tmp, hndl, hash) { in scmi_protocols_late_init()
/drivers/infiniband/hw/irdma/
Dcm.c215 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()
1811 int bkt; in irdma_reset_list_prep() local
1813 hash_for_each_rcu(cm_core->cm_hash_tbl, bkt, cm_node, list) { in irdma_reset_list_prep()
4051 int bkt; in irdma_teardown_list_prep() local
4053 hash_for_each_rcu(cm_core->cm_hash_tbl, bkt, cm_node, list) { in irdma_teardown_list_prep()
/drivers/staging/netlogic/
Dxlr_net.c96 static void xlr_net_fmn_handler(int bkt, int src_stnid, int size, int code, in xlr_net_fmn_handler() argument
/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c4905 int bkt; in mlx5e_tc_hairpin_update_dead_peer() local
4913 hash_for_each(priv->fs.tc.hairpin_tbl, bkt, hpe, hairpin_hlist) in mlx5e_tc_hairpin_update_dead_peer()