Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/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-5.19.10/fs/reiserfs/
Dxattr_acl.c139 reiserfs_acl_header *ext_acl; in reiserfs_posix_acl_to_disk() local
144 ext_acl = kmalloc(sizeof(reiserfs_acl_header) + in reiserfs_posix_acl_to_disk()
148 if (!ext_acl) in reiserfs_posix_acl_to_disk()
150 ext_acl->a_version = cpu_to_le32(REISERFS_ACL_VERSION); in reiserfs_posix_acl_to_disk()
151 e = (char *)ext_acl + sizeof(reiserfs_acl_header); in reiserfs_posix_acl_to_disk()
180 return (char *)ext_acl; in reiserfs_posix_acl_to_disk()
183 kfree(ext_acl); in reiserfs_posix_acl_to_disk()
/linux-5.19.10/fs/
Dposix_acl.c867 struct posix_acl_xattr_header *ext_acl = buffer; in posix_acl_to_xattr() local
877 ext_entry = (void *)(ext_acl + 1); in posix_acl_to_xattr()
878 ext_acl->a_version = cpu_to_le32(POSIX_ACL_XATTR_VERSION); in posix_acl_to_xattr()