Lines Matching full:file
6 * This file may be distributed under the terms of the GNU General Public License.
8 * This file contains directory-related functions independent of which
11 * Based on the minix file system code, (C) 1991, 1992 by Linus Torvalds
48 static int hfs_readdir(struct file *file, struct dir_context *ctx)
50 struct inode *inode = file_inode(file);
72 if (!dir_emit_dot(file, ctx))
130 pr_err("small file entry\n");
135 be32_to_cpu(entry.file.FlNum), DT_REG))
149 rd = file->private_data;
156 file->private_data = rd;
157 rd->file = file;
172 static int hfs_dir_release(struct inode *inode, struct file *file)
174 struct hfs_readdir_data *rd = file->private_data;
188 * regular HFS directories. The purpose is to create a new file in
190 * the directory and the name (and its length) of the new file.
277 * file or directory, given the inode for the current directory and
278 * the name (and its length) of the existing file/directory and the
280 * new file/directory.