• Home
  • Raw
  • Download

Lines Matching refs:file

992 static int psi_io_open(struct inode *inode, struct file *file)  in psi_io_open()  argument
994 return single_open(file, psi_io_show, NULL); in psi_io_open()
997 static int psi_memory_open(struct inode *inode, struct file *file) in psi_memory_open() argument
999 return single_open(file, psi_memory_show, NULL); in psi_memory_open()
1002 static int psi_cpu_open(struct inode *inode, struct file *file) in psi_cpu_open() argument
1004 return single_open(file, psi_cpu_show, NULL); in psi_cpu_open()
1162 struct file *file, poll_table *wait) in psi_trigger_poll() argument
1181 poll_wait(file, &t->event_wait, wait); in psi_trigger_poll()
1191 static ssize_t psi_write(struct file *file, const char __user *user_buf, in psi_write() argument
1212 seq = file->private_data; in psi_write()
1221 static ssize_t psi_io_write(struct file *file, const char __user *user_buf, in psi_io_write() argument
1224 return psi_write(file, user_buf, nbytes, PSI_IO); in psi_io_write()
1227 static ssize_t psi_memory_write(struct file *file, const char __user *user_buf, in psi_memory_write() argument
1230 return psi_write(file, user_buf, nbytes, PSI_MEM); in psi_memory_write()
1233 static ssize_t psi_cpu_write(struct file *file, const char __user *user_buf, in psi_cpu_write() argument
1236 return psi_write(file, user_buf, nbytes, PSI_CPU); in psi_cpu_write()
1239 static __poll_t psi_fop_poll(struct file *file, poll_table *wait) in psi_fop_poll() argument
1241 struct seq_file *seq = file->private_data; in psi_fop_poll()
1243 return psi_trigger_poll(&seq->private, file, wait); in psi_fop_poll()
1246 static int psi_fop_release(struct inode *inode, struct file *file) in psi_fop_release() argument
1248 struct seq_file *seq = file->private_data; in psi_fop_release()
1251 return single_release(inode, file); in psi_fop_release()