Lines Matching defs:file
5 * The functions in this file provide an interface between
6 * the PROC file system and the SCSI device drivers
64 static ssize_t proc_scsi_host_write(struct file *file, const char __user *buf,
67 struct Scsi_Host *shost = pde_data(file_inode(file));
95 static int proc_scsi_host_open(struct inode *inode, struct file *file)
97 return single_open_size(file, proc_scsi_show, pde_data(inode),
388 * @file: not used
405 static ssize_t proc_scsi_write(struct file *file, const char __user *buf,
525 * @file: passed to single_open()
527 * Associates proc_scsi_show with this file
529 static int proc_scsi_open(struct inode *inode, struct file *file)
535 return seq_open(file, &scsi_seq_ops);