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.c1202 struct ntfs_inode *dir_ni = ntfs_i(dir); in ntfs_create_inode() local
1220 ni_lock_dir(dir_ni); in ntfs_create_inode()
1222 dir_root = indx_get_root(&dir_ni->dir, dir_ni, NULL, NULL); in ntfs_create_inode()
1230 fa = dir_ni->std_fa | FILE_ATTRIBUTE_DIRECTORY | in ntfs_create_inode()
1272 } else if (dir_ni->std_fa & FILE_ATTRIBUTE_COMPRESSED) { in ntfs_create_inode()
1323 security_id = dir_ni->std_security_id; in ntfs_create_inode()
1368 mi_get_ref(&dir_ni->mi, &fname->home); in ntfs_create_inode()
1574 err = indx_insert_entry(&dir_ni->dir, dir_ni, new_de, sbi, fnd, 0); in ntfs_create_inode()
1579 ni_unlock(dir_ni); in ntfs_create_inode()
1639 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()
340 ni_unlock(dir_ni); in ntfs_rename()
Dfrecord.c2901 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()
[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,