Lines Matching refs:e_perm

227 		if (pa->e_perm & ~(ACL_READ|ACL_WRITE|ACL_EXECUTE))  in posix_acl_valid()
304 mode |= (pa->e_perm & S_IRWXO) << 6; in posix_acl_equiv_mode()
307 mode |= (pa->e_perm & S_IRWXO) << 3; in posix_acl_equiv_mode()
310 mode |= pa->e_perm & S_IRWXO; in posix_acl_equiv_mode()
314 ((pa->e_perm & S_IRWXO) << 3); in posix_acl_equiv_mode()
342 acl->a_entries[0].e_perm = (mode & S_IRWXU) >> 6; in posix_acl_from_mode()
345 acl->a_entries[1].e_perm = (mode & S_IRWXG) >> 3; in posix_acl_from_mode()
348 acl->a_entries[2].e_perm = (mode & S_IRWXO); in posix_acl_from_mode()
385 if ((pa->e_perm & want) == want) in posix_acl_permission()
393 if ((pa->e_perm & want) == want) in posix_acl_permission()
413 if ((pa->e_perm & mask_obj->e_perm & want) == want) in posix_acl_permission()
420 if ((pa->e_perm & want) == want) in posix_acl_permission()
445 pa->e_perm &= (mode >> 6) | ~S_IRWXO; in posix_acl_create_masq()
446 mode &= (pa->e_perm << 6) | ~S_IRWXU; in posix_acl_create_masq()
459 pa->e_perm &= mode | ~S_IRWXO; in posix_acl_create_masq()
460 mode &= pa->e_perm | ~S_IRWXO; in posix_acl_create_masq()
474 mask_obj->e_perm &= (mode >> 3) | ~S_IRWXO; in posix_acl_create_masq()
475 mode &= (mask_obj->e_perm << 3) | ~S_IRWXG; in posix_acl_create_masq()
479 group_obj->e_perm &= (mode >> 3) | ~S_IRWXO; in posix_acl_create_masq()
480 mode &= (group_obj->e_perm << 3) | ~S_IRWXG; in posix_acl_create_masq()
500 pa->e_perm = (mode & S_IRWXU) >> 6; in __posix_acl_chmod_masq()
516 pa->e_perm = (mode & S_IRWXO); in __posix_acl_chmod_masq()
525 mask_obj->e_perm = (mode & S_IRWXG) >> 3; in __posix_acl_chmod_masq()
529 group_obj->e_perm = (mode & S_IRWXG) >> 3; in __posix_acl_chmod_masq()
809 acl_e->e_perm = le16_to_cpu(entry->e_perm); in posix_acl_from_xattr()
868 ext_entry->e_perm = cpu_to_le16(acl_e->e_perm); in posix_acl_to_xattr()