Lines Matching refs:e_perm

228 		if (pa->e_perm & ~(ACL_READ|ACL_WRITE|ACL_EXECUTE))  in posix_acl_valid()
305 mode |= (pa->e_perm & S_IRWXO) << 6; in posix_acl_equiv_mode()
308 mode |= (pa->e_perm & S_IRWXO) << 3; in posix_acl_equiv_mode()
311 mode |= pa->e_perm & S_IRWXO; in posix_acl_equiv_mode()
315 ((pa->e_perm & S_IRWXO) << 3); in posix_acl_equiv_mode()
343 acl->a_entries[0].e_perm = (mode & S_IRWXU) >> 6; in posix_acl_from_mode()
346 acl->a_entries[1].e_perm = (mode & S_IRWXG) >> 3; in posix_acl_from_mode()
349 acl->a_entries[2].e_perm = (mode & S_IRWXO); in posix_acl_from_mode()
388 if ((pa->e_perm & want) == want) in posix_acl_permission()
398 if ((pa->e_perm & want) == want) in posix_acl_permission()
418 if ((pa->e_perm & mask_obj->e_perm & want) == want) in posix_acl_permission()
425 if ((pa->e_perm & want) == want) in posix_acl_permission()
450 pa->e_perm &= (mode >> 6) | ~S_IRWXO; in posix_acl_create_masq()
451 mode &= (pa->e_perm << 6) | ~S_IRWXU; in posix_acl_create_masq()
464 pa->e_perm &= mode | ~S_IRWXO; in posix_acl_create_masq()
465 mode &= pa->e_perm | ~S_IRWXO; in posix_acl_create_masq()
479 mask_obj->e_perm &= (mode >> 3) | ~S_IRWXO; in posix_acl_create_masq()
480 mode &= (mask_obj->e_perm << 3) | ~S_IRWXG; in posix_acl_create_masq()
484 group_obj->e_perm &= (mode >> 3) | ~S_IRWXO; in posix_acl_create_masq()
485 mode &= (group_obj->e_perm << 3) | ~S_IRWXG; in posix_acl_create_masq()
505 pa->e_perm = (mode & S_IRWXU) >> 6; in __posix_acl_chmod_masq()
521 pa->e_perm = (mode & S_IRWXO); in __posix_acl_chmod_masq()
530 mask_obj->e_perm = (mode & S_IRWXG) >> 3; in __posix_acl_chmod_masq()
534 group_obj->e_perm = (mode & S_IRWXG) >> 3; in __posix_acl_chmod_masq()
824 acl_e->e_perm = le16_to_cpu(entry->e_perm); in posix_acl_from_xattr()
883 ext_entry->e_perm = cpu_to_le16(acl_e->e_perm); in posix_acl_to_xattr()