/kernel/linux/linux-5.10/arch/nds32/include/asm/ |
H A D | fpuemu.h | 11 void fadds(void *ft, void *fa, void *fb); 12 void fsubs(void *ft, void *fa, void *fb); 13 void fmuls(void *ft, void *fa, void *fb); 14 void fdivs(void *ft, void *fa, void *fb); 15 void fs2d(void *ft, void *fa); 16 void fs2si(void *ft, void *fa); 17 void fs2si_z(void *ft, void *fa); 18 void fs2ui(void *ft, void *fa); 19 void fs2ui_z(void *ft, void *fa); 20 void fsi2s(void *ft, voi [all...] |
/kernel/linux/linux-5.10/drivers/isdn/mISDN/ |
H A D | fsm.c | 98 struct FsmTimer *ft = from_timer(ft, t, tl); in FsmExpireTimer() local 100 if (ft->fi->debug) in FsmExpireTimer() 101 ft->fi->printdebug(ft->fi, "FsmExpireTimer %lx", (long) ft); in FsmExpireTimer() 103 mISDN_FsmEvent(ft->fi, ft->event, ft->arg); in FsmExpireTimer() 107 mISDN_FsmInitTimer(struct FsmInst *fi, struct FsmTimer *ft) in mISDN_FsmInitTimer() argument 119 mISDN_FsmDelTimer(struct FsmTimer *ft, int where) mISDN_FsmDelTimer() argument 131 mISDN_FsmAddTimer(struct FsmTimer *ft, int millisec, int event, void *arg, int where) mISDN_FsmAddTimer() argument 159 mISDN_FsmRestartTimer(struct FsmTimer *ft, int millisec, int event, void *arg, int where) mISDN_FsmRestartTimer() argument [all...] |
/kernel/linux/linux-6.6/drivers/isdn/mISDN/ |
H A D | fsm.c | 98 struct FsmTimer *ft = from_timer(ft, t, tl); in FsmExpireTimer() local 100 if (ft->fi->debug) in FsmExpireTimer() 101 ft->fi->printdebug(ft->fi, "FsmExpireTimer %lx", (long) ft); in FsmExpireTimer() 103 mISDN_FsmEvent(ft->fi, ft->event, ft->arg); in FsmExpireTimer() 107 mISDN_FsmInitTimer(struct FsmInst *fi, struct FsmTimer *ft) in mISDN_FsmInitTimer() argument 119 mISDN_FsmDelTimer(struct FsmTimer *ft, int where) mISDN_FsmDelTimer() argument 131 mISDN_FsmAddTimer(struct FsmTimer *ft, int millisec, int event, void *arg, int where) mISDN_FsmAddTimer() argument 159 mISDN_FsmRestartTimer(struct FsmTimer *ft, int millisec, int event, void *arg, int where) mISDN_FsmRestartTimer() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | fs_tt_redirect.c | 84 struct mlx5_flow_table *ft = NULL; in mlx5e_fs_tt_redirect_udp_add_rule() local 97 ft = fs_udp->tables[type].t; in mlx5e_fs_tt_redirect_udp_add_rule() 103 rule = mlx5_add_flow_rules(ft, spec, &flow_act, &dest, 1); in mlx5e_fs_tt_redirect_udp_add_rule() 144 static int fs_udp_create_groups(struct mlx5e_flow_table *ft, enum fs_udp_type type) in fs_udp_create_groups() argument 153 ft->g = kcalloc(MLX5E_FS_UDP_NUM_GROUPS, sizeof(*ft->g), GFP_KERNEL); in fs_udp_create_groups() 155 if (!in || !ft->g) { in fs_udp_create_groups() 156 kfree(ft->g); in fs_udp_create_groups() 157 ft->g = NULL; in fs_udp_create_groups() 181 ft in fs_udp_create_groups() 213 struct mlx5e_flow_table *ft; fs_udp_create_table() local 369 struct mlx5_flow_table *ft = NULL; mlx5e_fs_tt_redirect_any_add_rule() local 426 fs_any_create_groups(struct mlx5e_flow_table *ft) fs_any_create_groups() argument 482 struct mlx5e_flow_table *ft = &fs_any->table; fs_any_create_table() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_fs.c | 166 struct mlx5_flow_table *ft = priv->fs.vlan.ft.t; in __mlx5e_add_vlan_rule() local 173 dest.ft = priv->fs.l2.ft.t; in __mlx5e_add_vlan_rule() 224 *rule_p = mlx5_add_flow_rules(ft, spec, &flow_act, &dest, 1); in __mlx5e_add_vlan_rule() 652 static void mlx5e_destroy_groups(struct mlx5e_flow_table *ft) in mlx5e_destroy_groups() argument 656 for (i = ft->num_groups - 1; i >= 0; i--) { in mlx5e_destroy_groups() 657 if (!IS_ERR_OR_NULL(ft->g[i])) in mlx5e_destroy_groups() 658 mlx5_destroy_flow_group(ft->g[i]); in mlx5e_destroy_groups() 659 ft in mlx5e_destroy_groups() 669 mlx5e_destroy_flow_table(struct mlx5e_flow_table *ft) mlx5e_destroy_flow_table() argument 818 mlx5e_generate_ttc_rule(struct mlx5e_priv *priv, struct mlx5_flow_table *ft, struct mlx5_flow_destination *dest, u16 etype, u8 proto) mlx5e_generate_ttc_rule() argument 869 struct mlx5_flow_table *ft; mlx5e_generate_ttc_table_rules() local 927 struct mlx5e_flow_table *ft = &ttc->ft; mlx5e_create_ttc_table_groups() local 992 mlx5e_generate_inner_ttc_rule(struct mlx5e_priv *priv, struct mlx5_flow_table *ft, struct mlx5_flow_destination *dest, u16 etype, u8 proto) mlx5e_generate_inner_ttc_rule() argument 1036 struct mlx5_flow_table *ft; mlx5e_generate_inner_ttc_table_rules() local 1074 struct mlx5e_flow_table *ft = &ttc->ft; mlx5e_create_inner_ttc_table_groups() local 1163 struct mlx5e_flow_table *ft = &ttc->ft; mlx5e_create_inner_ttc_table() local 1212 struct mlx5e_flow_table *ft = &ttc->ft; mlx5e_create_ttc_table() local 1272 struct mlx5_flow_table *ft = priv->fs.l2.ft.t; mlx5e_add_l2_flow_rule() local 1332 struct mlx5e_flow_table *ft = &l2_table->ft; mlx5e_create_l2_table_groups() local 1403 struct mlx5e_flow_table *ft = &l2_table->ft; mlx5e_create_l2_table() local 1443 __mlx5e_create_vlan_table_groups(struct mlx5e_flow_table *ft, u32 *in, int inlen) __mlx5e_create_vlan_table_groups() argument 1506 mlx5e_create_vlan_table_groups(struct mlx5e_flow_table *ft) mlx5e_create_vlan_table_groups() argument 1524 struct mlx5e_flow_table *ft = &priv->fs.vlan.ft; mlx5e_create_vlan_table() local [all...] |
H A D | fs_core.c | 462 struct mlx5_flow_table *ft; in del_hw_flow_table() local 466 fs_get_obj(ft, node); in del_hw_flow_table() 467 dev = get_dev(&ft->node); in del_hw_flow_table() 468 root = find_root(&ft->node); in del_hw_flow_table() 469 trace_mlx5_fs_del_ft(ft); in del_hw_flow_table() 472 err = root->cmds->destroy_flow_table(root, ft); in del_hw_flow_table() 474 mlx5_core_warn(dev, "flow steering can't destroy ft\n"); in del_hw_flow_table() 480 struct mlx5_flow_table *ft; in del_sw_flow_table() local 483 fs_get_obj(ft, node); in del_sw_flow_table() 485 rhltable_destroy(&ft in del_sw_flow_table() 496 struct mlx5_flow_table *ft; modify_fte() local 556 struct mlx5_flow_table *ft; del_hw_fte() local 601 struct mlx5_flow_table *ft; del_hw_flow_group() local 619 struct mlx5_flow_table *ft; del_sw_flow_group() local 663 alloc_fte(struct mlx5_flow_table *ft, const struct mlx5_flow_spec *spec, struct mlx5_flow_act *flow_act) alloc_fte() argument 721 alloc_insert_flow_group(struct mlx5_flow_table *ft, u8 match_criteria_enable, const void *match_criteria, int start_index, int end_index, struct list_head *prev) alloc_insert_flow_group() argument 760 struct mlx5_flow_table *ft; alloc_flow_table() local 803 struct mlx5_flow_table *ft = NULL; find_closest_ft_recursive() local 845 struct mlx5_flow_table *ft = NULL; find_closest_ft() local 875 find_next_fwd_ft(struct mlx5_flow_table *ft, struct mlx5_flow_act *flow_act) find_next_fwd_ft() argument 887 connect_fts_in_prio(struct mlx5_core_dev *dev, struct fs_prio *prio, struct mlx5_flow_table *ft) connect_fts_in_prio() argument 913 struct mlx5_flow_table *ft; find_closet_ft_prio_chains() local 924 connect_prev_fts(struct mlx5_core_dev *dev, struct mlx5_flow_table *ft, struct fs_prio *prio) connect_prev_fts() argument 959 update_root_ft_create(struct mlx5_flow_table *ft, struct fs_prio *prio) update_root_ft_create() argument 1002 struct mlx5_flow_table *ft; _mlx5_modify_rule_destination() local 1080 connect_flow_table(struct mlx5_core_dev *dev, struct mlx5_flow_table *ft, struct fs_prio *prio) connect_flow_table() argument 1107 list_add_flow_table(struct mlx5_flow_table *ft, struct fs_prio *prio) list_add_flow_table() argument 1130 struct mlx5_flow_table *ft; __mlx5_create_flow_table() local 1247 struct mlx5_flow_table *ft; mlx5_create_auto_grouped_flow_table() local 1268 mlx5_create_flow_group(struct mlx5_flow_table *ft, u32 *fg_in) mlx5_create_flow_group() argument 1419 struct mlx5_flow_table *ft; add_rule_fte() local 1453 alloc_auto_flow_group(struct mlx5_flow_table *ft, const struct mlx5_flow_spec *spec) alloc_auto_flow_group() argument 1500 create_auto_flow_group(struct mlx5_flow_table *ft, struct mlx5_flow_group *fg) create_auto_flow_group() argument 1694 dest_is_valid(struct mlx5_flow_destination *dest, struct mlx5_flow_act *flow_act, struct mlx5_flow_table *ft) dest_is_valid() argument 1741 build_match_list(struct match_list *match_head, struct mlx5_flow_table *ft, const struct mlx5_flow_spec *spec, bool ft_locked) build_match_list() argument 1817 try_add_to_existing_fg(struct mlx5_flow_table *ft, struct list_head *match_head, const struct mlx5_flow_spec *spec, struct mlx5_flow_act *flow_act, struct mlx5_flow_destination *dest, int dest_num, int ft_version) try_add_to_existing_fg() argument 1917 _mlx5_add_flow_rules(struct mlx5_flow_table *ft, const struct mlx5_flow_spec *spec, struct mlx5_flow_act *flow_act, struct mlx5_flow_destination *dest, int dest_num) _mlx5_add_flow_rules() argument 2019 fwd_next_prio_supported(struct mlx5_flow_table *ft) fwd_next_prio_supported() argument 2026 mlx5_add_flow_rules(struct mlx5_flow_table *ft, const struct mlx5_flow_spec *spec, struct mlx5_flow_act *flow_act, struct mlx5_flow_destination *dest, int num_dest) mlx5_add_flow_rules() argument 2130 find_next_ft(struct mlx5_flow_table *ft) find_next_ft() argument 2148 update_root_ft_destroy(struct mlx5_flow_table *ft) update_root_ft_destroy() argument 2194 disconnect_flow_table(struct mlx5_flow_table *ft) disconnect_flow_table() argument 2223 mlx5_destroy_flow_table(struct mlx5_flow_table *ft) mlx5_destroy_flow_table() argument 2609 struct mlx5_flow_table *ft; create_anchor_flow_table() local [all...] |
H A D | fs_cmd.c | 43 struct mlx5_flow_table *ft, in mlx5_cmd_stub_update_root_ft() 51 struct mlx5_flow_table *ft, in mlx5_cmd_stub_create_flow_table() 59 struct mlx5_flow_table *ft) in mlx5_cmd_stub_destroy_flow_table() 65 struct mlx5_flow_table *ft, in mlx5_cmd_stub_modify_flow_table() 72 struct mlx5_flow_table *ft, in mlx5_cmd_stub_create_flow_group() 80 struct mlx5_flow_table *ft, in mlx5_cmd_stub_destroy_flow_group() 87 struct mlx5_flow_table *ft, in mlx5_cmd_stub_create_fte() 95 struct mlx5_flow_table *ft, in mlx5_cmd_stub_update_fte() 104 struct mlx5_flow_table *ft, in mlx5_cmd_stub_delete_fte() 155 struct mlx5_flow_table *ft, u3 in mlx5_cmd_update_root_ft() 42 mlx5_cmd_stub_update_root_ft(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, u32 underlay_qpn, bool disconnect) mlx5_cmd_stub_update_root_ft() argument 50 mlx5_cmd_stub_create_flow_table(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, unsigned int log_size, struct mlx5_flow_table *next_ft) mlx5_cmd_stub_create_flow_table() argument 58 mlx5_cmd_stub_destroy_flow_table(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft) mlx5_cmd_stub_destroy_flow_table() argument 64 mlx5_cmd_stub_modify_flow_table(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_table *next_ft) mlx5_cmd_stub_modify_flow_table() argument 71 mlx5_cmd_stub_create_flow_group(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, u32 *in, struct mlx5_flow_group *fg) mlx5_cmd_stub_create_flow_group() argument 79 mlx5_cmd_stub_destroy_flow_group(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *fg) mlx5_cmd_stub_destroy_flow_group() argument 86 mlx5_cmd_stub_create_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *group, struct fs_fte *fte) mlx5_cmd_stub_create_fte() argument 94 mlx5_cmd_stub_update_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *group, int modify_mask, struct fs_fte *fte) mlx5_cmd_stub_update_fte() argument 103 mlx5_cmd_stub_delete_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct fs_fte *fte) mlx5_cmd_stub_delete_fte() argument 154 mlx5_cmd_update_root_ft(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, u32 underlay_qpn, bool disconnect) mlx5_cmd_update_root_ft() argument 183 mlx5_cmd_create_flow_table(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, unsigned int log_size, struct mlx5_flow_table *next_ft) mlx5_cmd_create_flow_table() argument 245 mlx5_cmd_destroy_flow_table(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft) mlx5_cmd_destroy_flow_table() argument 263 mlx5_cmd_modify_flow_table(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_table *next_ft) mlx5_cmd_modify_flow_table() argument 310 mlx5_cmd_create_flow_group(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, u32 *in, struct mlx5_flow_group *fg) mlx5_cmd_create_flow_group() argument 335 mlx5_cmd_destroy_flow_group(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *fg) mlx5_cmd_destroy_flow_group() argument 391 mlx5_cmd_set_fte(struct mlx5_core_dev *dev, int opmod, int modify_mask, struct mlx5_flow_table *ft, unsigned group_id, struct fs_fte *fte) mlx5_cmd_set_fte() argument 564 mlx5_cmd_create_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *group, struct fs_fte *fte) mlx5_cmd_create_fte() argument 575 mlx5_cmd_update_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *fg, int modify_mask, struct fs_fte *fte) mlx5_cmd_update_fte() argument 593 mlx5_cmd_delete_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct fs_fte *fte) mlx5_cmd_delete_fte() argument [all...] |
H A D | fs_cmd.h | 40 struct mlx5_flow_table *ft, 44 struct mlx5_flow_table *ft); 47 struct mlx5_flow_table *ft, 51 struct mlx5_flow_table *ft, 56 struct mlx5_flow_table *ft, 60 struct mlx5_flow_table *ft, 65 struct mlx5_flow_table *ft, 71 struct mlx5_flow_table *ft, 75 struct mlx5_flow_table *ft,
|
/kernel/linux/linux-5.10/drivers/scsi/fcoe/ |
H A D | fcoe_transport.c | 513 struct fcoe_transport *ft = NULL; in fcoe_transport_lookup() local 515 list_for_each_entry(ft, &fcoe_transports, list) in fcoe_transport_lookup() 516 if (ft->match && ft->match(netdev)) in fcoe_transport_lookup() 517 return ft; in fcoe_transport_lookup() 523 * @ft: The fcoe transport to be attached 527 int fcoe_transport_attach(struct fcoe_transport *ft) in fcoe_transport_attach() argument 532 if (ft->attached) { in fcoe_transport_attach() 534 ft->name); in fcoe_transport_attach() 540 if (strcmp(ft in fcoe_transport_attach() 560 fcoe_transport_detach(struct fcoe_transport *ft) fcoe_transport_detach() argument 600 struct fcoe_transport *ft = NULL; fcoe_transport_show() local 623 struct fcoe_transport *ft; fcoe_transport_exit() local 635 fcoe_add_netdev_mapping(struct net_device *netdev, struct fcoe_transport *ft) fcoe_add_netdev_mapping() argument 685 struct fcoe_transport *ft = NULL; fcoe_netdev_map_lookup() local 751 struct fcoe_transport *ft = NULL; fcoe_ctlr_create_store() local 815 struct fcoe_transport *ft = NULL; fcoe_ctlr_destroy_store() local 864 struct fcoe_transport *ft = NULL; fcoe_transport_create() local 930 struct fcoe_transport *ft = NULL; fcoe_transport_destroy() local 975 struct fcoe_transport *ft = NULL; fcoe_transport_disable() local 1010 struct fcoe_transport *ft = NULL; fcoe_transport_enable() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/fcoe/ |
H A D | fcoe_transport.c | 514 struct fcoe_transport *ft = NULL; in fcoe_transport_lookup() local 516 list_for_each_entry(ft, &fcoe_transports, list) in fcoe_transport_lookup() 517 if (ft->match && ft->match(netdev)) in fcoe_transport_lookup() 518 return ft; in fcoe_transport_lookup() 524 * @ft: The fcoe transport to be attached 528 int fcoe_transport_attach(struct fcoe_transport *ft) in fcoe_transport_attach() argument 533 if (ft->attached) { in fcoe_transport_attach() 535 ft->name); in fcoe_transport_attach() 541 if (strcmp(ft in fcoe_transport_attach() 561 fcoe_transport_detach(struct fcoe_transport *ft) fcoe_transport_detach() argument 601 struct fcoe_transport *ft = NULL; fcoe_transport_show() local 624 struct fcoe_transport *ft; fcoe_transport_exit() local 636 fcoe_add_netdev_mapping(struct net_device *netdev, struct fcoe_transport *ft) fcoe_add_netdev_mapping() argument 686 struct fcoe_transport *ft = NULL; fcoe_netdev_map_lookup() local 751 struct fcoe_transport *ft = NULL; fcoe_ctlr_create_store() local 814 struct fcoe_transport *ft = NULL; fcoe_ctlr_destroy_store() local 863 struct fcoe_transport *ft = NULL; fcoe_transport_create() local 929 struct fcoe_transport *ft = NULL; fcoe_transport_destroy() local 974 struct fcoe_transport *ft = NULL; fcoe_transport_disable() local 1009 struct fcoe_transport *ft = NULL; fcoe_transport_enable() local [all...] |
/kernel/linux/linux-5.10/arch/nds32/math-emu/ |
H A D | fpuemu.c | 19 void fpemu_##name##p(void *ft, void *fa, void *fb) \ 22 f2(ft, ft, fa); \ 26 void fpemu_##name##p(void *ft, void *fa, void *fb) \ 29 f2(ft, ft, fa); \ 30 f3(ft, ft); \ 63 void (*t)(void *ft, void *fa, void *fb); 64 void (*b)(void *ft, voi 271 void *ft, *fa; global() local 279 void *ft, *fa, *fb; global() local 288 void *ft, *fa; global() local 297 void *ft, *fa, *fb; global() local 310 void *ft, *fa; global() local 318 void *ft, *fa, *fb; global() local 327 void *ft, *fa; global() local 336 void *ft, *fa, *fb; global() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | ipsec_fs_roce.c | 15 struct mlx5_flow_table *ft; member 25 struct mlx5_flow_table *ft; member 65 dst.ft = roce->ft_rdma; in ipsec_fs_roce_rx_rule_setup() 66 rule = mlx5_add_flow_rules(roce->ft, spec, &flow_act, &dst, 1); in ipsec_fs_roce_rx_rule_setup() 77 rule = mlx5_add_flow_rules(roce->ft, spec, &flow_act, default_dst, 1); in ipsec_fs_roce_rx_rule_setup() 108 dst.ft = pol_ft; in ipsec_fs_roce_tx_rule_setup() 109 rule = mlx5_add_flow_rules(roce->ft, NULL, &flow_act, &dst, in ipsec_fs_roce_tx_rule_setup() 134 mlx5_destroy_flow_table(tx_roce->ft); in mlx5_ipsec_fs_roce_tx_destroy() 145 struct mlx5_flow_table *ft; in mlx5_ipsec_fs_roce_tx_create() local 161 ft in mlx5_ipsec_fs_roce_tx_create() 240 struct mlx5_flow_table *ft; mlx5_ipsec_fs_roce_rx_create() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_fs.c | 148 struct mlx5e_flow_table ft; member 167 return vlan->ft.t; in mlx5e_vlan_get_flowtable() 223 struct mlx5_flow_table *ft = fs->vlan->ft.t; in __mlx5e_add_vlan_rule() local 230 dest.ft = fs->l2.ft.t; in __mlx5e_add_vlan_rule() 281 *rule_p = mlx5_add_flow_rules(ft, spec, &flow_act, &dest, 1); in __mlx5e_add_vlan_rule() 368 mlx5e_add_trap_rule(struct mlx5_flow_table *ft, int trap_id, int tir_num) in mlx5e_add_trap_rule() argument 383 rule = mlx5_add_flow_rules(ft, spec, &flow_act, &dest, 1); in mlx5e_add_trap_rule() 390 struct mlx5_flow_table *ft in mlx5e_add_vlan_trap() local 415 struct mlx5_flow_table *ft = fs->l2.ft.t; mlx5e_add_mac_trap() local 746 struct mlx5_flow_table *ft = fs->promisc.ft.t; mlx5e_add_promisc_rule() local 772 struct mlx5e_flow_table *ft = &fs->promisc.ft; mlx5e_create_promisc_table() local 866 mlx5e_destroy_groups(struct mlx5e_flow_table *ft) mlx5e_destroy_groups() argument 883 mlx5e_destroy_flow_table(struct mlx5e_flow_table *ft) mlx5e_destroy_flow_table() argument 960 struct mlx5_flow_table *ft = fs->l2.ft.t; mlx5e_add_l2_flow_rule() local 1016 struct mlx5e_flow_table *ft = &l2_table->ft; mlx5e_create_l2_table_groups() local 1088 struct mlx5e_flow_table *ft = &l2_table->ft; mlx5e_create_l2_table() local 1130 __mlx5e_create_vlan_table_groups(struct mlx5e_flow_table *ft, u32 *in, int inlen) __mlx5e_create_vlan_table_groups() argument 1202 mlx5e_create_vlan_table_groups(struct mlx5e_flow_table *ft) mlx5e_create_vlan_table_groups() argument 1221 struct mlx5e_flow_table *ft; mlx5e_fs_create_vlan_table() local [all...] |
H A D | fs_core.c | 564 struct mlx5_flow_table *ft; in del_hw_flow_table() local 568 fs_get_obj(ft, node); in del_hw_flow_table() 569 dev = get_dev(&ft->node); in del_hw_flow_table() 570 root = find_root(&ft->node); in del_hw_flow_table() 571 trace_mlx5_fs_del_ft(ft); in del_hw_flow_table() 574 err = root->cmds->destroy_flow_table(root, ft); in del_hw_flow_table() 576 mlx5_core_warn(dev, "flow steering can't destroy ft\n"); in del_hw_flow_table() 582 struct mlx5_flow_table *ft; in del_sw_flow_table() local 585 fs_get_obj(ft, node); in del_sw_flow_table() 587 rhltable_destroy(&ft in del_sw_flow_table() 598 struct mlx5_flow_table *ft; modify_fte() local 664 struct mlx5_flow_table *ft; del_hw_fte() local 710 struct mlx5_flow_table *ft; del_hw_flow_group() local 728 struct mlx5_flow_table *ft; del_sw_flow_group() local 772 alloc_fte(struct mlx5_flow_table *ft, const struct mlx5_flow_spec *spec, struct mlx5_flow_act *flow_act) alloc_fte() argument 830 alloc_insert_flow_group(struct mlx5_flow_table *ft, u8 match_criteria_enable, const void *match_criteria, int start_index, int end_index, struct list_head *prev) alloc_insert_flow_group() argument 869 struct mlx5_flow_table *ft; alloc_flow_table() local 911 struct mlx5_flow_table *ft = NULL; find_closest_ft_recursive() local 953 struct mlx5_flow_table *ft = NULL; find_closest_ft() local 983 find_next_fwd_ft(struct mlx5_flow_table *ft, struct mlx5_flow_act *flow_act) find_next_fwd_ft() argument 995 connect_fts_in_prio(struct mlx5_core_dev *dev, struct fs_prio *prio, struct mlx5_flow_table *ft) connect_fts_in_prio() argument 1021 struct mlx5_flow_table *ft; find_closet_ft_prio_chains() local 1032 connect_prev_fts(struct mlx5_core_dev *dev, struct mlx5_flow_table *ft, struct fs_prio *prio) connect_prev_fts() argument 1067 update_root_ft_create(struct mlx5_flow_table *ft, struct fs_prio *prio) update_root_ft_create() argument 1110 struct mlx5_flow_table *ft; _mlx5_modify_rule_destination() local 1188 connect_flow_table(struct mlx5_core_dev *dev, struct mlx5_flow_table *ft, struct fs_prio *prio) connect_flow_table() argument 1215 list_add_flow_table(struct mlx5_flow_table *ft, struct fs_prio *prio) list_add_flow_table() argument 1238 struct mlx5_flow_table *ft; __mlx5_create_flow_table() local 1321 mlx5_flow_table_id(struct mlx5_flow_table *ft) mlx5_flow_table_id() argument 1355 struct mlx5_flow_table *ft; mlx5_create_auto_grouped_flow_table() local 1386 mlx5_create_flow_group(struct mlx5_flow_table *ft, u32 *fg_in) mlx5_create_flow_group() argument 1543 struct mlx5_flow_table *ft; add_rule_fte() local 1577 alloc_auto_flow_group(struct mlx5_flow_table *ft, const struct mlx5_flow_spec *spec) alloc_auto_flow_group() argument 1624 create_auto_flow_group(struct mlx5_flow_table *ft, struct mlx5_flow_group *fg) create_auto_flow_group() argument 1827 dest_is_valid(struct mlx5_flow_destination *dest, struct mlx5_flow_act *flow_act, struct mlx5_flow_table *ft) dest_is_valid() argument 1875 build_match_list(struct match_list *match_head, struct mlx5_flow_table *ft, const struct mlx5_flow_spec *spec, struct mlx5_flow_group *fg, bool ft_locked) build_match_list() argument 1954 try_add_to_existing_fg(struct mlx5_flow_table *ft, struct list_head *match_head, const struct mlx5_flow_spec *spec, struct mlx5_flow_act *flow_act, struct mlx5_flow_destination *dest, int dest_num, int ft_version) try_add_to_existing_fg() argument 2054 _mlx5_add_flow_rules(struct mlx5_flow_table *ft, const struct mlx5_flow_spec *spec, struct mlx5_flow_act *flow_act, struct mlx5_flow_destination *dest, int dest_num) _mlx5_add_flow_rules() argument 2162 fwd_next_prio_supported(struct mlx5_flow_table *ft) fwd_next_prio_supported() argument 2169 mlx5_add_flow_rules(struct mlx5_flow_table *ft, const struct mlx5_flow_spec *spec, struct mlx5_flow_act *flow_act, struct mlx5_flow_destination *dest, int num_dest) mlx5_add_flow_rules() argument 2273 find_next_ft(struct mlx5_flow_table *ft) find_next_ft() argument 2291 update_root_ft_destroy(struct mlx5_flow_table *ft) update_root_ft_destroy() argument 2337 disconnect_flow_table(struct mlx5_flow_table *ft) disconnect_flow_table() argument 2366 mlx5_destroy_flow_table(struct mlx5_flow_table *ft) mlx5_destroy_flow_table() argument 2803 struct mlx5_flow_table *ft; create_anchor_flow_table() local [all...] |
H A D | fs_cmd.c | 44 struct mlx5_flow_table *ft, in mlx5_cmd_stub_update_root_ft() 52 struct mlx5_flow_table *ft, in mlx5_cmd_stub_create_flow_table() 58 ft->max_fte = max_fte ? roundup_pow_of_two(max_fte) : 1; in mlx5_cmd_stub_create_flow_table() 64 struct mlx5_flow_table *ft) in mlx5_cmd_stub_destroy_flow_table() 70 struct mlx5_flow_table *ft, in mlx5_cmd_stub_modify_flow_table() 77 struct mlx5_flow_table *ft, in mlx5_cmd_stub_create_flow_group() 85 struct mlx5_flow_table *ft, in mlx5_cmd_stub_destroy_flow_group() 92 struct mlx5_flow_table *ft, in mlx5_cmd_stub_create_fte() 100 struct mlx5_flow_table *ft, in mlx5_cmd_stub_update_fte() 109 struct mlx5_flow_table *ft, in mlx5_cmd_stub_delete_fte() 43 mlx5_cmd_stub_update_root_ft(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, u32 underlay_qpn, bool disconnect) mlx5_cmd_stub_update_root_ft() argument 51 mlx5_cmd_stub_create_flow_table(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_table_attr *ft_attr, struct mlx5_flow_table *next_ft) mlx5_cmd_stub_create_flow_table() argument 63 mlx5_cmd_stub_destroy_flow_table(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft) mlx5_cmd_stub_destroy_flow_table() argument 69 mlx5_cmd_stub_modify_flow_table(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_table *next_ft) mlx5_cmd_stub_modify_flow_table() argument 76 mlx5_cmd_stub_create_flow_group(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, u32 *in, struct mlx5_flow_group *fg) mlx5_cmd_stub_create_flow_group() argument 84 mlx5_cmd_stub_destroy_flow_group(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *fg) mlx5_cmd_stub_destroy_flow_group() argument 91 mlx5_cmd_stub_create_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *group, struct fs_fte *fte) mlx5_cmd_stub_create_fte() argument 99 mlx5_cmd_stub_update_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *group, int modify_mask, struct fs_fte *fte) mlx5_cmd_stub_update_fte() argument 108 mlx5_cmd_stub_delete_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct fs_fte *fte) mlx5_cmd_stub_delete_fte() argument 211 mlx5_cmd_update_root_ft(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, u32 underlay_qpn, bool disconnect) mlx5_cmd_update_root_ft() argument 276 mlx5_cmd_create_flow_table(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_table_attr *ft_attr, struct mlx5_flow_table *next_ft) mlx5_cmd_create_flow_table() argument 348 mlx5_cmd_destroy_flow_table(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft) mlx5_cmd_destroy_flow_table() argument 370 mlx5_cmd_modify_flow_table(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_table *next_ft) mlx5_cmd_modify_flow_table() argument 415 mlx5_cmd_create_flow_group(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, u32 *in, struct mlx5_flow_group *fg) mlx5_cmd_create_flow_group() argument 438 mlx5_cmd_destroy_flow_group(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *fg) mlx5_cmd_destroy_flow_group() argument 518 mlx5_cmd_set_fte(struct mlx5_core_dev *dev, int opmod, int modify_mask, struct mlx5_flow_table *ft, unsigned group_id, struct fs_fte *fte) mlx5_cmd_set_fte() argument 749 mlx5_cmd_create_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *group, struct fs_fte *fte) mlx5_cmd_create_fte() argument 760 mlx5_cmd_update_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *fg, int modify_mask, struct fs_fte *fte) mlx5_cmd_update_fte() argument 778 mlx5_cmd_delete_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct fs_fte *fte) mlx5_cmd_delete_fte() argument [all...] |
H A D | en_arfs.c | 43 struct mlx5e_flow_table ft; member 162 dest.ft = arfs->arfs_tables[i].ft.t; in mlx5e_arfs_enable() 178 mlx5e_destroy_flow_table(&arfs_t->ft); in arfs_destroy_table() 189 if (!IS_ERR_OR_NULL(arfs->arfs_tables[i].ft.t)) in _mlx5e_cleanup_tables() 228 arfs_t->default_rule = mlx5_add_flow_rules(arfs_t->ft.t, NULL, in arfs_add_default_rule() 245 static int arfs_create_groups(struct mlx5e_flow_table *ft, in arfs_create_groups() argument 255 ft->g = kcalloc(MLX5E_ARFS_NUM_GROUPS, in arfs_create_groups() 256 sizeof(*ft->g), GFP_KERNEL); in arfs_create_groups() 257 if (!ft in arfs_create_groups() 346 struct mlx5e_flow_table *ft = &arfs->arfs_tables[type].ft; arfs_create_table() local 513 struct mlx5_flow_table *ft; arfs_add_rule() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | fs_tcp.c | 79 struct mlx5e_flow_table *ft = NULL; in mlx5e_accel_fs_add_sk() local 96 ft = &fs_tcp->tables[ACCEL_FS_IPV4_TCP]; in mlx5e_accel_fs_add_sk() 108 ft = &fs_tcp->tables[ACCEL_FS_IPV4_TCP]; in mlx5e_accel_fs_add_sk() 111 ft = &fs_tcp->tables[ACCEL_FS_IPV6_TCP]; in mlx5e_accel_fs_add_sk() 119 if (!ft) { in mlx5e_accel_fs_add_sk() 140 flow = mlx5_add_flow_rules(ft->t, spec, &flow_act, &dest, 1); in mlx5e_accel_fs_add_sk() 183 static int accel_fs_tcp_create_groups(struct mlx5e_flow_table *ft, in accel_fs_tcp_create_groups() argument 193 ft->g = kcalloc(MLX5E_ACCEL_FS_TCP_NUM_GROUPS, sizeof(*ft->g), GFP_KERNEL); in accel_fs_tcp_create_groups() 195 if (!in || !ft in accel_fs_tcp_create_groups() 271 struct mlx5e_flow_table *ft = &priv->fs.accel_tcp->tables[type]; accel_fs_tcp_create_table() local [all...] |
H A D | ipsec_fs.c | 18 struct mlx5_flow_table *ft; member 24 struct mlx5_flow_table *ft; member 38 struct mlx5_flow_table *ft; member 89 fte = mlx5_add_flow_rules(rx_err->ft, spec, &flow_act, in rx_err_add_rule() 126 if (rx_err->ft) { in rx_err_destroy_ft() 127 mlx5_destroy_flow_table(rx_err->ft); in rx_err_destroy_ft() 128 rx_err->ft = NULL; in rx_err_destroy_ft() 137 struct mlx5_flow_table *ft; in rx_err_create_ft() local 144 ft = mlx5_create_auto_grouped_flow_table(priv->fs.ns, &ft_attr); in rx_err_create_ft() 145 if (IS_ERR(ft)) { in rx_err_create_ft() 191 struct mlx5_flow_table *ft; rx_fs_create() local 337 struct mlx5_flow_table *ft; tx_create() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | fs_tcp.c | 80 struct mlx5e_flow_table *ft = NULL; in mlx5e_accel_fs_add_sk() local 94 ft = &fs_tcp->tables[ACCEL_FS_IPV4_TCP]; in mlx5e_accel_fs_add_sk() 106 ft = &fs_tcp->tables[ACCEL_FS_IPV4_TCP]; in mlx5e_accel_fs_add_sk() 109 ft = &fs_tcp->tables[ACCEL_FS_IPV6_TCP]; in mlx5e_accel_fs_add_sk() 117 if (!ft) { in mlx5e_accel_fs_add_sk() 138 flow = mlx5_add_flow_rules(ft->t, spec, &flow_act, &dest, 1); in mlx5e_accel_fs_add_sk() 179 static int accel_fs_tcp_create_groups(struct mlx5e_flow_table *ft, in accel_fs_tcp_create_groups() argument 189 ft->g = kcalloc(MLX5E_ACCEL_FS_TCP_NUM_GROUPS, sizeof(*ft->g), GFP_KERNEL); in accel_fs_tcp_create_groups() 191 if (!in || !ft in accel_fs_tcp_create_groups() 269 struct mlx5e_flow_table *ft = &accel_tcp->tables[type]; accel_fs_tcp_create_table() local [all...] |
H A D | ipsec_fs.c | 25 struct mlx5e_ipsec_ft ft; member 69 struct mlx5_flow_table *ft; in ipsec_chains_create() local 84 ft = mlx5_chains_get_table(chains, 0, 1, 0); in ipsec_chains_create() 85 if (IS_ERR(ft)) { in ipsec_chains_create() 86 err = PTR_ERR(ft); in ipsec_chains_create() 90 *root_ft = ft; in ipsec_chains_create() 156 struct mlx5_flow_table *ft = rx->ft.status; in ipsec_rx_status_drop_create() local 174 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, ft->max_fte - 1); in ipsec_rx_status_drop_create() 175 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, ft in ipsec_rx_status_drop_create() 291 ipsec_miss_create(struct mlx5_core_dev *mdev, struct mlx5_flow_table *ft, struct mlx5e_ipsec_miss *miss, struct mlx5_flow_destination *dest) ipsec_miss_create() argument 395 struct mlx5_flow_table *ft; ipsec_rx_status_pass_dest_get() local 433 struct mlx5_flow_table *ft; rx_create() local 578 struct mlx5_flow_table *ft; rx_ft_get_policy() local 702 struct mlx5_flow_table *ft; tx_create() local 792 ipsec_esw_tx_ft_policy_set(struct mlx5_core_dev *mdev, struct mlx5_flow_table *ft) ipsec_esw_tx_ft_policy_set() argument 856 struct mlx5_flow_table *ft; tx_ft_get_policy() local 1525 struct mlx5_flow_table *ft; tx_add_policy() local 1609 struct mlx5_flow_table *ft; rx_add_policy() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | fs_dr.c | 19 struct mlx5_flow_table *ft, in mlx5_cmd_dr_update_root_ft() 23 return mlx5_fs_cmd_get_fw_cmds()->update_root_ft(ns, ft, underlay_qpn, in mlx5_cmd_dr_update_root_ft() 28 struct mlx5_flow_table *ft, in set_miss_action() 42 old_miss_action = ft->fs_dr_table.miss_action; in set_miss_action() 43 err = mlx5dr_table_set_miss_action(ft->fs_dr_table.dr_table, action); in set_miss_action() 51 ft->fs_dr_table.miss_action = action; in set_miss_action() 63 struct mlx5_flow_table *ft, in mlx5_cmd_dr_create_flow_table() 71 if (mlx5_dr_is_fw_table(ft->flags)) in mlx5_cmd_dr_create_flow_table() 72 return mlx5_fs_cmd_get_fw_cmds()->create_flow_table(ns, ft, in mlx5_cmd_dr_create_flow_table() 75 flags = ft in mlx5_cmd_dr_create_flow_table() 18 mlx5_cmd_dr_update_root_ft(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, u32 underlay_qpn, bool disconnect) mlx5_cmd_dr_update_root_ft() argument 27 set_miss_action(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_table *next_ft) set_miss_action() argument 62 mlx5_cmd_dr_create_flow_table(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, unsigned int log_size, struct mlx5_flow_table *next_ft) mlx5_cmd_dr_create_flow_table() argument 102 mlx5_cmd_dr_destroy_flow_table(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft) mlx5_cmd_dr_destroy_flow_table() argument 129 mlx5_cmd_dr_modify_flow_table(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_table *next_ft) mlx5_cmd_dr_modify_flow_table() argument 136 mlx5_cmd_dr_create_flow_group(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, u32 *in, struct mlx5_flow_group *fg) mlx5_cmd_dr_create_flow_group() argument 170 mlx5_cmd_dr_destroy_flow_group(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *fg) mlx5_cmd_dr_destroy_flow_group() argument 220 mlx5_cmd_dr_create_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *group, struct fs_fte *fte) mlx5_cmd_dr_create_fte() argument 600 mlx5_cmd_dr_update_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *group, int modify_mask, struct fs_fte *fte) mlx5_cmd_dr_update_fte() argument 609 mlx5_cmd_dr_delete_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct fs_fte *fte) mlx5_cmd_dr_delete_fte() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | post_meter.c | 12 struct mlx5_flow_table *ft; member 21 struct mlx5_flow_table *ft; member 43 return post_meter->rate_steering_table.ft; in mlx5e_post_meter_get_ft() 49 return post_meter->mtu_tables.green_table.ft; in mlx5e_post_meter_get_mtu_true_ft() 55 return post_meter->mtu_tables.red_table.ft; in mlx5e_post_meter_get_mtu_false_ft() 102 table->fg = mlx5_create_flow_group(table->ft, flow_group_in); in mlx5e_post_meter_rate_fg_create() 165 red_attr->ft = post_meter->rate_steering_table.ft; in mlx5e_post_meter_rate_rules_create() 178 green_attr->ft = post_meter->rate_steering_table.ft; in mlx5e_post_meter_rate_rules_create() 258 struct mlx5_flow_table *ft; mlx5e_post_meter_rate_create() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | fs_dr.c | 12 static bool dr_is_fw_term_table(struct mlx5_flow_table *ft) in dr_is_fw_term_table() argument 14 if (ft->flags & MLX5_FLOW_TABLE_TERMINATION) in dr_is_fw_term_table() 21 struct mlx5_flow_table *ft, in mlx5_cmd_dr_update_root_ft() 25 return mlx5_fs_cmd_get_fw_cmds()->update_root_ft(ns, ft, underlay_qpn, in mlx5_cmd_dr_update_root_ft() 30 struct mlx5_flow_table *ft, in set_miss_action() 44 old_miss_action = ft->fs_dr_table.miss_action; in set_miss_action() 45 err = mlx5dr_table_set_miss_action(ft->fs_dr_table.dr_table, action); in set_miss_action() 53 ft->fs_dr_table.miss_action = action; in set_miss_action() 65 struct mlx5_flow_table *ft, in mlx5_cmd_dr_create_flow_table() 73 if (dr_is_fw_term_table(ft)) in mlx5_cmd_dr_create_flow_table() 20 mlx5_cmd_dr_update_root_ft(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, u32 underlay_qpn, bool disconnect) mlx5_cmd_dr_update_root_ft() argument 29 set_miss_action(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_table *next_ft) set_miss_action() argument 64 mlx5_cmd_dr_create_flow_table(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_table_attr *ft_attr, struct mlx5_flow_table *next_ft) mlx5_cmd_dr_create_flow_table() argument 107 mlx5_cmd_dr_destroy_flow_table(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft) mlx5_cmd_dr_destroy_flow_table() argument 134 mlx5_cmd_dr_modify_flow_table(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_table *next_ft) mlx5_cmd_dr_modify_flow_table() argument 144 mlx5_cmd_dr_create_flow_group(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, u32 *in, struct mlx5_flow_group *fg) mlx5_cmd_dr_create_flow_group() argument 178 mlx5_cmd_dr_destroy_flow_group(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *fg) mlx5_cmd_dr_destroy_flow_group() argument 253 mlx5_cmd_dr_create_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *group, struct fs_fte *fte) mlx5_cmd_dr_create_fte() argument 728 mlx5_cmd_dr_delete_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct fs_fte *fte) mlx5_cmd_dr_delete_fte() argument 752 mlx5_cmd_dr_update_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *group, int modify_mask, struct fs_fte *fte) mlx5_cmd_dr_update_fte() argument [all...] |
/kernel/linux/linux-6.6/fs/smb/server/ |
H A D | vfs_cache.c | 287 static void __ksmbd_remove_fd(struct ksmbd_file_table *ft, struct ksmbd_file *fp) in __ksmbd_remove_fd() argument 296 write_lock(&ft->lock); in __ksmbd_remove_fd() 297 idr_remove(ft->idr, fp->volatile_id); in __ksmbd_remove_fd() 298 write_unlock(&ft->lock); in __ksmbd_remove_fd() 301 static void __ksmbd_close_fd(struct ksmbd_file_table *ft, struct ksmbd_file *fp) in __ksmbd_close_fd() argument 308 __ksmbd_remove_fd(ft, fp); in __ksmbd_close_fd() 345 static struct ksmbd_file *__ksmbd_lookup_fd(struct ksmbd_file_table *ft, in __ksmbd_lookup_fd() argument 353 read_lock(&ft->lock); in __ksmbd_lookup_fd() 354 fp = idr_find(ft->idr, id); in __ksmbd_lookup_fd() 357 read_unlock(&ft in __ksmbd_lookup_fd() 383 struct ksmbd_file_table *ft; ksmbd_close_fd() local 529 __open_id(struct ksmbd_file_table *ft, struct ksmbd_file *fp, int type) __open_id() argument 607 ksmbd_update_fstate(struct ksmbd_file_table *ft, struct ksmbd_file *fp, unsigned int state) ksmbd_update_fstate() argument 619 __close_file_table_ids(struct ksmbd_file_table *ft, struct ksmbd_tree_connect *tcon, bool (*skip)(struct ksmbd_tree_connect *tcon, struct ksmbd_file *fp)) __close_file_table_ids() argument 690 ksmbd_init_file_table(struct ksmbd_file_table *ft) ksmbd_init_file_table() argument 701 ksmbd_destroy_file_table(struct ksmbd_file_table *ft) ksmbd_destroy_file_table() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_ct.c | 59 spinlock_t ht_lock; /* protects ft entries */ 67 struct mlx5_ct_ft *ft; member 80 struct mlx5_flow_table *ft; member 741 attr->ft = nat ? ct_priv->ct_nat : ct_priv->ct; in mlx5_tc_ct_entry_add_rule() 979 mlx5_tc_ct_block_flow_offload_add(struct mlx5_ct_ft *ft, in mlx5_tc_ct_block_flow_offload_add() argument 983 struct mlx5_tc_ct_priv *ct_priv = ft->ct_priv; in mlx5_tc_ct_block_flow_offload_add() 994 entry = rhashtable_lookup_fast(&ft->ct_entries_ht, &cookie, cts_ht_params); in mlx5_tc_ct_block_flow_offload_add() 1006 entry->tuple.zone = ft->zone; in mlx5_tc_ct_block_flow_offload_add() 1023 err = rhashtable_lookup_insert_fast(&ft->ct_entries_ht, &entry->node, in mlx5_tc_ct_block_flow_offload_add() 1044 ft in mlx5_tc_ct_block_flow_offload_add() 1076 mlx5_tc_ct_block_flow_offload_del(struct mlx5_ct_ft *ft, struct flow_cls_offload *flow) mlx5_tc_ct_block_flow_offload_del() argument 1105 mlx5_tc_ct_block_flow_offload_stats(struct mlx5_ct_ft *ft, struct flow_cls_offload *f) mlx5_tc_ct_block_flow_offload_stats() argument 1140 struct mlx5_ct_ft *ft = cb_priv; mlx5_tc_ct_block_flow_offload() local 1336 struct mlx5_flow_table *ft = pre_ct->ft; tc_ct_pre_ct_add_rules() local 1439 struct mlx5_flow_table *ft; mlx5_tc_ct_alloc_pre_ct() local 1536 mlx5_tc_ct_alloc_pre_ct_tables(struct mlx5_ct_ft *ft) mlx5_tc_ct_alloc_pre_ct_tables() argument 1556 mlx5_tc_ct_free_pre_ct_tables(struct mlx5_ct_ft *ft) mlx5_tc_ct_free_pre_ct_tables() argument 1566 struct mlx5_ct_ft *ft; mlx5_tc_ct_add_ft_cb() local 1630 mlx5_tc_ct_del_ft_cb(struct mlx5_tc_ct_priv *ct_priv, struct mlx5_ct_ft *ft) mlx5_tc_ct_del_ft_cb() argument 1698 struct mlx5_ct_ft *ft; __mlx5_tc_ct_flow_offload() local [all...] |