Lines Matching refs:file
49 bnad_debugfs_open_fwtrc(struct inode *inode, struct file *file) in bnad_debugfs_open_fwtrc() argument
83 file->private_data = fw_debug; in bnad_debugfs_open_fwtrc()
89 bnad_debugfs_open_fwsave(struct inode *inode, struct file *file) in bnad_debugfs_open_fwsave() argument
123 file->private_data = fw_debug; in bnad_debugfs_open_fwsave()
129 bnad_debugfs_open_reg(struct inode *inode, struct file *file) in bnad_debugfs_open_reg() argument
139 file->private_data = reg_debug; in bnad_debugfs_open_reg()
190 bnad_debugfs_open_drvinfo(struct inode *inode, struct file *file) in bnad_debugfs_open_drvinfo() argument
222 file->private_data = drv_info; in bnad_debugfs_open_drvinfo()
229 bnad_debugfs_lseek(struct file *file, loff_t offset, int orig) in bnad_debugfs_lseek() argument
231 struct bnad_debug_info *debug = file->private_data; in bnad_debugfs_lseek()
236 return fixed_size_llseek(file, offset, orig, debug->buffer_len); in bnad_debugfs_lseek()
240 bnad_debugfs_read(struct file *file, char __user *buf, in bnad_debugfs_read() argument
243 struct bnad_debug_info *debug = file->private_data; in bnad_debugfs_read()
286 bnad_debugfs_read_regrd(struct file *file, char __user *buf, in bnad_debugfs_read_regrd() argument
289 struct bnad_debug_info *regrd_debug = file->private_data; in bnad_debugfs_read_regrd()
309 bnad_debugfs_write_regrd(struct file *file, const char __user *buf, in bnad_debugfs_write_regrd() argument
312 struct bnad_debug_info *regrd_debug = file->private_data; in bnad_debugfs_write_regrd()
369 bnad_debugfs_write_regwr(struct file *file, const char __user *buf, in bnad_debugfs_write_regwr() argument
372 struct bnad_debug_info *debug = file->private_data; in bnad_debugfs_write_regwr()
411 bnad_debugfs_release(struct inode *inode, struct file *file) in bnad_debugfs_release() argument
413 struct bnad_debug_info *debug = file->private_data; in bnad_debugfs_release()
418 file->private_data = NULL; in bnad_debugfs_release()
424 bnad_debugfs_buffer_release(struct inode *inode, struct file *file) in bnad_debugfs_buffer_release() argument
426 struct bnad_debug_info *debug = file->private_data; in bnad_debugfs_buffer_release()
433 file->private_data = NULL; in bnad_debugfs_buffer_release()
501 const struct bnad_debugfs_entry *file; in bnad_debugfs_init() local
530 file = &bnad_debugfs_files[i]; in bnad_debugfs_init()
532 debugfs_create_file(file->name, in bnad_debugfs_init()
533 file->mode, in bnad_debugfs_init()
536 file->fops); in bnad_debugfs_init()
540 file->name); in bnad_debugfs_init()