Lines Matching refs:file
212 static ssize_t monitor_enable_read_data(struct file *filp, char __user *user_buf, size_t count, in monitor_enable_read_data()
282 static ssize_t monitor_enable_write_data(struct file *filp, const char __user *user_buf, in monitor_enable_write_data()
317 static ssize_t monitor_desc_read_data(struct file *filp, char __user *user_buf, size_t count, in monitor_desc_read_data()
467 static int available_monitors_open(struct inode *inode, struct file *file) in available_monitors_open() argument
469 return seq_open(file, &available_monitors_seq_ops); in available_monitors_open()
504 static int enabled_monitors_open(struct inode *inode, struct file *file) in enabled_monitors_open() argument
506 if ((file->f_mode & FMODE_WRITE) && (file->f_flags & O_TRUNC)) in enabled_monitors_open()
509 return seq_open(file, &enabled_monitors_seq_ops); in enabled_monitors_open()
512 static ssize_t enabled_monitors_write(struct file *filp, const char __user *user_buf, in enabled_monitors_write()
596 static ssize_t monitoring_on_read_data(struct file *filp, char __user *user_buf, in monitoring_on_read_data()
647 static ssize_t monitoring_on_write_data(struct file *filp, const char __user *user_buf, in monitoring_on_write_data()