Lines Matching defs:file
129 static ssize_t pstore_file_read(struct file *file, char __user *userbuf,
132 struct seq_file *sf = file->private_data;
136 return seq_read(file, userbuf, count, ppos);
141 static int pstore_file_open(struct inode *inode, struct file *file)
151 err = seq_open(file, sops);
155 sf = file->private_data;
161 static loff_t pstore_file_llseek(struct file *file, loff_t off, int whence)
163 struct seq_file *sf = file->private_data;
166 return seq_lseek(file, off, whence);
167 return default_llseek(file, off, whence);
178 * When a file is unlinked from our file system we call the
189 /* Make sure we can't race while removing this file. */
331 * Make a regular file in the root directory of our file system.