Lines Matching refs:file
49 bnad_debugfs_open_fwtrc(struct inode *inode, struct file *file) in bnad_debugfs_open_fwtrc() argument
84 file->private_data = fw_debug; in bnad_debugfs_open_fwtrc()
90 bnad_debugfs_open_fwsave(struct inode *inode, struct file *file) in bnad_debugfs_open_fwsave() argument
125 file->private_data = fw_debug; in bnad_debugfs_open_fwsave()
131 bnad_debugfs_open_reg(struct inode *inode, struct file *file) in bnad_debugfs_open_reg() argument
141 file->private_data = reg_debug; in bnad_debugfs_open_reg()
192 bnad_debugfs_open_drvinfo(struct inode *inode, struct file *file) in bnad_debugfs_open_drvinfo() argument
225 file->private_data = drv_info; in bnad_debugfs_open_drvinfo()
232 bnad_debugfs_lseek(struct file *file, loff_t offset, int orig) in bnad_debugfs_lseek() argument
234 struct bnad_debug_info *debug = file->private_data; in bnad_debugfs_lseek()
239 return fixed_size_llseek(file, offset, orig, debug->buffer_len); in bnad_debugfs_lseek()
243 bnad_debugfs_read(struct file *file, char __user *buf, in bnad_debugfs_read() argument
246 struct bnad_debug_info *debug = file->private_data; in bnad_debugfs_read()
289 bnad_debugfs_read_regrd(struct file *file, char __user *buf, in bnad_debugfs_read_regrd() argument
292 struct bnad_debug_info *regrd_debug = file->private_data; in bnad_debugfs_read_regrd()
312 bnad_debugfs_write_regrd(struct file *file, const char __user *buf, in bnad_debugfs_write_regrd() argument
315 struct bnad_debug_info *regrd_debug = file->private_data; in bnad_debugfs_write_regrd()
380 bnad_debugfs_write_regwr(struct file *file, const char __user *buf, in bnad_debugfs_write_regwr() argument
383 struct bnad_debug_info *debug = file->private_data; in bnad_debugfs_write_regwr()
429 bnad_debugfs_release(struct inode *inode, struct file *file) in bnad_debugfs_release() argument
431 struct bnad_debug_info *debug = file->private_data; in bnad_debugfs_release()
436 file->private_data = NULL; in bnad_debugfs_release()
442 bnad_debugfs_buffer_release(struct inode *inode, struct file *file) in bnad_debugfs_buffer_release() argument
444 struct bnad_debug_info *debug = file->private_data; in bnad_debugfs_buffer_release()
451 file->private_data = NULL; in bnad_debugfs_buffer_release()
519 const struct bnad_debugfs_entry *file; in bnad_debugfs_init() local
547 file = &bnad_debugfs_files[i]; in bnad_debugfs_init()
549 debugfs_create_file(file->name, in bnad_debugfs_init()
550 file->mode, in bnad_debugfs_init()
553 file->fops); in bnad_debugfs_init()
557 pci_name(bnad->pcidev), file->name); in bnad_debugfs_init()