Lines Matching defs:accmode
621 unionfs_check_corrected_access(accmode_t accmode,
638 if (accmode & VEXEC)
640 if (accmode & VREAD)
642 if (accmode & VWRITE)
650 if (accmode & VEXEC)
652 if (accmode & VREAD)
654 if (accmode & VWRITE)
660 if (accmode & VEXEC)
662 if (accmode & VREAD)
664 if (accmode & VWRITE)
679 accmode_t accmode;
691 accmode = ap->a_accmode;
694 if ((accmode & VWRITE) &&
707 error = VOP_ACCESS(uvp, accmode, ap->a_cred, td);
715 if (accmode & VWRITE) {
734 accmode, &va, ap->a_cred);
739 accmode &= ~(VWRITE | VAPPEND);
740 accmode |= VREAD; /* will copy to upper */
742 error = VOP_ACCESS(lvp, accmode, ap->a_cred, td);