Home
last modified time | relevance | path

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

/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()
/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()
/fs/reiserfs/
Dxattr_acl.c137 reiserfs_acl_header *ext_acl; in reiserfs_posix_acl_to_disk() local
142 ext_acl = kmalloc(sizeof(reiserfs_acl_header) + in reiserfs_posix_acl_to_disk()
146 if (!ext_acl) in reiserfs_posix_acl_to_disk()
148 ext_acl->a_version = cpu_to_le32(REISERFS_ACL_VERSION); in reiserfs_posix_acl_to_disk()
149 e = (char *)ext_acl + sizeof(reiserfs_acl_header); in reiserfs_posix_acl_to_disk()
178 return (char *)ext_acl; in reiserfs_posix_acl_to_disk()
181 kfree(ext_acl); in reiserfs_posix_acl_to_disk()
/fs/
Dposix_acl.c797 struct posix_acl_xattr_header *ext_acl = buffer; in posix_acl_to_xattr() local
807 ext_entry = (void *)(ext_acl + 1); in posix_acl_to_xattr()
808 ext_acl->a_version = cpu_to_le32(POSIX_ACL_XATTR_VERSION); in posix_acl_to_xattr()