Lines Matching defs:file
5 * The functions in this file provide an interface between
6 * the PROC file system and the SCSI device drivers
49 static ssize_t proc_scsi_host_write(struct file *file, const char __user *buf,
52 struct Scsi_Host *shost = PDE_DATA(file_inode(file));
80 static int proc_scsi_host_open(struct inode *inode, struct file *file)
82 return single_open_size(file, proc_scsi_show, PDE_DATA(inode),
293 * @file: not used
310 static ssize_t proc_scsi_write(struct file *file, const char __user *buf,
430 * @file: passed to single_open()
432 * Associates proc_scsi_show with this file
434 static int proc_scsi_open(struct inode *inode, struct file *file)
440 return seq_open(file, &scsi_seq_ops);