Searched refs:ext_acl (Results 1 – 6 of 6) sorted by relevance
79 posix_acl_xattr_header *ext_acl = (posix_acl_xattr_header *)buffer; in posix_acl_to_xattr() local80 posix_acl_xattr_entry *ext_entry = ext_acl->a_entries; in posix_acl_to_xattr()89 ext_acl->a_version = cpu_to_le32(POSIX_ACL_XATTR_VERSION); in posix_acl_to_xattr()
87 ext2_acl_header *ext_acl; in ext2_acl_to_disk() local92 ext_acl = kmalloc(sizeof(ext2_acl_header) + acl->a_count * in ext2_acl_to_disk()94 if (!ext_acl) in ext2_acl_to_disk()96 ext_acl->a_version = cpu_to_le32(EXT2_ACL_VERSION); in ext2_acl_to_disk()97 e = (char *)ext_acl + sizeof(ext2_acl_header); in ext2_acl_to_disk()121 return (char *)ext_acl; in ext2_acl_to_disk()124 kfree(ext_acl); in ext2_acl_to_disk()
89 ext4_acl_header *ext_acl; in ext4_acl_to_disk() local94 ext_acl = kmalloc(sizeof(ext4_acl_header) + acl->a_count * in ext4_acl_to_disk()96 if (!ext_acl) in ext4_acl_to_disk()98 ext_acl->a_version = cpu_to_le32(EXT4_ACL_VERSION); in ext4_acl_to_disk()99 e = (char *)ext_acl + sizeof(ext4_acl_header); in ext4_acl_to_disk()122 return (char *)ext_acl; in ext4_acl_to_disk()125 kfree(ext_acl); in ext4_acl_to_disk()
133 reiserfs_acl_header *ext_acl; in posix_acl_to_disk() local138 ext_acl = kmalloc(sizeof(reiserfs_acl_header) + in posix_acl_to_disk()142 if (!ext_acl) in posix_acl_to_disk()144 ext_acl->a_version = cpu_to_le32(REISERFS_ACL_VERSION); in posix_acl_to_disk()145 e = (char *)ext_acl + sizeof(reiserfs_acl_header); in posix_acl_to_disk()168 return (char *)ext_acl; in posix_acl_to_disk()171 kfree(ext_acl); in posix_acl_to_disk()
88 ext3_acl_header *ext_acl; in ext3_acl_to_disk() local93 ext_acl = kmalloc(sizeof(ext3_acl_header) + acl->a_count * in ext3_acl_to_disk()95 if (!ext_acl) in ext3_acl_to_disk()97 ext_acl->a_version = cpu_to_le32(EXT3_ACL_VERSION); in ext3_acl_to_disk()98 e = (char *)ext_acl + sizeof(ext3_acl_header); in ext3_acl_to_disk()122 return (char *)ext_acl; in ext3_acl_to_disk()125 kfree(ext_acl); in ext3_acl_to_disk()
217 posix_acl_xattr_header *ext_acl = acl; in xfs_acl_vget() local242 error = -posix_acl_xfs_to_xattr(xfs_acl, ext_acl, size); in xfs_acl_vget()276 posix_acl_xattr_header *ext_acl = acl; in xfs_acl_vset() local287 error = posix_acl_xattr_to_xfs(ext_acl, size, xfs_acl); in xfs_acl_vset()