Lines Matching defs:file
16 #include <linux/file.h>
24 static ssize_t fscontext_read(struct file *file,
27 struct fs_context *fc = file->private_data;
67 static int fscontext_release(struct inode *inode, struct file *file)
69 struct fs_context *fc = file->private_data;
72 file->private_data = NULL;
85 * Attach a filesystem context to a file and an fd.
305 * is the path and @aux is a file descriptor at which to start a relative
311 * (*) fsconfig_set_fd: An open file descriptor is specified. @_value must be
312 * NULL and @aux indicates the file descriptor.
365 if (!f.file)
368 if (f.file->f_op != &fscontext_fops)
371 fc = f.file->private_data;
429 param.file = fget(aux);
430 if (!param.file)
458 if (param.file)
459 fput(param.file);