Lines Matching refs:e_perm

230 		if (pa->e_perm & ~(ACL_READ|ACL_WRITE|ACL_EXECUTE))  in posix_acl_valid()
307 mode |= (pa->e_perm & S_IRWXO) << 6; in posix_acl_equiv_mode()
310 mode |= (pa->e_perm & S_IRWXO) << 3; in posix_acl_equiv_mode()
313 mode |= pa->e_perm & S_IRWXO; in posix_acl_equiv_mode()
317 ((pa->e_perm & S_IRWXO) << 3); in posix_acl_equiv_mode()
345 acl->a_entries[0].e_perm = (mode & S_IRWXU) >> 6; in posix_acl_from_mode()
348 acl->a_entries[1].e_perm = (mode & S_IRWXG) >> 3; in posix_acl_from_mode()
351 acl->a_entries[2].e_perm = (mode & S_IRWXO); in posix_acl_from_mode()
390 if ((pa->e_perm & want) == want) in posix_acl_permission()
399 if ((pa->e_perm & want) == want) in posix_acl_permission()
419 if ((pa->e_perm & mask_obj->e_perm & want) == want) in posix_acl_permission()
426 if ((pa->e_perm & want) == want) in posix_acl_permission()
451 pa->e_perm &= (mode >> 6) | ~S_IRWXO; in posix_acl_create_masq()
452 mode &= (pa->e_perm << 6) | ~S_IRWXU; in posix_acl_create_masq()
465 pa->e_perm &= mode | ~S_IRWXO; in posix_acl_create_masq()
466 mode &= pa->e_perm | ~S_IRWXO; in posix_acl_create_masq()
480 mask_obj->e_perm &= (mode >> 3) | ~S_IRWXO; in posix_acl_create_masq()
481 mode &= (mask_obj->e_perm << 3) | ~S_IRWXG; in posix_acl_create_masq()
485 group_obj->e_perm &= (mode >> 3) | ~S_IRWXO; in posix_acl_create_masq()
486 mode &= (group_obj->e_perm << 3) | ~S_IRWXG; in posix_acl_create_masq()
506 pa->e_perm = (mode & S_IRWXU) >> 6; in __posix_acl_chmod_masq()
522 pa->e_perm = (mode & S_IRWXO); in __posix_acl_chmod_masq()
531 mask_obj->e_perm = (mode & S_IRWXG) >> 3; in __posix_acl_chmod_masq()
535 group_obj->e_perm = (mode & S_IRWXG) >> 3; in __posix_acl_chmod_masq()
867 acl_e->e_perm = le16_to_cpu(entry->e_perm); in make_posix_acl()
1097 ext_entry->e_perm = cpu_to_le16(acl_e->e_perm); in posix_acl_to_xattr()