Home
last modified time | relevance | path

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

/fs/ext2/
Dacl.c93 ext2_acl_header *ext_acl; in ext2_acl_to_disk() local
98 ext_acl = kmalloc(sizeof(ext2_acl_header) + acl->a_count * in ext2_acl_to_disk()
100 if (!ext_acl) in ext2_acl_to_disk()
102 ext_acl->a_version = cpu_to_le32(EXT2_ACL_VERSION); in ext2_acl_to_disk()
103 e = (char *)ext_acl + sizeof(ext2_acl_header); in ext2_acl_to_disk()
132 return (char *)ext_acl; in ext2_acl_to_disk()
135 kfree(ext_acl); in ext2_acl_to_disk()
/fs/ext4/
Dacl.c91 ext4_acl_header *ext_acl; in ext4_acl_to_disk() local
96 ext_acl = kmalloc(sizeof(ext4_acl_header) + acl->a_count * in ext4_acl_to_disk()
98 if (!ext_acl) in ext4_acl_to_disk()
100 ext_acl->a_version = cpu_to_le32(EXT4_ACL_VERSION); in ext4_acl_to_disk()
101 e = (char *)ext_acl + sizeof(ext4_acl_header); in ext4_acl_to_disk()
130 return (char *)ext_acl; in ext4_acl_to_disk()
133 kfree(ext_acl); in ext4_acl_to_disk()
/fs/reiserfs/
Dxattr_acl.c133 reiserfs_acl_header *ext_acl; in reiserfs_posix_acl_to_disk() local
138 ext_acl = kmalloc(sizeof(reiserfs_acl_header) + in reiserfs_posix_acl_to_disk()
142 if (!ext_acl) in reiserfs_posix_acl_to_disk()
144 ext_acl->a_version = cpu_to_le32(REISERFS_ACL_VERSION); in reiserfs_posix_acl_to_disk()
145 e = (char *)ext_acl + sizeof(reiserfs_acl_header); in reiserfs_posix_acl_to_disk()
174 return (char *)ext_acl; in reiserfs_posix_acl_to_disk()
177 kfree(ext_acl); in reiserfs_posix_acl_to_disk()
/fs/
Dposix_acl.c763 posix_acl_xattr_header *ext_acl = (posix_acl_xattr_header *)buffer; in posix_acl_to_xattr() local
773 ext_entry = ext_acl->a_entries; in posix_acl_to_xattr()
774 ext_acl->a_version = cpu_to_le32(POSIX_ACL_XATTR_VERSION); in posix_acl_to_xattr()