Lines Matching defs:matched
395 * scan ACL for a matching user or group, and use matched entry
431 xfs_acl_entry_t matched;
436 matched.ae_tag = 0; /* Invalid type */
437 matched.ae_perm = 0;
445 if (matched.ae_tag == ACL_USER_OBJ)
447 if (matched.ae_tag == ACL_USER) {
462 matched.ae_tag = ACL_USER_OBJ;
463 matched.ae_perm = allows;
468 matched.ae_tag = ACL_USER;
469 matched.ae_perm = allows;
472 if ((matched.ae_tag == ACL_GROUP_OBJ ||
473 matched.ae_tag == ACL_GROUP) && !allows)
477 matched.ae_tag = ACL_GROUP_OBJ;
478 matched.ae_perm = allows;
481 if ((matched.ae_tag == ACL_GROUP_OBJ ||
482 matched.ae_tag == ACL_GROUP) && !allows)
486 matched.ae_tag = ACL_GROUP;
487 matched.ae_perm = allows;
493 if (matched.ae_tag != 0)
495 matched.ae_tag = ACL_OTHER;
496 matched.ae_perm = allows;
501 * First possibility is that no matched entry allows access.
504 switch (matched.ae_tag) {
507 if (matched.ae_perm)
513 if (maskallows && matched.ae_perm)