• Home
  • Raw
  • Download

Lines Matching refs:dir_ni

329 			const char *path, ntfs_inode *dir_ni,  in ntfs_allowed_dir_access()  argument
346 if (dir_ni) in ntfs_allowed_dir_access()
347 allowed = ntfs_real_allowed_access(scx, dir_ni, in ntfs_allowed_dir_access()
408 const char *path, ntfs_inode *dir_ni, in ntfs_allowed_real_dir_access() argument
416 if (dir_ni) in ntfs_allowed_real_dir_access()
417 allowed = ntfs_real_allowed_access(scx, dir_ni, accesstype); in ntfs_allowed_real_dir_access()
442 ntfs_inode *dir_ni; in get_parent_dir() local
447 dir_ni = (ntfs_inode*)NULL; in get_parent_dir()
452 dir_ni = ntfs_pathname_to_inode(ctx->vol, in get_parent_dir()
458 return (dir_ni); in get_parent_dir()
2063 ntfs_inode *dir_ni = NULL, *ni; in ntfs_fuse_create() local
2098 dir_ni = ntfs_pathname_to_inode(ctx->vol, NULL, dir_path); in ntfs_fuse_create()
2100 if (!dir_ni || (dir_ni->mft_no == FILE_Extend)) { in ntfs_fuse_create()
2103 if (dir_ni) in ntfs_fuse_create()
2111 dir_ni, &gid, &dsetgid)) { in ntfs_fuse_create()
2114 ntfs_allowed_create(&security, dir_ni, &gid, &dsetgid); in ntfs_fuse_create()
2136 dir_ni, S_ISDIR(type)); in ntfs_fuse_create()
2141 dir_ni, perm, S_ISDIR(type)); in ntfs_fuse_create()
2148 if (dir_ni->flags & FILE_ATTR_REPARSE_POINT) { in ntfs_fuse_create()
2154 ops = select_reparse_plugin(ctx, dir_ni, &reparse); in ntfs_fuse_create()
2156 ni = (*ops->create)(dir_ni, reparse, in ntfs_fuse_create()
2170 ni = ntfs_create_device(dir_ni, securid, in ntfs_fuse_create()
2180 ni = ntfs_create_symlink(dir_ni, in ntfs_fuse_create()
2185 ni = ntfs_create(dir_ni, securid, in ntfs_fuse_create()
2200 dir_ni, perm) < 0) in ntfs_fuse_create()
2230 if (ntfs_inode_close_in_dir(ni, dir_ni)) in ntfs_fuse_create()
2232 ntfs_fuse_update_times(dir_ni, NTFS_UPDATE_MCTIME); in ntfs_fuse_create()
2243 if (ntfs_inode_close(dir_ni)) in ntfs_fuse_create()
2359 ntfs_inode *dir_ni = NULL, *ni; in ntfs_fuse_link() local
2393 dir_ni = ntfs_pathname_to_inode(ctx->vol, NULL, path); in ntfs_fuse_link()
2394 if (!dir_ni) { in ntfs_fuse_link()
2406 || !ntfs_allowed_access(&security,dir_ni,S_IWRITE + S_IEXEC))) in ntfs_fuse_link()
2411 if (dir_ni->flags & FILE_ATTR_REPARSE_POINT) { in ntfs_fuse_link()
2416 res = CALL_REPARSE_PLUGIN(dir_ni, link, in ntfs_fuse_link()
2425 if (ntfs_link(ni, dir_ni, uname, uname_len)) { in ntfs_fuse_link()
2432 ntfs_fuse_update_times(dir_ni, NTFS_UPDATE_MCTIME); in ntfs_fuse_link()
2439 if (ntfs_inode_close(dir_ni)) in ntfs_fuse_link()
2452 ntfs_inode *dir_ni = NULL, *ni; in ntfs_fuse_rm() local
2485 dir_ni = ntfs_pathname_to_inode(ctx->vol, NULL, path); in ntfs_fuse_rm()
2487 if (!dir_ni || (dir_ni->mft_no == FILE_Extend)) { in ntfs_fuse_rm()
2489 if (dir_ni) in ntfs_fuse_rm()
2497 || ntfs_allowed_dir_access(&security, org_path, dir_ni, ni, in ntfs_fuse_rm()
2500 if (dir_ni->flags & FILE_ATTR_REPARSE_POINT) { in ntfs_fuse_rm()
2505 res = CALL_REPARSE_PLUGIN(dir_ni, unlink, in ntfs_fuse_rm()
2511 if (ntfs_delete(ctx->vol, org_path, ni, dir_ni, in ntfs_fuse_rm()
2515 ni = dir_ni = NULL; in ntfs_fuse_rm()
2521 if (ntfs_inode_close(dir_ni)) in ntfs_fuse_rm()
3291 ntfs_inode *dir_ni; in ntfs_fuse_getxattr() local
3321 dir_ni = get_parent_dir(path); in ntfs_fuse_getxattr()
3323 dir_ni = (ntfs_inode*)NULL; in ntfs_fuse_getxattr()
3325 attr, ni, dir_ni, value, size); in ntfs_fuse_getxattr()
3326 if (dir_ni && ntfs_inode_close(dir_ni)) in ntfs_fuse_getxattr()
3349 dir_ni = get_parent_dir(path); in ntfs_fuse_getxattr()
3351 dir_ni = (ntfs_inode*)NULL; in ntfs_fuse_getxattr()
3353 attr, ni, dir_ni, value, size); in ntfs_fuse_getxattr()
3354 if (dir_ni && ntfs_inode_close(dir_ni)) in ntfs_fuse_getxattr()
3449 ntfs_inode *dir_ni; in ntfs_fuse_setxattr() local
3482 dir_ni = get_parent_dir(path); in ntfs_fuse_setxattr()
3484 dir_ni = (ntfs_inode*)NULL; in ntfs_fuse_setxattr()
3486 attr, ni, dir_ni, value, size, flags); in ntfs_fuse_setxattr()
3523 dir_ni = get_parent_dir(path); in ntfs_fuse_setxattr()
3525 dir_ni = (ntfs_inode*)NULL; in ntfs_fuse_setxattr()
3527 attr, ni, dir_ni, value, in ntfs_fuse_setxattr()
3684 ntfs_inode *dir_ni; in ntfs_fuse_removexattr() local
3720 dir_ni = get_parent_dir(path); in ntfs_fuse_removexattr()
3722 dir_ni = (ntfs_inode*)NULL; in ntfs_fuse_removexattr()
3724 attr, ni, dir_ni); in ntfs_fuse_removexattr()
3765 dir_ni = get_parent_dir(path); in ntfs_fuse_removexattr()
3767 dir_ni = (ntfs_inode*)NULL; in ntfs_fuse_removexattr()
3769 attr, ni, dir_ni); in ntfs_fuse_removexattr()