Lines Matching defs:accmode
1762 fhandle_t *fhp, struct vfs_state *vs, accmode_t accmode)
1774 /* accmode == 0 means don't check, since it is an unlock. */
1775 if (accmode != 0) {
1794 if (accmode != 0) {
1808 error = VOP_ACCESS(vs->vs_vp, accmode, cred, curthread);
1810 * If this failed and accmode != VWRITE, try again with
1814 if (error != 0 && accmode != VWRITE)
1871 accmode_t accmode;
1897 accmode = argp->exclusive ? VWRITE : VREAD;
1898 error = nlm_get_vfs_state(host, rqstp, &fh, &vs, accmode);
1969 accmode_t accmode;
2004 accmode = argp->exclusive ? VWRITE : VREAD;
2005 accmode);