Home
last modified time | relevance | path

Searched refs:ext_acl (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/fs/ext2/
Dacl.c94 ext2_acl_header *ext_acl; in ext2_acl_to_disk() local
99 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()
/linux-6.12.1/fs/ext4/
Dacl.c93 ext4_acl_header *ext_acl; in ext4_acl_to_disk() local
98 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()
/linux-6.12.1/fs/reiserfs/
Dxattr_acl.c140 reiserfs_acl_header *ext_acl; in reiserfs_posix_acl_to_disk() local
145 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()
/linux-6.12.1/fs/
Dposix_acl.c837 struct posix_acl_xattr_header *ext_acl = buffer; in posix_acl_to_xattr() local
847 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() local
906 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()