Lines Matching refs:newattrsz
2754 int newattrsz; in ntfs_build_descr_posix() local
2772 newattrsz = sizeof(SECURITY_DESCRIPTOR_RELATIVE) /* header */ in ntfs_build_descr_posix()
2781 newattrsz += 8 + wsidsz; in ntfs_build_descr_posix()
2783 newattrsz += 8 + ntfs_sid_size(nullsid); in ntfs_build_descr_posix()
2788 newattrsz += 3*MAX_SID_SIZE; in ntfs_build_descr_posix()
2791 newattrsz += 2*MAX_SID_SIZE*pxdesc->defcnt; in ntfs_build_descr_posix()
2792 newattr = (char*)ntfs_malloc(newattrsz); in ntfs_build_descr_posix()
2813 + aclsz + usidsz + gsidsz) <= newattrsz)) { in ntfs_build_descr_posix()
2854 int newattrsz; in ntfs_build_descr() local
2871 newattrsz = sizeof(SECURITY_DESCRIPTOR_RELATIVE) /* header */ in ntfs_build_descr()
2880 newattrsz += 8 + wsidsz; in ntfs_build_descr()
2882 newattrsz += 8 + ntfs_sid_size(nullsid); in ntfs_build_descr()
2883 newattr = (char*)ntfs_malloc(newattrsz); in ntfs_build_descr()
2904 + aclsz + usidsz + gsidsz) <= newattrsz) { in ntfs_build_descr()