Lines Matching defs:file
8 static int tirn_show(struct seq_file *file, void *priv)
10 struct mlx5_vdpa_net *ndev = file->private;
12 seq_printf(file, "0x%x\n", ndev->res.tirn);
30 static int rx_flow_table_show(struct seq_file *file, void *priv)
32 struct mlx5_vdpa_net *ndev = file->private;
34 seq_printf(file, "0x%x\n", mlx5_flow_table_id(ndev->rxft));
53 static int packets_show(struct seq_file *file, void *priv)
55 struct mlx5_vdpa_counter *counter = file->private;
64 seq_printf(file, "0x%llx\n", packets);
68 static int bytes_show(struct seq_file *file, void *priv)
70 struct mlx5_vdpa_counter *counter = file->private;
79 seq_printf(file, "0x%llx\n", bytes);