Lines Matching refs:ae_perm
132 dest_entry->ae_perm = le16_to_cpu(src_entry->e_perm); in posix_acl_xattr_to_xfs()
133 if (_ACL_PERM_INVALID(dest_entry->ae_perm)) in posix_acl_xattr_to_xfs()
199 dest_entry->e_perm = cpu_to_le16(src_entry->ae_perm); in posix_acl_xfs_to_xattr()
200 if (_ACL_PERM_INVALID(src_entry->ae_perm)) in posix_acl_xfs_to_xattr()
420 if (fap->acl_entry[i].ae_perm & ACL_EXECUTE) { in xfs_acl_find_any_exec()
425 mask = fap->acl_entry[i].ae_perm; in xfs_acl_find_any_exec()
427 masked_aces |= fap->acl_entry[i].ae_perm; in xfs_acl_find_any_exec()
505 allows = ((fap->acl_entry[i].ae_perm & md) == md); in xfs_acl_access()
513 matched.ae_perm = allows; in xfs_acl_access()
519 matched.ae_perm = allows; in xfs_acl_access()
528 matched.ae_perm = allows; in xfs_acl_access()
537 matched.ae_perm = allows; in xfs_acl_access()
546 matched.ae_perm = allows; in xfs_acl_access()
557 if (matched.ae_perm) in xfs_acl_access()
563 if (maskallows && matched.ae_perm) in xfs_acl_access()
647 INT_SET(ace->ae_perm, ARCH_CONVERT, ace->ae_perm); in xfs_acl_get_endian()
701 INT_SET(newace->ae_perm, ARCH_CONVERT, ace->ae_perm); in xfs_acl_set_attr()
836 va.va_mode |= ap->ae_perm << 6; in xfs_acl_setmode()
843 va.va_mode |= ap->ae_perm << 3; in xfs_acl_setmode()
847 va.va_mode |= ap->ae_perm; in xfs_acl_setmode()
858 va.va_mode |= gap->ae_perm << 3; in xfs_acl_setmode()
911 ap->ae_perm = (mode >> 6) & 0x7; in xfs_acl_sync_mode()
918 ap->ae_perm = (mode >> 3) & 0x7; in xfs_acl_sync_mode()
921 ap->ae_perm = mode & 0x7; in xfs_acl_sync_mode()
929 gap->ae_perm = (mode >> 3) & 0x7; in xfs_acl_sync_mode()
955 ap->ae_perm &= (mode >> 6) & 0x7; in xfs_acl_filter_mode()
962 ap->ae_perm &= (mode >> 3) & 0x7; in xfs_acl_filter_mode()
965 ap->ae_perm &= mode & 0x7; in xfs_acl_filter_mode()
973 gap->ae_perm &= (mode >> 3) & 0x7; in xfs_acl_filter_mode()