• Home
  • Raw
  • Download

Lines Matching refs:file

51 static inline struct configfs_fragment *to_frag(struct file *file)  in to_frag()  argument
53 struct configfs_dirent *sd = file->f_path.dentry->d_fsdata; in to_frag()
58 static int fill_read_buffer(struct file *file, struct configfs_buffer *buffer) in fill_read_buffer() argument
60 struct configfs_fragment *frag = to_frag(file); in fill_read_buffer()
102 configfs_read_file(struct file *file, char __user *buf, size_t count, loff_t *ppos) in configfs_read_file() argument
104 struct configfs_buffer *buffer = file->private_data; in configfs_read_file()
109 retval = fill_read_buffer(file, buffer); in configfs_read_file()
143 configfs_read_bin_file(struct file *file, char __user *buf, in configfs_read_bin_file() argument
146 struct configfs_fragment *frag = to_frag(file); in configfs_read_bin_file()
147 struct configfs_buffer *buffer = file->private_data; in configfs_read_bin_file()
244 flush_write_buffer(struct file *file, struct configfs_buffer *buffer, size_t count) in flush_write_buffer() argument
246 struct configfs_fragment *frag = to_frag(file); in flush_write_buffer()
275 configfs_write_file(struct file *file, const char __user *buf, size_t count, loff_t *ppos) in configfs_write_file() argument
277 struct configfs_buffer *buffer = file->private_data; in configfs_write_file()
283 len = flush_write_buffer(file, buffer, len); in configfs_write_file()
304 configfs_write_bin_file(struct file *file, const char __user *buf, in configfs_write_bin_file() argument
307 struct configfs_buffer *buffer = file->private_data; in configfs_write_bin_file()
356 static int __configfs_open_file(struct inode *inode, struct file *file, int type) in __configfs_open_file() argument
358 struct dentry *dentry = file->f_path.dentry; in __configfs_open_file()
359 struct configfs_fragment *frag = to_frag(file); in __configfs_open_file()
406 if (file->f_mode & FMODE_WRITE) { in __configfs_open_file()
419 if (file->f_mode & FMODE_READ) { in __configfs_open_file()
432 file->private_data = buffer; in __configfs_open_file()
445 static int configfs_release(struct inode *inode, struct file *filp) in configfs_release()
457 static int configfs_open_file(struct inode *inode, struct file *filp) in configfs_open_file()
462 static int configfs_open_bin_file(struct inode *inode, struct file *filp) in configfs_open_bin_file()
467 static int configfs_release_bin_file(struct inode *inode, struct file *file) in configfs_release_bin_file() argument
469 struct configfs_buffer *buffer = file->private_data; in configfs_release_bin_file()
474 struct configfs_fragment *frag = to_frag(file); in configfs_release_bin_file()
492 configfs_release(inode, file); in configfs_release_bin_file()