Home
last modified time | relevance | path

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

12345

/linux/drivers/isdn/mISDN/
A Dfsm.c98 struct FsmTimer *ft = from_timer(ft, t, tl); in FsmExpireTimer() local
101 ft->fi->printdebug(ft->fi, "FsmExpireTimer %lx", (long) ft); in FsmExpireTimer()
103 mISDN_FsmEvent(ft->fi, ft->event, ft->arg); in FsmExpireTimer()
109 ft->fi = fi; in mISDN_FsmInitTimer()
112 ft->fi->printdebug(ft->fi, "mISDN_FsmInitTimer %lx", (long) ft); in mISDN_FsmInitTimer()
123 ft->fi->printdebug(ft->fi, "mISDN_FsmDelTimer %lx %d", in mISDN_FsmDelTimer()
137 ft->fi->printdebug(ft->fi, "mISDN_FsmAddTimer %lx %d %d", in mISDN_FsmAddTimer()
145 ft->fi->printdebug(ft->fi, in mISDN_FsmAddTimer()
151 ft->arg = arg; in mISDN_FsmAddTimer()
165 ft->fi->printdebug(ft->fi, "mISDN_FsmRestartTimer %lx %d %d", in mISDN_FsmRestartTimer()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dfs_tt_redirect.c181 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in fs_udp_create_groups()
182 if (IS_ERR(ft->g[ft->num_groups])) in fs_udp_create_groups()
191 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in fs_udp_create_groups()
192 if (IS_ERR(ft->g[ft->num_groups])) in fs_udp_create_groups()
201 ft->g[ft->num_groups] = NULL; in fs_udp_create_groups()
452 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in fs_any_create_groups()
453 if (IS_ERR(ft->g[ft->num_groups])) in fs_any_create_groups()
462 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in fs_any_create_groups()
463 if (IS_ERR(ft->g[ft->num_groups])) in fs_any_create_groups()
472 ft->g[ft->num_groups] = NULL; in fs_any_create_groups()
[all …]
A Dtc_ct.c1581 struct mlx5_flow_table *ft = pre_ct->ft; in tc_ct_pre_ct_add_rules() local
1712 pre_ct->ft = ft; in mlx5_tc_ct_alloc_pre_ct()
1795 mlx5_tc_ct_free_pre_ct(ft, &ft->pre_ct); in mlx5_tc_ct_alloc_pre_ct_tables()
1802 mlx5_tc_ct_free_pre_ct(ft, &ft->pre_ct_nat); in mlx5_tc_ct_free_pre_ct_tables()
1803 mlx5_tc_ct_free_pre_ct(ft, &ft->pre_ct); in mlx5_tc_ct_free_pre_ct_tables()
1822 if (ft) { in mlx5_tc_ct_add_ft_cb()
1827 ft = kzalloc(sizeof(*ft), GFP_KERNEL); in mlx5_tc_ct_add_ft_cb()
1828 if (!ft) in mlx5_tc_ct_add_ft_cb()
1860 return ft; in mlx5_tc_ct_add_ft_cb()
1958 attr->ct_attr.ft = ft; in __mlx5_tc_ct_flow_offload()
[all …]
/linux/drivers/scsi/fcoe/
A Dfcoe_transport.c517 if (ft->match && ft->match(netdev)) in fcoe_transport_lookup()
577 if (nm->ft == ft) { in fcoe_transport_detach()
648 nm->ft = ft; in fcoe_add_netdev_mapping()
692 ft = nm->ft; in fcoe_netdev_map_lookup()
765 if (ft) { in fcoe_ctlr_create_store()
782 err = ft->alloc ? ft->alloc(netdev) : -ENODEV; in fcoe_ctlr_create_store()
875 if (ft) { in fcoe_transport_create()
947 rc = ft->destroy ? ft->destroy(netdev) : -ENODEV; in fcoe_transport_destroy()
983 if (!ft) in fcoe_transport_disable()
1018 if (!ft) in fcoe_transport_enable()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Den_fs.c230 dest.ft = fs->l2.ft.t; in __mlx5e_add_vlan_rule()
1039 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in mlx5e_create_l2_table_groups()
1050 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in mlx5e_create_l2_table_groups()
1060 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in mlx5e_create_l2_table_groups()
1070 ft->g[ft->num_groups] = NULL; in mlx5e_create_l2_table_groups()
1142 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in __mlx5e_create_vlan_table_groups()
1154 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in __mlx5e_create_vlan_table_groups()
1165 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in __mlx5e_create_vlan_table_groups()
1176 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in __mlx5e_create_vlan_table_groups()
1185 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in __mlx5e_create_vlan_table_groups()
[all …]
A Dfs_core.c592 kfree(ft); in del_sw_flow_table()
938 ft = kzalloc(sizeof(*ft), GFP_KERNEL); in alloc_flow_table()
939 if (!ft) in alloc_flow_table()
957 return ft; in alloc_flow_table()
988 if (ft) in find_closest_ft_recursive()
992 return ft; in find_closest_ft_recursive()
1034 return ft; in find_closest_ft()
1397 return ft; in __mlx5_create_flow_table()
1850 d1->ft == d2->ft) || in mlx5_flow_dests_cmp()
2017 ft->type != dest->ft->type) in dest_is_valid()
[all …]
A 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
70 struct mlx5_flow_table *ft, in mlx5_cmd_stub_modify_flow_table() argument
223 if (ft->type == FS_FT_FDB && in mlx5_cmd_update_root_ft()
244 ft->type == FS_FT_FDB && in mlx5_cmd_update_root_ft()
312 switch (ft->op_mod) { in mlx5_cmd_create_flow_table()
323 ft->def_miss_action); in mlx5_cmd_create_flow_table()
340 ft->max_fte = size; in mlx5_cmd_create_flow_table()
408 ft->def_miss_action); in mlx5_cmd_modify_flow_table()
652 id = dst->dest_attr.ft->id; in mlx5_cmd_set_fte()
[all …]
A 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,
128 static inline bool mlx5_fs_cmd_is_fw_term_table(struct mlx5_flow_table *ft) in mlx5_fs_cmd_is_fw_term_table() argument
[all …]
A Den_arfs.c168 dest.ft = arfs->arfs_tables[i].ft.t; in mlx5e_arfs_enable()
265 if (!ft->g) in arfs_create_groups()
320 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in arfs_create_groups()
321 if (IS_ERR(ft->g[ft->num_groups])) in arfs_create_groups()
329 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in arfs_create_groups()
330 if (IS_ERR(ft->g[ft->num_groups])) in arfs_create_groups()
338 err = PTR_ERR(ft->g[ft->num_groups]); in arfs_create_groups()
339 ft->g[ft->num_groups] = NULL; in arfs_create_groups()
343 kfree(ft->g); in arfs_create_groups()
344 ft->g = NULL; in arfs_create_groups()
[all …]
A 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
58 ft = mlx5_create_flow_table(ns, &ft_attr); in mlx5_rdma_enable_roce_steering()
59 if (IS_ERR(ft)) { in mlx5_rdma_enable_roce_steering()
61 err = PTR_ERR(ft); in mlx5_rdma_enable_roce_steering()
68 fg = mlx5_create_flow_group(ft, flow_group_in); in mlx5_rdma_enable_roce_steering()
78 flow_rule = mlx5_add_flow_rules(ft, spec, &flow_act, NULL, 0); in mlx5_rdma_enable_roce_steering()
88 roce->ft = ft; in mlx5_rdma_enable_roce_steering()
97 mlx5_destroy_flow_table(ft); in mlx5_rdma_enable_roce_steering()
135 if (!roce->ft) in mlx5_rdma_disable_roce()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dipsec_fs_roce.c89 u32 aliased_object_id = (ft->type << FT_ID_FT_TYPE_OFFSET) | ft->id; in ipsec_fs_create_aliased_ft()
216 dst.ft = pol_ft; in ipsec_fs_roce_tx_rule_setup()
307 if (IS_ERR(ft)) { in ipsec_fs_roce_tx_mpv_create_ft()
319 if (IS_ERR(ft)) { in ipsec_fs_roce_tx_mpv_create_ft()
325 roce->ft = ft; in ipsec_fs_roce_tx_mpv_create_ft()
487 if (IS_ERR(ft)) { in ipsec_fs_roce_rx_mpv_create()
499 if (IS_ERR(ft)) { in ipsec_fs_roce_rx_mpv_create()
531 if (IS_ERR(ft)) { in ipsec_fs_roce_rx_mpv_create()
570 if (!tx_roce->ft) in mlx5_ipsec_fs_roce_tx_destroy()
633 roce->ft = ft; in mlx5_ipsec_fs_roce_tx_create()
[all …]
A Dmacsec_fs.c294 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in macsec_fs_tx_create_crypto_table_groups()
295 if (IS_ERR(ft->g[ft->num_groups])) in macsec_fs_tx_create_crypto_table_groups()
309 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in macsec_fs_tx_create_crypto_table_groups()
310 if (IS_ERR(ft->g[ft->num_groups])) in macsec_fs_tx_create_crypto_table_groups()
320 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in macsec_fs_tx_create_crypto_table_groups()
330 ft->g[ft->num_groups] = NULL; in macsec_fs_tx_create_crypto_table_groups()
1088 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in macsec_fs_rx_create_crypto_table_groups()
1108 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in macsec_fs_rx_create_crypto_table_groups()
1119 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in macsec_fs_rx_create_crypto_table_groups()
1129 ft->g[ft->num_groups] = NULL; in macsec_fs_rx_create_crypto_table_groups()
[all …]
A Dfs_chains.c202 if (IS_ERR(ft)) { in mlx5_chains_create_table()
205 return ft; in mlx5_chains_create_table()
208 return ft; in mlx5_chains_create_table()
382 dest.ft = next_ft; in mlx5_chains_add_miss_rule()
415 pos->ft, in mlx5_chains_update_prio_prevs()
513 if (IS_ERR(ft)) { in mlx5_chains_create_prio()
514 err = PTR_ERR(ft); in mlx5_chains_create_prio()
519 ft->max_fte - 2); in mlx5_chains_create_prio()
521 ft->max_fte - 1); in mlx5_chains_create_prio()
542 prio_s->ft = ft; in mlx5_chains_create_prio()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
A Dipsec_fs.c649 dest->ft = ft; in ipsec_rx_status_pass_dest_get()
662 dest.ft = rx->ft.pol; in ipsec_rx_ft_connect()
686 rx->ft.status = ft; in rx_create()
704 rx->ft.sa = ft; in rx_create()
729 rx->ft.pol = ft; in rx_create()
732 dest[0].ft = rx->ft.sa; in rx_create()
947 tx->ft.status = ft; in tx_create()
962 tx->ft.sa = ft; in tx_create()
990 tx->ft.pol = ft; in tx_create()
992 dest.ft = tx->ft.sa; in tx_create()
[all …]
A Dfs_tcp.c117 if (!ft) { in mlx5e_accel_fs_add_sk()
192 kfree(ft->g); in accel_fs_tcp_create_groups()
193 ft->g = NULL; in accel_fs_tcp_create_groups()
238 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in accel_fs_tcp_create_groups()
239 if (IS_ERR(ft->g[ft->num_groups])) in accel_fs_tcp_create_groups()
248 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in accel_fs_tcp_create_groups()
249 if (IS_ERR(ft->g[ft->num_groups])) in accel_fs_tcp_create_groups()
257 err = PTR_ERR(ft->g[ft->num_groups]); in accel_fs_tcp_create_groups()
258 ft->g[ft->num_groups] = NULL; in accel_fs_tcp_create_groups()
282 ft->t = NULL; in accel_fs_tcp_create_table()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
A Dpost_meter.c12 struct mlx5_flow_table *ft; member
21 struct mlx5_flow_table *ft; member
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()
264 if (IS_ERR(ft)) { in mlx5e_post_meter_rate_create()
265 err = PTR_ERR(ft); in mlx5e_post_meter_rate_create()
270 post_meter->rate_steering_table.ft = ft; in mlx5e_post_meter_rate_create()
307 if (IS_ERR(table->ft)) { in mlx5e_post_meter_create_mtu_table()
308 err = PTR_ERR(table->ft); in mlx5e_post_meter_create_mtu_table()
354 green_attr->ft = mtu_tables->green_table.ft; in mlx5e_post_meter_mtu_create()
[all …]
A Dpost_act.c13 struct mlx5_flow_table *ft; member
50 post_act->ft = mlx5_chains_create_global_table(chains); in mlx5e_tc_post_act_init()
51 if (IS_ERR(post_act->ft)) { in mlx5e_tc_post_act_init()
52 err = PTR_ERR(post_act->ft); in mlx5e_tc_post_act_init()
75 mlx5_chains_destroy_global_table(post_act->chains, post_act->ft); in mlx5e_tc_post_act_destroy()
126 post_attr->ft = post_act->ft; in mlx5e_tc_post_act_add()
171 return post_act->ft; in mlx5e_tc_post_act_get_ft()
/linux/kernel/printk/
A Dinternal.h234 memset(ft, 0, sizeof(*ft)); in printk_get_console_flush_type()
240 ft->nbcon_offload = true; in printk_get_console_flush_type()
242 ft->nbcon_atomic = true; in printk_get_console_flush_type()
248 ft->legacy_direct = true; in printk_get_console_flush_type()
250 ft->legacy_offload = true; in printk_get_console_flush_type()
256 ft->nbcon_atomic = true; in printk_get_console_flush_type()
261 ft->legacy_direct = true; in printk_get_console_flush_type()
263 ft->legacy_offload = true; in printk_get_console_flush_type()
273 ft->nbcon_atomic = true; in printk_get_console_flush_type()
284 ft->legacy_direct = true; in printk_get_console_flush_type()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Dfs_dr.c13 struct mlx5_flow_table *ft, in mlx5_cmd_dr_update_root_ft() argument
22 struct mlx5_flow_table *ft, in set_miss_action() argument
57 struct mlx5_flow_table *ft, in mlx5_cmd_dr_create_flow_table() argument
69 flags = ft->flags; in mlx5_cmd_dr_create_flow_table()
82 ft->fs_dr_table.dr_table = tbl; in mlx5_cmd_dr_create_flow_table()
83 ft->id = mlx5dr_table_get_id(tbl); in mlx5_cmd_dr_create_flow_table()
89 ft->fs_dr_table.dr_table = NULL; in mlx5_cmd_dr_create_flow_table()
94 ft->max_fte = INT_MAX; in mlx5_cmd_dr_create_flow_table()
100 struct mlx5_flow_table *ft) in mlx5_cmd_dr_destroy_flow_table() argument
127 struct mlx5_flow_table *ft, in mlx5_cmd_dr_modify_flow_table() argument
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/
A Dfs_tracepoint.h66 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;
85 TP_ARGS(ft),
87 __field(const struct mlx5_flow_table *, ft)
91 __entry->ft = ft;
92 __entry->id = ft->id;
[all …]
/linux/fs/smb/server/
A Dvfs_cache.c311 write_lock(&ft->lock); in __ksmbd_remove_fd()
323 if (ft) in __ksmbd_close_fd()
369 read_lock(&ft->lock); in __ksmbd_lookup_fd()
405 write_lock(&ft->lock); in ksmbd_close_fd()
581 write_lock(&ft->lock); in __open_id()
987 if (!ft->idr) in ksmbd_init_file_table()
990 idr_init(ft->idr); in ksmbd_init_file_table()
997 if (!ft->idr) in ksmbd_destroy_file_table()
1001 idr_destroy(ft->idr); in ksmbd_destroy_file_table()
1002 kfree(ft->idr); in ksmbd_destroy_file_table()
[all …]
/linux/net/netfilter/
A Dnf_flow_table_xdp.c12 struct nf_flowtable *ft; member
43 return ft_elem ? ft_elem->ft : NULL; in nf_flowtable_by_dev()
50 static int nf_flowtable_by_dev_insert(struct nf_flowtable *ft, in nf_flowtable_by_dev_insert() argument
61 ft_elem->ft = ft; in nf_flowtable_by_dev_insert()
94 static void nf_flowtable_by_dev_remove(struct nf_flowtable *ft, in nf_flowtable_by_dev_remove() argument
113 if (ft_elem->ft == ft) { in nf_flowtable_by_dev_remove()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
A Dindir_table.c31 struct mlx5_flow_table *ft; member
142 if (IS_ERR(dest.ft)) { in mlx5_esw_indir_table_rule_get()
143 err = PTR_ERR(dest.ft); in mlx5_esw_indir_table_rule_get()
224 e->fwd_grp = mlx5_create_flow_group(e->ft, in); in mlx5_create_indir_fwd_group()
254 struct mlx5_flow_table *ft; in mlx5_esw_indir_table_entry_create() local
271 if (IS_ERR(ft)) { in mlx5_esw_indir_table_entry_create()
272 err = PTR_ERR(ft); in mlx5_esw_indir_table_entry_create()
275 e->ft = ft; in mlx5_esw_indir_table_entry_create()
304 mlx5_destroy_flow_table(e->ft); in mlx5_esw_indir_table_entry_create()
349 return e->ft; in mlx5_esw_indir_table_get()
[all …]
/linux/arch/mips/math-emu/
A Dcp1emu.c149 mips32_insn.fp6_format.ft = insn.mm_fp6_format.ft; in microMIPS32_to_MIPS32()
213 insn.mm_fp0_format.ft; in microMIPS32_to_MIPS32()
233 insn.mm_fp0_format.ft; in microMIPS32_to_MIPS32()
1863 union ieee754sp fs, ft; in fpu_emu() local
1876 union ieee754sp fs, ft; in fpu_emu() local
1889 union ieee754sp fs, ft; in fpu_emu() local
1902 union ieee754sp fs, ft; in fpu_emu() local
2234 union ieee754dp fs, ft; in fpu_emu() local
2247 union ieee754dp fs, ft; in fpu_emu() local
2260 union ieee754dp fs, ft; in fpu_emu() local
[all …]
/linux/samples/vfs/
A Dtest-statx.c79 char buffer[256], ft = '?'; in dump_statx() local
91 case S_IFIFO: printf(" FIFO\n"); ft = 'p'; break; in dump_statx()
92 case S_IFCHR: printf(" character special file\n"); ft = 'c'; break; in dump_statx()
93 case S_IFDIR: printf(" directory\n"); ft = 'd'; break; in dump_statx()
94 case S_IFBLK: printf(" block special file\n"); ft = 'b'; break; in dump_statx()
95 case S_IFREG: printf(" regular file\n"); ft = '-'; break; in dump_statx()
96 case S_IFLNK: printf(" symbolic link\n"); ft = 'l'; break; in dump_statx()
97 case S_IFSOCK: printf(" socket\n"); ft = 's'; break; in dump_statx()
126 ft, in dump_statx()

Completed in 75 milliseconds

12345