Lines Matching defs:file
11 #include <linux/file.h>
44 static int match_context(const void *v, struct file *file, unsigned fd)
47 if (file->f_op != &spufs_context_fops)
49 ctx = SPUFS_I(file_inode(file))->i_ctx;
59 * This function iterates over all open file descriptors and sees
70 struct file *file;
77 file = lookup_fdget_rcu(*fd);
79 if (file) {
80 ctx = SPUFS_I(file_inode(file))->i_ctx;
82 fput(file);