Lines Matching refs:e_perm

245 		if (pa->e_perm & ~(ACL_READ|ACL_WRITE|ACL_EXECUTE))  in posix_acl_valid()
322 mode |= (pa->e_perm & S_IRWXO) << 6; in posix_acl_equiv_mode()
325 mode |= (pa->e_perm & S_IRWXO) << 3; in posix_acl_equiv_mode()
328 mode |= pa->e_perm & S_IRWXO; in posix_acl_equiv_mode()
332 ((pa->e_perm & S_IRWXO) << 3); in posix_acl_equiv_mode()
360 acl->a_entries[0].e_perm = (mode & S_IRWXU) >> 6; in posix_acl_from_mode()
363 acl->a_entries[1].e_perm = (mode & S_IRWXG) >> 3; in posix_acl_from_mode()
366 acl->a_entries[2].e_perm = (mode & S_IRWXO); in posix_acl_from_mode()
405 if ((pa->e_perm & want) == want) in posix_acl_permission()
414 if ((pa->e_perm & want) == want) in posix_acl_permission()
434 if ((pa->e_perm & mask_obj->e_perm & want) == want) in posix_acl_permission()
441 if ((pa->e_perm & want) == want) in posix_acl_permission()
466 pa->e_perm &= (mode >> 6) | ~S_IRWXO; in posix_acl_create_masq()
467 mode &= (pa->e_perm << 6) | ~S_IRWXU; in posix_acl_create_masq()
480 pa->e_perm &= mode | ~S_IRWXO; in posix_acl_create_masq()
481 mode &= pa->e_perm | ~S_IRWXO; in posix_acl_create_masq()
495 mask_obj->e_perm &= (mode >> 3) | ~S_IRWXO; in posix_acl_create_masq()
496 mode &= (mask_obj->e_perm << 3) | ~S_IRWXG; in posix_acl_create_masq()
500 group_obj->e_perm &= (mode >> 3) | ~S_IRWXO; in posix_acl_create_masq()
501 mode &= (group_obj->e_perm << 3) | ~S_IRWXG; in posix_acl_create_masq()
521 pa->e_perm = (mode & S_IRWXU) >> 6; in __posix_acl_chmod_masq()
537 pa->e_perm = (mode & S_IRWXO); in __posix_acl_chmod_masq()
546 mask_obj->e_perm = (mode & S_IRWXG) >> 3; in __posix_acl_chmod_masq()
550 group_obj->e_perm = (mode & S_IRWXG) >> 3; in __posix_acl_chmod_masq()
797 acl_e->e_perm = le16_to_cpu(entry->e_perm); in posix_acl_from_xattr()
854 ext_entry->e_perm = cpu_to_le16(acl_e->e_perm); in posix_acl_to_xattr()
915 ext_entry->e_perm = cpu_to_le16(acl_e->e_perm); in vfs_posix_acl_to_xattr()