Lines Matching defs:mode
206 nm_ioctl(vnode_t *vp, int cmd, intptr_t arg, int mode, cred_t *cr, int *rvalp,
209 return (VOP_IOCTL(VTONM(vp)->nm_filevp, cmd, arg, mode, cr, rvalp, ct));
239 * Standard access() like check. Figure out which mode bits apply
240 * to the caller then pass the missing mode bits to the secpolicy function.
243 nm_access_unlocked(void *vnp, int mode, cred_t *crp)
256 mode));
285 * Change ownership/group/time/access mode of mounted file
296 * If request to change mode, copy new
297 * mode into existing attribute structure.
330 * Check mode permission on the namenode. First nm_access_unlocked()
336 nm_access(vnode_t *vp, int mode, int flags, cred_t *crp,
343 error = nm_access_unlocked(nodep, mode, crp);
346 return (VOP_ACCESS(nodep->nm_filevp, mode, flags, crp, ct));
359 int mode, vnode_t **vpp, cred_t *cr, int flag,
366 if (mode && (error = nm_access(dvp, mode, 0, cr, ct)) != 0)