Home
last modified time | relevance | path

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

12345

/Linux-v5.15/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.15/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.15/drivers/net/ethernet/mellanox/mlx5/core/en/
Dfs_tt_redirect.c83 struct mlx5_flow_table *ft = NULL; in mlx5e_fs_tt_redirect_udp_add_rule() local
98 ft = fs_udp->tables[type].t; in mlx5e_fs_tt_redirect_udp_add_rule()
104 rule = mlx5_add_flow_rules(ft, spec, &flow_act, &dest, 1); in mlx5e_fs_tt_redirect_udp_add_rule()
146 static int fs_udp_create_groups(struct mlx5e_flow_table *ft, enum fs_udp_type type) in fs_udp_create_groups() argument
155 ft->g = kcalloc(MLX5E_FS_UDP_NUM_GROUPS, sizeof(*ft->g), GFP_KERNEL); in fs_udp_create_groups()
157 if (!in || !ft->g) { in fs_udp_create_groups()
158 kfree(ft->g); in fs_udp_create_groups()
182 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in fs_udp_create_groups()
183 if (IS_ERR(ft->g[ft->num_groups])) in fs_udp_create_groups()
185 ft->num_groups++; in fs_udp_create_groups()
[all …]
Dtc_ct.c65 struct mlx5_ct_ft *ft; member
77 struct mlx5_flow_table *ft; member
766 attr->ft = nat ? ct_priv->ct_nat : ct_priv->ct; in mlx5_tc_ct_entry_add_rule()
1000 mlx5_tc_ct_block_flow_offload_add(struct mlx5_ct_ft *ft, in mlx5_tc_ct_block_flow_offload_add() argument
1004 struct mlx5_tc_ct_priv *ct_priv = ft->ct_priv; in mlx5_tc_ct_block_flow_offload_add()
1015 entry = rhashtable_lookup_fast(&ft->ct_entries_ht, &cookie, cts_ht_params); in mlx5_tc_ct_block_flow_offload_add()
1027 entry->tuple.zone = ft->zone; in mlx5_tc_ct_block_flow_offload_add()
1044 err = rhashtable_lookup_insert_fast(&ft->ct_entries_ht, &entry->node, in mlx5_tc_ct_block_flow_offload_add()
1065 ft->zone_restore_id); in mlx5_tc_ct_block_flow_offload_add()
1084 rhashtable_remove_fast(&ft->ct_entries_ht, in mlx5_tc_ct_block_flow_offload_add()
[all …]
/Linux-v5.15/drivers/scsi/fcoe/
Dfcoe_transport.c514 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()
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->name, FCOE_TRANSPORT_DEFAULT)) in fcoe_transport_attach()
542 list_add(&ft->list, &fcoe_transports); in fcoe_transport_attach()
544 list_add_tail(&ft->list, &fcoe_transports); in fcoe_transport_attach()
[all …]
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs.c113 struct mlx5e_flow_table ft; member
132 return vlan->ft.t; in mlx5e_vlan_get_flowtable()
190 struct mlx5_flow_table *ft = priv->fs.vlan->ft.t; in __mlx5e_add_vlan_rule() local
197 dest.ft = priv->fs.l2.ft.t; in __mlx5e_add_vlan_rule()
248 *rule_p = mlx5_add_flow_rules(ft, spec, &flow_act, &dest, 1); in __mlx5e_add_vlan_rule()
335 mlx5e_add_trap_rule(struct mlx5_flow_table *ft, int trap_id, int tir_num) in mlx5e_add_trap_rule() argument
350 rule = mlx5_add_flow_rules(ft, spec, &flow_act, &dest, 1); in mlx5e_add_trap_rule()
357 struct mlx5_flow_table *ft = priv->fs.vlan->ft.t; in mlx5e_add_vlan_trap() local
361 rule = mlx5e_add_trap_rule(ft, trap_id, tir_num); in mlx5e_add_vlan_trap()
383 struct mlx5_flow_table *ft = priv->fs.l2.ft.t; in mlx5e_add_mac_trap() local
[all …]
Dfs_core.c463 struct mlx5_flow_table *ft; in del_hw_flow_table() local
467 fs_get_obj(ft, node); in del_hw_flow_table()
468 dev = get_dev(&ft->node); in del_hw_flow_table()
469 root = find_root(&ft->node); in del_hw_flow_table()
470 trace_mlx5_fs_del_ft(ft); in del_hw_flow_table()
473 err = root->cmds->destroy_flow_table(root, ft); in del_hw_flow_table()
481 struct mlx5_flow_table *ft; in del_sw_flow_table() local
484 fs_get_obj(ft, node); in del_sw_flow_table()
486 rhltable_destroy(&ft->fgs_hash); in del_sw_flow_table()
487 if (ft->node.parent) { in del_sw_flow_table()
[all …]
Dfs_cmd.c44 struct mlx5_flow_table *ft, in mlx5_cmd_stub_update_root_ft() argument
52 struct mlx5_flow_table *ft, in mlx5_cmd_stub_create_flow_table() argument
56 ft->max_fte = size ? roundup_pow_of_two(size) : 1; in mlx5_cmd_stub_create_flow_table()
62 struct mlx5_flow_table *ft) in mlx5_cmd_stub_destroy_flow_table() argument
68 struct mlx5_flow_table *ft, in mlx5_cmd_stub_modify_flow_table() argument
75 struct mlx5_flow_table *ft, in mlx5_cmd_stub_create_flow_group() argument
83 struct mlx5_flow_table *ft, in mlx5_cmd_stub_destroy_flow_group() argument
90 struct mlx5_flow_table *ft, in mlx5_cmd_stub_create_fte() argument
98 struct mlx5_flow_table *ft, in mlx5_cmd_stub_update_fte() argument
107 struct mlx5_flow_table *ft, in mlx5_cmd_stub_delete_fte() argument
[all …]
Den_arfs.c43 struct mlx5e_flow_table ft; member
150 dest.ft = priv->fs.arfs->arfs_tables[i].ft.t; in mlx5e_arfs_enable()
167 mlx5e_destroy_flow_table(&arfs_t->ft); in arfs_destroy_table()
177 if (!IS_ERR_OR_NULL(priv->fs.arfs->arfs_tables[i].ft.t)) in _mlx5e_cleanup_tables()
212 arfs_t->default_rule = mlx5_add_flow_rules(arfs_t->ft.t, NULL, in arfs_add_default_rule()
230 static int arfs_create_groups(struct mlx5e_flow_table *ft, in arfs_create_groups() argument
240 ft->g = kcalloc(MLX5E_ARFS_NUM_GROUPS, in arfs_create_groups()
241 sizeof(*ft->g), GFP_KERNEL); in arfs_create_groups()
243 if (!in || !ft->g) { in arfs_create_groups()
244 kfree(ft->g); 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.15/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()
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()
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()
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()
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()
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()
/Linux-v5.15/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.15/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.15/fs/ksmbd/
Dvfs_cache.c288 static void __ksmbd_remove_fd(struct ksmbd_file_table *ft, struct ksmbd_file *fp) in __ksmbd_remove_fd() argument
297 write_lock(&ft->lock); in __ksmbd_remove_fd()
298 idr_remove(ft->idr, fp->volatile_id); in __ksmbd_remove_fd()
299 write_unlock(&ft->lock); in __ksmbd_remove_fd()
302 static void __ksmbd_close_fd(struct ksmbd_file_table *ft, struct ksmbd_file *fp) in __ksmbd_close_fd() argument
309 __ksmbd_remove_fd(ft, fp); in __ksmbd_close_fd()
344 static struct ksmbd_file *__ksmbd_lookup_fd(struct ksmbd_file_table *ft, in __ksmbd_lookup_fd() argument
352 read_lock(&ft->lock); in __ksmbd_lookup_fd()
353 fp = idr_find(ft->idr, id); in __ksmbd_lookup_fd()
356 read_unlock(&ft->lock); in __ksmbd_lookup_fd()
[all …]
/Linux-v5.15/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.15/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.c69 struct mlx5_flow_table *ft; member
142 struct mlx5_flow_table *ft) in mlx5_chains_set_end_ft() argument
144 tc_end_ft(chains) = ft; in mlx5_chains_set_end_ft()
153 struct mlx5_flow_table *ft; in mlx5_chains_create_table() local
197 ft = mlx5_create_auto_grouped_flow_table(ns, &ft_attr); in mlx5_chains_create_table()
198 if (IS_ERR(ft)) { in mlx5_chains_create_table()
200 (int)PTR_ERR(ft), chain, prio, level, sz); in mlx5_chains_create_table()
201 return ft; in mlx5_chains_create_table()
204 return ft; in mlx5_chains_create_table()
364 struct mlx5_flow_table *ft, in mlx5_chains_add_miss_rule() argument
[all …]
/Linux-v5.15/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