Lines Matching refs:acl_e
44 struct posix_acl_entry *acl_e; in xfs_acl_from_disk() local
60 acl_e = &acl->a_entries[i]; in xfs_acl_from_disk()
69 acl_e->e_tag = be32_to_cpu(ace->ae_tag); in xfs_acl_from_disk()
70 acl_e->e_perm = be16_to_cpu(ace->ae_perm); in xfs_acl_from_disk()
72 switch (acl_e->e_tag) { in xfs_acl_from_disk()
74 acl_e->e_uid = xfs_uid_to_kuid(be32_to_cpu(ace->ae_id)); in xfs_acl_from_disk()
77 acl_e->e_gid = xfs_gid_to_kgid(be32_to_cpu(ace->ae_id)); in xfs_acl_from_disk()
98 const struct posix_acl_entry *acl_e; in xfs_acl_to_disk() local
105 acl_e = &acl->a_entries[i]; in xfs_acl_to_disk()
107 ace->ae_tag = cpu_to_be32(acl_e->e_tag); in xfs_acl_to_disk()
108 switch (acl_e->e_tag) { in xfs_acl_to_disk()
110 ace->ae_id = cpu_to_be32(xfs_kuid_to_uid(acl_e->e_uid)); in xfs_acl_to_disk()
113 ace->ae_id = cpu_to_be32(xfs_kgid_to_gid(acl_e->e_gid)); in xfs_acl_to_disk()
120 ace->ae_perm = cpu_to_be16(acl_e->e_perm); in xfs_acl_to_disk()