Lines Matching refs:file

98 static ssize_t fnic_trace_ctrl_read(struct file *filp,  in fnic_trace_ctrl_read()
136 static ssize_t fnic_trace_ctrl_write(struct file *filp, in fnic_trace_ctrl_write()
195 struct file *file) in fnic_trace_debugfs_open() argument
223 file->private_data = fnic_dbg_prt; in fnic_trace_debugfs_open()
245 static loff_t fnic_trace_debugfs_lseek(struct file *file, in fnic_trace_debugfs_lseek() argument
249 fnic_dbgfs_t *fnic_dbg_prt = file->private_data; in fnic_trace_debugfs_lseek()
250 return fixed_size_llseek(file, offset, howto, in fnic_trace_debugfs_lseek()
270 static ssize_t fnic_trace_debugfs_read(struct file *file, in fnic_trace_debugfs_read() argument
275 fnic_dbgfs_t *fnic_dbg_prt = file->private_data; in fnic_trace_debugfs_read()
297 struct file *file) in fnic_trace_debugfs_release() argument
299 fnic_dbgfs_t *fnic_dbg_prt = file->private_data; in fnic_trace_debugfs_release()
432 static int fnic_reset_stats_open(struct inode *inode, struct file *file) in fnic_reset_stats_open() argument
442 file->private_data = debug; in fnic_reset_stats_open()
462 static ssize_t fnic_reset_stats_read(struct file *file, in fnic_reset_stats_read() argument
466 struct stats_debug_info *debug = file->private_data; in fnic_reset_stats_read()
490 static ssize_t fnic_reset_stats_write(struct file *file, in fnic_reset_stats_write() argument
494 struct stats_debug_info *debug = file->private_data; in fnic_reset_stats_write()
555 struct file *file) in fnic_reset_stats_release() argument
557 struct stats_debug_info *debug = file->private_data; in fnic_reset_stats_release()
576 struct file *file) in fnic_stats_debugfs_open() argument
597 file->private_data = debug; in fnic_stats_debugfs_open()
618 static ssize_t fnic_stats_debugfs_read(struct file *file, in fnic_stats_debugfs_read() argument
623 struct stats_debug_info *debug = file->private_data; in fnic_stats_debugfs_read()
645 struct file *file) in fnic_stats_debugfs_release() argument
647 struct stats_debug_info *debug = file->private_data; in fnic_stats_debugfs_release()