Lines Matching full:pas
189 summarize_posix_acl(struct posix_acl *acl, struct posix_acl_summary *pas) in summarize_posix_acl() argument
194 * Only pas.users and pas.groups need initialization; previous in summarize_posix_acl()
198 memset(pas, 0, sizeof(*pas)); in summarize_posix_acl()
199 pas->mask = 07; 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()
226 pas->users &= pas->mask; in summarize_posix_acl()
227 pas->group &= pas->mask; in summarize_posix_acl()
228 pas->groups &= pas->mask; in summarize_posix_acl()
238 struct posix_acl_summary pas; in _posix_to_nfsv4_one() local
244 summarize_posix_acl(pacl, &pas); in _posix_to_nfsv4_one()
250 deny = ~pas.owner; in _posix_to_nfsv4_one()
255 deny &= pas.users | pas.group | pas.groups | pas.other; in _posix_to_nfsv4_one()
274 deny = ~(pa->e_perm & pas.mask); in _posix_to_nfsv4_one()
275 deny &= pas.groups | pas.group | pas.other; in _posix_to_nfsv4_one()
287 ace->access_mask = mask_from_posix(pa->e_perm & pas.mask, in _posix_to_nfsv4_one()
305 ace->access_mask = mask_from_posix(pas.group, flags); in _posix_to_nfsv4_one()
314 ace->access_mask = mask_from_posix(pa->e_perm & pas.mask, in _posix_to_nfsv4_one()
327 deny = ~pas.group & pas.other; in _posix_to_nfsv4_one()
339 deny = ~(pa->e_perm & pas.mask); in _posix_to_nfsv4_one()
340 deny &= pas.other; in _posix_to_nfsv4_one()