Searched refs:ext_acl (Results 1 – 4 of 4) sorted by relevance
94 ext2_acl_header *ext_acl; in ext2_acl_to_disk() local99 ext_acl = kmalloc(sizeof(ext2_acl_header) + acl->a_count * in ext2_acl_to_disk()101 if (!ext_acl) in ext2_acl_to_disk()103 ext_acl->a_version = cpu_to_le32(EXT2_ACL_VERSION); in ext2_acl_to_disk()104 e = (char *)ext_acl + sizeof(ext2_acl_header); in ext2_acl_to_disk()133 return (char *)ext_acl; in ext2_acl_to_disk()136 kfree(ext_acl); in ext2_acl_to_disk()
93 ext4_acl_header *ext_acl; in ext4_acl_to_disk() local98 ext_acl = kmalloc(sizeof(ext4_acl_header) + acl->a_count * in ext4_acl_to_disk()100 if (!ext_acl) in ext4_acl_to_disk()102 ext_acl->a_version = cpu_to_le32(EXT4_ACL_VERSION); in ext4_acl_to_disk()103 e = (char *)ext_acl + sizeof(ext4_acl_header); in ext4_acl_to_disk()132 return (char *)ext_acl; in ext4_acl_to_disk()135 kfree(ext_acl); in ext4_acl_to_disk()
140 reiserfs_acl_header *ext_acl; in reiserfs_posix_acl_to_disk() local145 ext_acl = kmalloc(sizeof(reiserfs_acl_header) + in reiserfs_posix_acl_to_disk()149 if (!ext_acl) in reiserfs_posix_acl_to_disk()151 ext_acl->a_version = cpu_to_le32(REISERFS_ACL_VERSION); in reiserfs_posix_acl_to_disk()152 e = (char *)ext_acl + sizeof(reiserfs_acl_header); in reiserfs_posix_acl_to_disk()181 return (char *)ext_acl; in reiserfs_posix_acl_to_disk()184 kfree(ext_acl); in reiserfs_posix_acl_to_disk()
837 struct posix_acl_xattr_header *ext_acl = buffer; in posix_acl_to_xattr() local847 ext_entry = (void *)(ext_acl + 1); in posix_acl_to_xattr()848 ext_acl->a_version = cpu_to_le32(POSIX_ACL_XATTR_VERSION); in posix_acl_to_xattr()893 struct posix_acl_xattr_header *ext_acl = buffer; in vfs_posix_acl_to_xattr() local906 ext_entry = (void *)(ext_acl + 1); in vfs_posix_acl_to_xattr()907 ext_acl->a_version = cpu_to_le32(POSIX_ACL_XATTR_VERSION); in vfs_posix_acl_to_xattr()