Lines Matching refs:pa

191 	struct posix_acl_entry *pa, *pe;  in summarize_posix_acl()  local
203 FOREACH_ACL_ENTRY(pa, acl, pe) { in summarize_posix_acl()
204 switch (pa->e_tag) { in summarize_posix_acl()
206 pas->owner = pa->e_perm; in summarize_posix_acl()
209 pas->group = pa->e_perm; in summarize_posix_acl()
212 pas->users |= pa->e_perm; in summarize_posix_acl()
215 pas->groups |= pa->e_perm; in summarize_posix_acl()
218 pas->other = pa->e_perm; in summarize_posix_acl()
221 pas->mask = pa->e_perm; in summarize_posix_acl()
236 struct posix_acl_entry *pa, *group_owner_entry; in _posix_to_nfsv4_one() local
246 pa = pacl->a_entries; in _posix_to_nfsv4_one()
267 ace->access_mask = mask_from_posix(pa->e_perm, flags | NFS4_ACL_OWNER); in _posix_to_nfsv4_one()
271 pa++; in _posix_to_nfsv4_one()
273 while (pa->e_tag == ACL_USER) { in _posix_to_nfsv4_one()
274 deny = ~(pa->e_perm & pas.mask); in _posix_to_nfsv4_one()
281 ace->who_uid = pa->e_uid; in _posix_to_nfsv4_one()
287 ace->access_mask = mask_from_posix(pa->e_perm & pas.mask, in _posix_to_nfsv4_one()
290 ace->who_uid = pa->e_uid; in _posix_to_nfsv4_one()
293 pa++; in _posix_to_nfsv4_one()
301 group_owner_entry = pa; in _posix_to_nfsv4_one()
309 pa++; in _posix_to_nfsv4_one()
311 while (pa->e_tag == ACL_GROUP) { in _posix_to_nfsv4_one()
314 ace->access_mask = mask_from_posix(pa->e_perm & pas.mask, in _posix_to_nfsv4_one()
317 ace->who_gid = pa->e_gid; in _posix_to_nfsv4_one()
320 pa++; in _posix_to_nfsv4_one()
325 pa = group_owner_entry; in _posix_to_nfsv4_one()
336 pa++; in _posix_to_nfsv4_one()
338 while (pa->e_tag == ACL_GROUP) { in _posix_to_nfsv4_one()
339 deny = ~(pa->e_perm & pas.mask); in _posix_to_nfsv4_one()
346 ace->who_gid = pa->e_gid; in _posix_to_nfsv4_one()
350 pa++; in _posix_to_nfsv4_one()
353 if (pa->e_tag == ACL_MASK) in _posix_to_nfsv4_one()
354 pa++; in _posix_to_nfsv4_one()
357 ace->access_mask = mask_from_posix(pa->e_perm, flags); in _posix_to_nfsv4_one()