Lines Matching refs:dir_ni
898 ntfs_inode *dir_ni = NULL, *ni;
915 dir_ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
916 if (!dir_ni) {
924 ni = ntfs_create_device(dir_ni, uname, uname_len, type,
933 ni = ntfs_create_symlink(dir_ni, uname, uname_len,
937 ni = ntfs_create(dir_ni, uname, uname_len, type);
943 ntfs_fuse_update_times(dir_ni, NTFS_UPDATE_MCTIME);
948 if (ntfs_inode_close(dir_ni))
1034 ntfs_inode *dir_ni = NULL, *ni;
1062 dir_ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
1063 if (!dir_ni) {
1068 if (ntfs_link(ni, dir_ni, uname, uname_len)) {
1074 ntfs_fuse_update_times(dir_ni, NTFS_UPDATE_MCTIME);
1077 * Must close dir_ni first otherwise ntfs_inode_sync_file_name(ni)
1080 if (ntfs_inode_close(dir_ni))
1093 ntfs_inode *dir_ni = NULL, *ni;
1116 dir_ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
1117 if (!dir_ni) {
1122 if (ntfs_delete(ni, dir_ni, uname, uname_len))
1124 /* ntfs_delete() always closes ni and dir_ni */
1125 ni = dir_ni = NULL;
1127 if (ntfs_inode_close(dir_ni))