Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_acl.c30 struct posix_acl_entry *acl_e; in xfs_acl_from_disk() local
46 acl_e = &acl->a_entries[i]; in xfs_acl_from_disk()
55 acl_e->e_tag = be32_to_cpu(ace->ae_tag); in xfs_acl_from_disk()
56 acl_e->e_perm = be16_to_cpu(ace->ae_perm); in xfs_acl_from_disk()
58 switch (acl_e->e_tag) { in xfs_acl_from_disk()
60 acl_e->e_uid = xfs_uid_to_kuid(be32_to_cpu(ace->ae_id)); in xfs_acl_from_disk()
63 acl_e->e_gid = xfs_gid_to_kgid(be32_to_cpu(ace->ae_id)); in xfs_acl_from_disk()
84 const struct posix_acl_entry *acl_e; in xfs_acl_to_disk() local
91 acl_e = &acl->a_entries[i]; in xfs_acl_to_disk()
93 ace->ae_tag = cpu_to_be32(acl_e->e_tag); in xfs_acl_to_disk()
[all …]
/fs/
Dposix_acl.c732 struct posix_acl_entry *acl_e; in posix_acl_from_xattr() local
750 acl_e = acl->a_entries; in posix_acl_from_xattr()
752 for (end = entry + count; entry != end; acl_e++, entry++) { in posix_acl_from_xattr()
753 acl_e->e_tag = le16_to_cpu(entry->e_tag); in posix_acl_from_xattr()
754 acl_e->e_perm = le16_to_cpu(entry->e_perm); in posix_acl_from_xattr()
756 switch(acl_e->e_tag) { in posix_acl_from_xattr()
764 acl_e->e_uid = in posix_acl_from_xattr()
767 if (!uid_valid(acl_e->e_uid)) in posix_acl_from_xattr()
771 acl_e->e_gid = in posix_acl_from_xattr()
774 if (!gid_valid(acl_e->e_gid)) in posix_acl_from_xattr()
[all …]
/fs/ext2/
Dacl.c106 const struct posix_acl_entry *acl_e = &acl->a_entries[n]; in ext2_acl_to_disk() local
108 entry->e_tag = cpu_to_le16(acl_e->e_tag); in ext2_acl_to_disk()
109 entry->e_perm = cpu_to_le16(acl_e->e_perm); in ext2_acl_to_disk()
110 switch(acl_e->e_tag) { in ext2_acl_to_disk()
113 from_kuid(&init_user_ns, acl_e->e_uid)); in ext2_acl_to_disk()
118 from_kgid(&init_user_ns, acl_e->e_gid)); in ext2_acl_to_disk()
/fs/ext4/
Dacl.c105 const struct posix_acl_entry *acl_e = &acl->a_entries[n]; in ext4_acl_to_disk() local
107 entry->e_tag = cpu_to_le16(acl_e->e_tag); in ext4_acl_to_disk()
108 entry->e_perm = cpu_to_le16(acl_e->e_perm); in ext4_acl_to_disk()
109 switch (acl_e->e_tag) { in ext4_acl_to_disk()
112 from_kuid(&init_user_ns, acl_e->e_uid)); in ext4_acl_to_disk()
117 from_kgid(&init_user_ns, acl_e->e_gid)); in ext4_acl_to_disk()
/fs/jffs2/
Dacl.c143 const struct posix_acl_entry *acl_e = &acl->a_entries[i]; in jffs2_acl_to_medium() local
145 entry->e_tag = cpu_to_je16(acl_e->e_tag); in jffs2_acl_to_medium()
146 entry->e_perm = cpu_to_je16(acl_e->e_perm); in jffs2_acl_to_medium()
147 switch(acl_e->e_tag) { in jffs2_acl_to_medium()
150 from_kuid(&init_user_ns, acl_e->e_uid)); in jffs2_acl_to_medium()
155 from_kgid(&init_user_ns, acl_e->e_gid)); in jffs2_acl_to_medium()
/fs/reiserfs/
Dxattr_acl.c151 const struct posix_acl_entry *acl_e = &acl->a_entries[n]; in reiserfs_posix_acl_to_disk() local
158 from_kuid(&init_user_ns, acl_e->e_uid)); in reiserfs_posix_acl_to_disk()
163 from_kgid(&init_user_ns, acl_e->e_gid)); in reiserfs_posix_acl_to_disk()