Lines Matching refs:file
12 #include <linux/file.h>
57 static ssize_t dbgfs_attrs_read(struct file *file,
60 struct damon_ctx *ctx = file->private_data;
74 static ssize_t dbgfs_attrs_write(struct file *file,
77 struct damon_ctx *ctx = file->private_data;
170 static ssize_t dbgfs_schemes_read(struct file *file, char __user *buf,
173 struct damon_ctx *ctx = file->private_data;
294 static ssize_t dbgfs_schemes_write(struct file *file, const char __user *buf,
297 struct damon_ctx *ctx = file->private_data;
356 static ssize_t dbgfs_target_ids_read(struct file *file,
359 struct damon_ctx *ctx = file->private_data;
487 static ssize_t dbgfs_target_ids_write(struct file *file,
490 struct damon_ctx *ctx = file->private_data;
571 static ssize_t dbgfs_init_regions_read(struct file *file, char __user *buf,
574 struct damon_ctx *ctx = file->private_data;
665 static ssize_t dbgfs_init_regions_write(struct file *file,
669 struct damon_ctx *ctx = file->private_data;
694 static ssize_t dbgfs_kdamond_pid_read(struct file *file,
697 struct damon_ctx *ctx = file->private_data;
720 static int damon_dbgfs_open(struct inode *inode, struct file *file)
724 file->private_data = inode->i_private;
726 return nonseekable_open(inode, file);
859 static ssize_t dbgfs_mk_context_write(struct file *file,
965 static ssize_t dbgfs_rm_context_write(struct file *file,
999 static ssize_t dbgfs_monitor_on_read(struct file *file,
1011 static ssize_t dbgfs_monitor_on_write(struct file *file,
1052 static int damon_dbgfs_static_file_open(struct inode *inode, struct file *file)
1055 return nonseekable_open(inode, file);