Home
last modified time | relevance | path

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

/fs/ntfs/
Ddir.c67 MFT_REF ntfs_lookup_inode_by_name(ntfs_inode *dir_ni, const ntfschar *uname, in ntfs_lookup_inode_by_name() argument
70 ntfs_volume *vol = dir_ni->vol; in ntfs_lookup_inode_by_name()
86 BUG_ON(!S_ISDIR(VFS_I(dir_ni)->i_mode)); in ntfs_lookup_inode_by_name()
87 BUG_ON(NInoAttr(dir_ni)); in ntfs_lookup_inode_by_name()
89 m = map_mft_record(dir_ni); in ntfs_lookup_inode_by_name()
95 ctx = ntfs_attr_get_search_ctx(dir_ni, m); in ntfs_lookup_inode_by_name()
107 dir_ni->mft_no); in ntfs_lookup_inode_by_name()
178 unmap_mft_record(dir_ni); in ntfs_lookup_inode_by_name()
277 unmap_mft_record(dir_ni); in ntfs_lookup_inode_by_name()
285 if (!NInoIndexAllocPresent(dir_ni)) { in ntfs_lookup_inode_by_name()
[all …]
Ddir.h31 extern MFT_REF ntfs_lookup_inode_by_name(ntfs_inode *dir_ni,
/fs/ntfs3/
Dinode.c1208 struct ntfs_inode *dir_ni = ntfs_i(dir); in ntfs_create_inode() local
1226 ni_lock_dir(dir_ni); in ntfs_create_inode()
1228 dir_root = indx_get_root(&dir_ni->dir, dir_ni, NULL, NULL); in ntfs_create_inode()
1236 fa = dir_ni->std_fa | FILE_ATTRIBUTE_DIRECTORY | in ntfs_create_inode()
1278 } else if (dir_ni->std_fa & FILE_ATTRIBUTE_COMPRESSED) { in ntfs_create_inode()
1329 security_id = dir_ni->std_security_id; in ntfs_create_inode()
1374 mi_get_ref(&dir_ni->mi, &fname->home); in ntfs_create_inode()
1580 err = indx_insert_entry(&dir_ni->dir, dir_ni, new_de, sbi, fnd, 0); in ntfs_create_inode()
1585 ni_unlock(dir_ni); in ntfs_create_inode()
1645 ni_lock_dir(dir_ni); in ntfs_create_inode()
[all …]
Dnamei.c247 struct ntfs_inode *dir_ni = ntfs_i(dir); in ntfs_rename() local
314 ni_lock_dir(dir_ni); in ntfs_rename()
318 err = ni_rename(dir_ni, new_dir_ni, ni, de, new_de, &is_bad); in ntfs_rename()
342 ni_unlock(dir_ni); in ntfs_rename()
Dfrecord.c2854 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()
[all …]
Dntfs_fs.h563 int ni_remove_name(struct ntfs_inode *dir_ni, struct ntfs_inode *ni,
566 bool ni_remove_name_undo(struct ntfs_inode *dir_ni, struct ntfs_inode *ni,
570 int ni_add_name(struct ntfs_inode *dir_ni, struct ntfs_inode *ni,
573 int ni_rename(struct ntfs_inode *dir_ni, struct ntfs_inode *new_dir_ni,