Lines Matching refs:parent

219 	fuse_ino_t parent;
375 static u64 ntfs_fuse_inode_lookup(fuse_ino_t parent, const char *name)
382 dir_ni = ntfs_inode_open(ctx->vol, INODE(parent));
403 * Check access to parent directory
1027 static void ntfs_fuse_lookup(fuse_req_t req, fuse_ino_t parent,
1037 dir_ni = ntfs_inode_open(ctx->vol, INODE(parent));
1041 * make sure the parent directory is searchable
1681 of->parent = 0;
2339 static int ntfs_fuse_create(fuse_req_t req, fuse_ino_t parent, const char *name,
2365 if (parent == FILE_Extend) {
2369 /* Open parent directory. */
2370 dir_ni = ntfs_inode_open(ctx->vol, INODE(parent));
2376 /* make sure parent directory is writeable and executable */
2525 of->parent = 0;
2539 static void ntfs_fuse_create_file(fuse_req_t req, fuse_ino_t parent,
2546 res = ntfs_fuse_create(req, parent, name, mode & (S_IFMT | 07777),
2554 static void ntfs_fuse_mknod(fuse_req_t req, fuse_ino_t parent, const char *name,
2560 res = ntfs_fuse_create(req, parent, name, mode & (S_IFMT | 07777),
2569 fuse_ino_t parent, const char *name)
2574 res = ntfs_fuse_create(req, parent, name, S_IFLNK, 0,
2613 /* Open parent directory. */
2621 /* make sure the target parent directory is writeable */
2664 * may fail because ni may not be in parent's index on the disk yet.
2687 static int ntfs_fuse_rm(fuse_req_t req, fuse_ino_t parent, const char *name,
2707 if (parent == FILE_Extend) {
2711 /* Open parent directory. */
2712 dir_ni = ntfs_inode_open(ctx->vol, INODE(parent));
2752 /* Avoid double opening of parent directory */
2761 dir_ni = ntfs_inode_open(ctx->vol, INODE(parent));
2792 * in a different parent directory. The ghost is
2793 * nevertheless created in the parent directory of the
2799 /* file was open, create a ghost in unlink parent */
2812 of->parent = parent;
2838 res = ntfs_fuse_newlink(req, of->ino, parent, ghostname,
2842 /* now reopen then parent directory */
2843 dir_ni = ntfs_inode_open(ctx->vol, INODE(parent));
2883 static void ntfs_fuse_unlink(fuse_req_t req, fuse_ino_t parent,
2888 res = ntfs_fuse_rm(req, parent, name, RM_LINK);
2896 fuse_ino_t parent, const char *name, fuse_ino_t xino,
2917 ret = ntfs_fuse_rm(req, parent, name, RM_ANY);
2948 fuse_ino_t parent, const char *name,
2975 * This is only needed if parent directory is
2990 parent, name, xino,
3000 ret = ntfs_fuse_safe_rename(req, ino, parent, name,
3008 static void ntfs_fuse_rename(fuse_req_t req, fuse_ino_t parent,
3023 ino = ntfs_fuse_inode_lookup(parent, name);
3051 ret = ntfs_fuse_rename_existing_dest(req, ino, parent,
3061 ret = ntfs_fuse_rm(req, parent, name, RM_ANY);
3136 ntfs_fuse_rm(req, of->parent, ghostname, RM_ANY);
3153 static void ntfs_fuse_mkdir(fuse_req_t req, fuse_ino_t parent,
3159 res = ntfs_fuse_create(req, parent, name, S_IFDIR | (mode & 07777),
3167 static void ntfs_fuse_rmdir(fuse_req_t req, fuse_ino_t parent, const char *name)
3171 res = ntfs_fuse_rm(req, parent, name, RM_DIR);
3348 * parent directory must be executable, and