Lines Matching defs:file
1592 * implement a file operation which deletes itself.
1594 * For example, the "delete" file for a sysfs device directory can be
1595 * implemented by invoking kernfs_remove_self() on the "delete" file
1609 * guarantee, for example, all concurrent writes to a "delete" file to
1786 static int kernfs_dir_fop_release(struct inode *inode, struct file *filp)
1842 static int kernfs_fop_readdir(struct file *file, struct dir_context *ctx)
1844 struct dentry *dentry = file->f_path.dentry;
1846 struct kernfs_node *pos = file->private_data;
1850 if (!dir_emit_dots(file, ctx))
1868 file->private_data = pos;
1877 file->private_data = NULL;