Lines Matching refs:acl_e
732 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()
811 const struct posix_acl_entry *acl_e = &acl->a_entries[n]; in posix_acl_to_xattr() local
812 ext_entry->e_tag = cpu_to_le16(acl_e->e_tag); in posix_acl_to_xattr()
813 ext_entry->e_perm = cpu_to_le16(acl_e->e_perm); in posix_acl_to_xattr()
814 switch(acl_e->e_tag) { in posix_acl_to_xattr()
817 cpu_to_le32(from_kuid(user_ns, acl_e->e_uid)); in posix_acl_to_xattr()
821 cpu_to_le32(from_kgid(user_ns, acl_e->e_gid)); in posix_acl_to_xattr()