Lines Matching refs:le_acl
154 static int le_acl_to_cpu(const struct LE_POSIX_ACL *le_acl, size_t size, in le_acl_to_cpu() argument
160 acl->version = le_acl->version; in le_acl_to_cpu()
161 acl->flags = le_acl->flags; in le_acl_to_cpu()
165 acl->ace[i].tag = le16_to_cpu(le_acl->ace[i].tag); in le_acl_to_cpu()
166 acl->ace[i].perms = le16_to_cpu(le_acl->ace[i].perms); in le_acl_to_cpu()
167 acl->ace[i].id = le32_to_cpu(le_acl->ace[i].id); in le_acl_to_cpu()
177 struct LE_POSIX_ACL *le_acl) in cpu_to_le_acl() argument
182 le_acl->version = acl->version; in cpu_to_le_acl()
183 le_acl->flags = acl->flags; in cpu_to_le_acl()
184 le_acl->filler = const_cpu_to_le16(0); in cpu_to_le_acl()
187 le_acl->ace[i].tag = cpu_to_le16(acl->ace[i].tag); in cpu_to_le_acl()
188 le_acl->ace[i].perms = cpu_to_le16(acl->ace[i].perms); in cpu_to_le_acl()
189 le_acl->ace[i].id = cpu_to_le32(acl->ace[i].id); in cpu_to_le_acl()