Home
last modified time | relevance | path

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

/fs/
Dxattr_acl.c79 posix_acl_xattr_header *ext_acl = (posix_acl_xattr_header *)buffer; in posix_acl_to_xattr() local
80 posix_acl_xattr_entry *ext_entry = ext_acl->a_entries; in posix_acl_to_xattr()
89 ext_acl->a_version = cpu_to_le32(POSIX_ACL_XATTR_VERSION); in posix_acl_to_xattr()
/fs/ext2/
Dacl.c87 ext2_acl_header *ext_acl; in ext2_acl_to_disk() local
92 ext_acl = kmalloc(sizeof(ext2_acl_header) + acl->a_count * in ext2_acl_to_disk()
94 if (!ext_acl) in ext2_acl_to_disk()
96 ext_acl->a_version = cpu_to_le32(EXT2_ACL_VERSION); in ext2_acl_to_disk()
97 e = (char *)ext_acl + sizeof(ext2_acl_header); in ext2_acl_to_disk()
121 return (char *)ext_acl; in ext2_acl_to_disk()
124 kfree(ext_acl); in ext2_acl_to_disk()
/fs/ext4/
Dacl.c89 ext4_acl_header *ext_acl; in ext4_acl_to_disk() local
94 ext_acl = kmalloc(sizeof(ext4_acl_header) + acl->a_count * in ext4_acl_to_disk()
96 if (!ext_acl) in ext4_acl_to_disk()
98 ext_acl->a_version = cpu_to_le32(EXT4_ACL_VERSION); in ext4_acl_to_disk()
99 e = (char *)ext_acl + sizeof(ext4_acl_header); in ext4_acl_to_disk()
122 return (char *)ext_acl; in ext4_acl_to_disk()
125 kfree(ext_acl); in ext4_acl_to_disk()
/fs/reiserfs/
Dxattr_acl.c133 reiserfs_acl_header *ext_acl; in posix_acl_to_disk() local
138 ext_acl = kmalloc(sizeof(reiserfs_acl_header) + in posix_acl_to_disk()
142 if (!ext_acl) in posix_acl_to_disk()
144 ext_acl->a_version = cpu_to_le32(REISERFS_ACL_VERSION); in posix_acl_to_disk()
145 e = (char *)ext_acl + sizeof(reiserfs_acl_header); in posix_acl_to_disk()
168 return (char *)ext_acl; in posix_acl_to_disk()
171 kfree(ext_acl); in posix_acl_to_disk()
/fs/ext3/
Dacl.c88 ext3_acl_header *ext_acl; in ext3_acl_to_disk() local
93 ext_acl = kmalloc(sizeof(ext3_acl_header) + acl->a_count * in ext3_acl_to_disk()
95 if (!ext_acl) in ext3_acl_to_disk()
97 ext_acl->a_version = cpu_to_le32(EXT3_ACL_VERSION); in ext3_acl_to_disk()
98 e = (char *)ext_acl + sizeof(ext3_acl_header); in ext3_acl_to_disk()
122 return (char *)ext_acl; in ext3_acl_to_disk()
125 kfree(ext_acl); in ext3_acl_to_disk()
/fs/xfs/
Dxfs_acl.c217 posix_acl_xattr_header *ext_acl = acl; in xfs_acl_vget() local
242 error = -posix_acl_xfs_to_xattr(xfs_acl, ext_acl, size); in xfs_acl_vget()
276 posix_acl_xattr_header *ext_acl = acl; in xfs_acl_vset() local
287 error = posix_acl_xattr_to_xfs(ext_acl, size, xfs_acl); in xfs_acl_vset()