Home
last modified time | relevance | path

Searched refs:dir_ni (Results 1 – 4 of 4) sorted by relevance

/linux/fs/ntfs3/
H A Dnamei.c241 struct ntfs_inode *dir_ni = ntfs_i(dir); in ntfs_rename() local
311 ni_lock_dir(dir_ni); in ntfs_rename()
313 if (dir_ni != new_dir_ni) in ntfs_rename()
317 err = ni_rename(dir_ni, new_dir_ni, ni, de, new_de, &is_bad); in ntfs_rename()
335 if (dir_ni != new_dir_ni) in ntfs_rename()
338 ni_unlock(dir_ni); in ntfs_rename()
H A Dinode.c1197 struct ntfs_inode *dir_ni = ntfs_i(dir); in ntfs_create_inode() local
1219 ni_lock_dir(dir_ni); in ntfs_create_inode()
1221 dir_root = indx_get_root(&dir_ni->dir, dir_ni, NULL, NULL); in ntfs_create_inode()
1229 fa = dir_ni->std_fa | FILE_ATTRIBUTE_DIRECTORY | in ntfs_create_inode()
1271 } else if (dir_ni->std_fa & FILE_ATTRIBUTE_COMPRESSED) { in ntfs_create_inode()
1330 security_id = dir_ni->std_security_id; in ntfs_create_inode()
1381 mi_get_ref(&dir_ni->mi, &fname->home); in ntfs_create_inode()
1653 err = indx_insert_entry(&dir_ni->dir, dir_ni, new_de, sbi, fnd, 0); in ntfs_create_inode()
1707 ni_unlock(dir_ni); in ntfs_create_inode()
1753 struct ntfs_inode *dir_ni = ntfs_i(dir); in ntfs_unlink_inode() local
[all …]
H A Dfrecord.c2891 int ni_remove_name(struct ntfs_inode *dir_ni, struct ntfs_inode *ni, in ni_remove_name() argument
2906 mi_get_ref(&dir_ni->mi, &de_name->home); in ni_remove_name()
2920 err = indx_delete_entry(&dir_ni->dir, dir_ni, fname, de_key_size, sbi); in ni_remove_name()
2940 err = indx_delete_entry(&dir_ni->dir, dir_ni, fname, in ni_remove_name()
2958 bool ni_remove_name_undo(struct ntfs_inode *dir_ni, struct ntfs_inode *ni, in ni_remove_name_undo() argument
2979 if (indx_insert_entry(&dir_ni->dir, dir_ni, de2, sbi, NULL, 1)) in ni_remove_name_undo()
2993 if (indx_insert_entry(&dir_ni->dir, dir_ni, de, sbi, NULL, 1)) in ni_remove_name_undo()
3003 int ni_add_name(struct ntfs_inode *dir_ni, struct ntfs_inode *ni, in ni_add_name() argument
3029 mi_get_ref(&dir_ni->mi, &de_name->home); in ni_add_name()
3046 err = indx_insert_entry(&dir_ni->dir, dir_ni, de, sbi, NULL, 0); in ni_add_name()
[all …]
H A Dntfs_fs.h576 int ni_remove_name(struct ntfs_inode *dir_ni, struct ntfs_inode *ni,
579 bool ni_remove_name_undo(struct ntfs_inode *dir_ni, struct ntfs_inode *ni,
583 int ni_add_name(struct ntfs_inode *dir_ni, struct ntfs_inode *ni,
586 int ni_rename(struct ntfs_inode *dir_ni, struct ntfs_inode *new_dir_ni,