Lines Matching refs:dir_ni
2901 int ni_remove_name(struct ntfs_inode *dir_ni, struct ntfs_inode *ni, in ni_remove_name() argument
2916 mi_get_ref(&dir_ni->mi, &de_name->home); in ni_remove_name()
2930 err = indx_delete_entry(&dir_ni->dir, dir_ni, fname, de_key_size, sbi); in ni_remove_name()
2950 err = indx_delete_entry(&dir_ni->dir, dir_ni, fname, in ni_remove_name()
2968 bool ni_remove_name_undo(struct ntfs_inode *dir_ni, struct ntfs_inode *ni, in ni_remove_name_undo() argument
2989 if (indx_insert_entry(&dir_ni->dir, dir_ni, de2, sbi, NULL, in ni_remove_name_undo()
3006 if (indx_insert_entry(&dir_ni->dir, dir_ni, de, sbi, NULL, 1)) in ni_remove_name_undo()
3016 int ni_add_name(struct ntfs_inode *dir_ni, struct ntfs_inode *ni, in ni_add_name() argument
3028 mi_get_ref(&dir_ni->mi, &de_name->home); in ni_add_name()
3045 err = indx_insert_entry(&dir_ni->dir, dir_ni, de, ni->mi.sbi, NULL, 0); in ni_add_name()
3055 int ni_rename(struct ntfs_inode *dir_ni, struct ntfs_inode *new_dir_ni, in ni_rename() argument
3079 err = ni_remove_name(dir_ni, ni, de, &de2, &undo); in ni_rename()
3218 struct ntfs_inode *dir_ni = ntfs_i(dir); in ni_update_parent() local
3220 if (!ni_trylock(dir_ni)) { in ni_update_parent()
3223 indx_update_dup(dir_ni, sbi, fname, dup, sync); in ni_update_parent()
3224 ni_unlock(dir_ni); in ni_update_parent()