Lines Matching refs:dir_ni
2854 int ni_remove_name(struct ntfs_inode *dir_ni, struct ntfs_inode *ni, in ni_remove_name() argument
2869 mi_get_ref(&dir_ni->mi, &de_name->home); in ni_remove_name()
2883 err = indx_delete_entry(&dir_ni->dir, dir_ni, fname, de_key_size, sbi); in ni_remove_name()
2903 err = indx_delete_entry(&dir_ni->dir, dir_ni, fname, in ni_remove_name()
2921 bool ni_remove_name_undo(struct ntfs_inode *dir_ni, struct ntfs_inode *ni, in ni_remove_name_undo() argument
2942 if (indx_insert_entry(&dir_ni->dir, dir_ni, de2, sbi, NULL, in ni_remove_name_undo()
2959 if (indx_insert_entry(&dir_ni->dir, dir_ni, de, sbi, NULL, 1)) in ni_remove_name_undo()
2969 int ni_add_name(struct ntfs_inode *dir_ni, struct ntfs_inode *ni, in ni_add_name() argument
2980 mi_get_ref(&dir_ni->mi, &de_name->home); in ni_add_name()
2991 err = indx_insert_entry(&dir_ni->dir, dir_ni, de, ni->mi.sbi, NULL, 0); in ni_add_name()
3001 int ni_rename(struct ntfs_inode *dir_ni, struct ntfs_inode *new_dir_ni, in ni_rename() argument
3025 err = ni_remove_name(dir_ni, ni, de, &de2, &undo); in ni_rename()
3164 struct ntfs_inode *dir_ni = ntfs_i(dir); in ni_update_parent() local
3166 if (!ni_trylock(dir_ni)) { in ni_update_parent()
3169 indx_update_dup(dir_ni, sbi, fname, dup, sync); in ni_update_parent()
3170 ni_unlock(dir_ni); in ni_update_parent()