Home
last modified time | relevance | path

Searched refs:ft (Results 1 – 25 of 106) sorted by relevance

12345

/Linux-v5.10/arch/nds32/include/asm/
Dfpuemu.h11 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, void *fa);
[all …]
/Linux-v5.10/drivers/isdn/mISDN/
Dfsm.c98 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
109 ft->fi = fi; in mISDN_FsmInitTimer()
111 if (ft->fi->debug) in mISDN_FsmInitTimer()
112 ft->fi->printdebug(ft->fi, "mISDN_FsmInitTimer %lx", (long) ft); in mISDN_FsmInitTimer()
114 timer_setup(&ft->tl, FsmExpireTimer, 0); in mISDN_FsmInitTimer()
119 mISDN_FsmDelTimer(struct FsmTimer *ft, int where) in mISDN_FsmDelTimer() argument
[all …]
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs.c165 struct mlx5_flow_table *ft = priv->fs.vlan.ft.t; in __mlx5e_add_vlan_rule() local
172 dest.ft = priv->fs.l2.ft.t; in __mlx5e_add_vlan_rule()
223 *rule_p = mlx5_add_flow_rules(ft, spec, &flow_act, &dest, 1); in __mlx5e_add_vlan_rule()
651 static void mlx5e_destroy_groups(struct mlx5e_flow_table *ft) in mlx5e_destroy_groups() argument
655 for (i = ft->num_groups - 1; i >= 0; i--) { in mlx5e_destroy_groups()
656 if (!IS_ERR_OR_NULL(ft->g[i])) in mlx5e_destroy_groups()
657 mlx5_destroy_flow_group(ft->g[i]); in mlx5e_destroy_groups()
658 ft->g[i] = NULL; in mlx5e_destroy_groups()
660 ft->num_groups = 0; in mlx5e_destroy_groups()
668 void mlx5e_destroy_flow_table(struct mlx5e_flow_table *ft) in mlx5e_destroy_flow_table() argument
[all …]
Dfs_core.c462 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()
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->fgs_hash); in del_sw_flow_table()
486 if (ft->node.parent) { in del_sw_flow_table()
[all …]
Dfs_cmd.c43 struct mlx5_flow_table *ft, in mlx5_cmd_stub_update_root_ft() argument
51 struct mlx5_flow_table *ft, in mlx5_cmd_stub_create_flow_table() argument
59 struct mlx5_flow_table *ft) in mlx5_cmd_stub_destroy_flow_table() argument
65 struct mlx5_flow_table *ft, in mlx5_cmd_stub_modify_flow_table() argument
72 struct mlx5_flow_table *ft, in mlx5_cmd_stub_create_flow_group() argument
80 struct mlx5_flow_table *ft, in mlx5_cmd_stub_destroy_flow_group() argument
87 struct mlx5_flow_table *ft, in mlx5_cmd_stub_create_fte() argument
95 struct mlx5_flow_table *ft, in mlx5_cmd_stub_update_fte() argument
104 struct mlx5_flow_table *ft, in mlx5_cmd_stub_delete_fte() argument
155 struct mlx5_flow_table *ft, u32 underlay_qpn, in mlx5_cmd_update_root_ft() argument
[all …]
Den_arfs.c124 dest.ft = priv->fs.arfs.arfs_tables[i].ft.t; in mlx5e_arfs_enable()
141 mlx5e_destroy_flow_table(&arfs_t->ft); in arfs_destroy_table()
154 if (!IS_ERR_OR_NULL(priv->fs.arfs.arfs_tables[i].ft.t)) in mlx5e_arfs_destroy_tables()
181 arfs_t->default_rule = mlx5_add_flow_rules(arfs_t->ft.t, NULL, in arfs_add_default_rule()
199 static int arfs_create_groups(struct mlx5e_flow_table *ft, in arfs_create_groups() argument
209 ft->g = kcalloc(MLX5E_ARFS_NUM_GROUPS, in arfs_create_groups()
210 sizeof(*ft->g), GFP_KERNEL); in arfs_create_groups()
212 if (!in || !ft->g) { in arfs_create_groups()
213 kfree(ft->g); in arfs_create_groups()
264 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in arfs_create_groups()
[all …]
Dfs_cmd.h40 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,
Drdma.c19 mlx5_destroy_flow_table(roce->ft); in mlx5_rdma_disable_roce_steering()
31 struct mlx5_flow_table *ft; in mlx5_rdma_enable_roce_steering() local
59 ft = mlx5_create_flow_table(ns, &ft_attr); in mlx5_rdma_enable_roce_steering()
60 if (IS_ERR(ft)) { in mlx5_rdma_enable_roce_steering()
62 err = PTR_ERR(ft); in mlx5_rdma_enable_roce_steering()
73 fg = mlx5_create_flow_group(ft, flow_group_in); in mlx5_rdma_enable_roce_steering()
90 flow_rule = mlx5_add_flow_rules(ft, spec, &flow_act, NULL, 0); in mlx5_rdma_enable_roce_steering()
100 roce->ft = ft; in mlx5_rdma_enable_roce_steering()
109 mlx5_destroy_flow_table(ft); in mlx5_rdma_enable_roce_steering()
147 if (!roce->ft) in mlx5_rdma_disable_roce()
/Linux-v5.10/drivers/scsi/fcoe/
Dfcoe_transport.c513 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()
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->name, FCOE_TRANSPORT_DEFAULT)) in fcoe_transport_attach()
541 list_add(&ft->list, &fcoe_transports); in fcoe_transport_attach()
543 list_add_tail(&ft->list, &fcoe_transports); in fcoe_transport_attach()
[all …]
/Linux-v5.10/arch/nds32/math-emu/
Dfpuemu.c19 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, void *fa);
271 void *ft, *fa; local
273 SPFROMREG(ft, NDS32Insn_OPCODE_Rt(insn));
275 func.b(ft, fa);
[all …]
Dfs2si.c9 void fs2si(void *ft, void *fa) in fs2si() argument
19 *(int *)ft = (A_s == 0) ? 0x7fffffff : 0x80000000; in fs2si()
22 *(int *)ft = 0xffffffff; in fs2si()
27 *(int *)ft = r; in fs2si()
Dfs2ui.c9 void fs2ui(void *ft, void *fa) in fs2ui() argument
19 *(unsigned int *)ft = (A_s == 0) ? 0xffffffff : 0x00000000; in fs2ui()
22 *(unsigned int *)ft = 0xffffffff; in fs2ui()
27 *(unsigned int *)ft = r; in fs2ui()
Dfd2si.c9 void fd2si(void *ft, void *fa) in fd2si() argument
19 *(int *)ft = (A_s == 0) ? 0x7fffffff : 0x80000000; in fd2si()
22 *(int *)ft = 0xffffffff; in fd2si()
27 *(int *)ft = r; in fd2si()
Dfd2siz.c9 void fd2si_z(void *ft, void *fa) in fd2si_z() argument
19 *(int *)ft = (A_s == 0) ? 0x7fffffff : 0x80000000; in fd2si_z()
22 *(int *)ft = 0xffffffff; in fd2si_z()
27 *(int *)ft = r; in fd2si_z()
Dfd2ui.c9 void fd2ui(void *ft, void *fa) in fd2ui() argument
19 *(unsigned int *)ft = (A_s == 0) ? 0xffffffff : 0x00000000; in fd2ui()
22 *(unsigned int *)ft = 0xffffffff; in fd2ui()
27 *(unsigned int *)ft = r; in fd2ui()
Dfd2uiz.c9 void fd2ui_z(void *ft, void *fa) in fd2ui_z() argument
19 *(unsigned int *)ft = (A_s == 0) ? 0xffffffff : 0x00000000; in fd2ui_z()
22 *(unsigned int *)ft = 0xffffffff; in fd2ui_z()
27 *(unsigned int *)ft = r; in fd2ui_z()
Dfs2siz.c9 void fs2si_z(void *ft, void *fa) in fs2si_z() argument
19 *(int *)ft = (A_s == 0) ? 0x7fffffff : 0x80000000; in fs2si_z()
22 *(int *)ft = 0xffffffff; in fs2si_z()
27 *(int *)ft = r; in fs2si_z()
Dfs2uiz.c9 void fs2ui_z(void *ft, void *fa) in fs2ui_z() argument
19 *(unsigned int *)ft = (A_s == 0) ? 0xffffffff : 0x00000000; in fs2ui_z()
22 *(unsigned int *)ft = 0xffffffff; in fs2ui_z()
27 *(unsigned int *)ft = r; in fs2ui_z()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dfs_tcp.c79 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->g) { in accel_fs_tcp_create_groups()
196 kfree(ft->g); in accel_fs_tcp_create_groups()
[all …]
Dipsec_fs.c18 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()
[all …]
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Dfs_dr.c19 struct mlx5_flow_table *ft, in mlx5_cmd_dr_update_root_ft() argument
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() argument
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()
52 ft->fs_dr_table.miss_action = action; in set_miss_action()
64 struct mlx5_flow_table *ft, in mlx5_cmd_dr_create_flow_table() argument
72 if (mlx5_dr_is_fw_table(ft->flags)) in mlx5_cmd_dr_create_flow_table()
73 return mlx5_fs_cmd_get_fw_cmds()->create_flow_table(ns, ft, in mlx5_cmd_dr_create_flow_table()
76 flags = ft->flags; in mlx5_cmd_dr_create_flow_table()
[all …]
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.c66 struct mlx5_ct_ft *ft; member
79 struct mlx5_flow_table *ft; member
700 attr->ft = nat ? ct_priv->ct_nat : ct_priv->ct; in mlx5_tc_ct_entry_add_rule()
828 mlx5_tc_ct_block_flow_offload_add(struct mlx5_ct_ft *ft, in mlx5_tc_ct_block_flow_offload_add() argument
832 struct mlx5_tc_ct_priv *ct_priv = ft->ct_priv; in mlx5_tc_ct_block_flow_offload_add()
842 entry = rhashtable_lookup_fast(&ft->ct_entries_ht, &cookie, in mlx5_tc_ct_block_flow_offload_add()
851 entry->tuple.zone = ft->zone; in mlx5_tc_ct_block_flow_offload_add()
879 ft->zone_restore_id); in mlx5_tc_ct_block_flow_offload_add()
883 err = rhashtable_insert_fast(&ft->ct_entries_ht, &entry->node, in mlx5_tc_ct_block_flow_offload_add()
926 mlx5_tc_ct_block_flow_offload_del(struct mlx5_ct_ft *ft, in mlx5_tc_ct_block_flow_offload_del() argument
[all …]
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfs_tracepoint.h65 TP_PROTO(const struct mlx5_flow_table *ft),
66 TP_ARGS(ft),
68 __field(const struct mlx5_flow_table *, ft)
74 __entry->ft = ft;
75 __entry->id = ft->id;
76 __entry->level = ft->level;
77 __entry->type = ft->type;
80 __entry->ft, __entry->id, __entry->level, __entry->type)
84 TP_PROTO(const struct mlx5_flow_table *ft),
85 TP_ARGS(ft),
[all …]
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.c89 struct mlx5_flow_table *ft; member
165 struct mlx5_flow_table *ft) in mlx5_chains_set_end_ft() argument
167 tc_end_ft(chains) = ft; in mlx5_chains_set_end_ft()
224 struct mlx5_flow_table *ft; in mlx5_chains_create_table() local
272 ft = mlx5_create_auto_grouped_flow_table(ns, &ft_attr); in mlx5_chains_create_table()
273 if (IS_ERR(ft)) { in mlx5_chains_create_table()
275 (int)PTR_ERR(ft), chain, prio, level, sz); in mlx5_chains_create_table()
277 return ft; in mlx5_chains_create_table()
280 return ft; in mlx5_chains_create_table()
285 struct mlx5_flow_table *ft) in mlx5_chains_destroy_table() argument
[all …]
/Linux-v5.10/arch/mips/math-emu/
Dcp1emu.c149 mips32_insn.fp6_format.ft = insn.mm_fp6_format.ft; in microMIPS32_to_MIPS32()
188 mips32_insn.fp0_format.ft = in microMIPS32_to_MIPS32()
212 mips32_insn.fp0_format.ft = in microMIPS32_to_MIPS32()
213 insn.mm_fp0_format.ft; in microMIPS32_to_MIPS32()
232 mips32_insn.fp0_format.ft = in microMIPS32_to_MIPS32()
233 insn.mm_fp0_format.ft; in microMIPS32_to_MIPS32()
275 mips32_insn.fp0_format.ft = 0; in microMIPS32_to_MIPS32()
299 mips32_insn.fp0_format.ft = 0; in microMIPS32_to_MIPS32()
339 mips32_insn.fp0_format.ft = 0; in microMIPS32_to_MIPS32()
358 mips32_insn.fp0_format.ft = 0; in microMIPS32_to_MIPS32()
[all …]

12345