Lines Matching refs:isdir
2079 BOOL isdir; in ntfs_get_perm() local
2093 isdir = (ni->mrec->flags & MFT_RECORD_IS_DIRECTORY) in ntfs_get_perm()
2105 usid, gsid, isdir); in ntfs_get_perm()
2115 usid, gsid, isdir); in ntfs_get_perm()
2180 BOOL isdir; in ntfs_get_posix_acl() local
2193 isdir = (ni->mrec->flags & MFT_RECORD_IS_DIRECTORY) in ntfs_get_posix_acl()
2208 usid, gsid, isdir); in ntfs_get_posix_acl()
2309 BOOL isdir; in ntfs_get_perm() local
2325 isdir = (ni->mrec->flags & MFT_RECORD_IS_DIRECTORY) in ntfs_get_perm()
2337 usid, gsid, isdir); in ntfs_get_perm()
2343 usid, gsid, isdir); in ntfs_get_perm()
2447 BOOL isdir; in ntfs_get_owner_mode() local
2470 isdir = (ni->mrec->flags & MFT_RECORD_IS_DIRECTORY) in ntfs_get_owner_mode()
2488 usid, gsid, isdir); in ntfs_get_owner_mode()
2500 usid, gsid, isdir); in ntfs_get_owner_mode()
2555 ntfs_inode *dir_ni, mode_t mode, BOOL isdir) in inherit_posix() argument
2577 mode, scx->umask, isdir); in inherit_posix()
2580 mode, scx->umask, isdir); in inherit_posix()
2628 scx->umask, isdir); in inherit_posix()
2632 scx->umask, isdir); in inherit_posix()
2649 mode_t mode, BOOL isdir) in ntfs_alloc_securid() argument
2668 pxdesc = inherit_posix(scx, dir_ni, mode, isdir); in ntfs_alloc_securid()
2675 if (isdir) wanted.dmode |= 0x10000; in ntfs_alloc_securid()
2697 isdir, usid, gsid); in ntfs_alloc_securid()
2739 BOOL isdir; in ntfs_set_inherited_posix() local
2743 isdir = (ni->mrec->flags & MFT_RECORD_IS_DIRECTORY) != const_cpu_to_le16(0); in ntfs_set_inherited_posix()
2744 pxdesc = inherit_posix(scx, dir_ni, mode, isdir); in ntfs_set_inherited_posix()
2754 isdir, usid, gsid); in ntfs_set_inherited_posix()
2758 if (!res && !isdir) { in ntfs_set_inherited_posix()
2766 if (isdir && !ni->security_id) { in ntfs_set_inherited_posix()
2793 uid_t uid, gid_t gid, mode_t mode, BOOL isdir) in ntfs_alloc_securid() argument
2815 if (isdir) wanted.dmode |= 0x10000; in ntfs_alloc_securid()
2835 newattr = ntfs_build_descr(mode, isdir, usid, gsid); in ntfs_alloc_securid()
2886 BOOL isdir; in ntfs_set_owner_mode() local
2892 isdir = (ni->mrec->flags & MFT_RECORD_IS_DIRECTORY) != const_cpu_to_le16(0); in ntfs_set_owner_mode()
2896 if (isdir) wanted.dmode |= 0x10000; in ntfs_set_owner_mode()
2917 if (!isdir) { in ntfs_set_owner_mode()
2943 isdir, usid, gsid); in ntfs_set_owner_mode()
2946 isdir, usid, gsid); in ntfs_set_owner_mode()
2949 isdir, usid, gsid); in ntfs_set_owner_mode()
2955 if (!isdir) { in ntfs_set_owner_mode()
2971 if (isdir && !ni->security_id) { in ntfs_set_owner_mode()
3087 BOOL isdir; in ntfs_set_posix_acl() local
3101 isdir = (ni->mrec->flags & MFT_RECORD_IS_DIRECTORY) != const_cpu_to_le16(0); in ntfs_set_posix_acl()
3105 && (!deflt || isdir || (!size && !value))) { in ntfs_set_posix_acl()
3128 oldattr, usid, gsid, isdir); in ntfs_set_posix_acl()
3264 BOOL isdir; in ntfs_set_mode() local
3305 isdir = (ni->mrec->flags & MFT_RECORD_IS_DIRECTORY) != const_cpu_to_le16(0); in ntfs_set_mode()
3307 oldattr, usid, gsid, isdir); in ntfs_set_mode()
3640 BOOL isdir; in ntfs_set_owner() local
3666 isdir = (ni->mrec->flags & MFT_RECORD_IS_DIRECTORY) in ntfs_set_owner()
3680 usid, gsid, isdir); in ntfs_set_owner()
3690 usid, gsid, isdir); in ntfs_set_owner()
3764 BOOL isdir; in ntfs_set_ownmod() local
3798 isdir = (ni->mrec->flags & MFT_RECORD_IS_DIRECTORY) in ntfs_set_ownmod()
3811 usid, gsid, isdir); in ntfs_set_ownmod()