Lines Matching refs:mode
39 #include <sys/mode.h>
1560 mode_t mode;
1575 mode = oip->i_type;
1576 if (mode == VFIFO) {
1579 if ((mode != VREG) && (mode != VDIR) &&
1580 (!(mode == VLNK && length == 0))) {
1922 * Check mode permission on inode. Mode is READ, WRITE or EXEC.
1924 * is checked. The applicable mode bits are compared with the
1929 ud_iaccess(struct ud_inode *ip, int32_t mode, struct cred *cr, int dolock)
1939 if (mode & IWRITE) {
1969 UD2VA_PERM(ip->i_perm << shift), UD2VA_PERM(mode));