Lines Matching defs:vap
213 * Return in vap the attributes that are stored in the namenode
218 nm_getattr(vnode_t *vp, vattr_t *vap, int flags, cred_t *crp,
226 bcopy(&nodep->nm_vattr, vap, sizeof (vattr_t));
229 if ((va.va_mask = vap->va_mask & AT_SIZE) != 0) {
232 vap->va_size = va.va_size;
259 * Set the attributes of the namenode from the attributes in vap.
265 vattr_t *vap,
272 long mask = vap->va_mask;
289 error = secpolicy_vnode_setattr(crp, vp, vap, nmvap, flags,
294 mask = vap->va_mask;
300 nmvap->va_mode = vap->va_mode & ~VSVTX;
310 nmvap->va_uid = vap->va_uid;
312 nmvap->va_gid = vap->va_gid;
318 nmvap->va_atime = vap->va_atime;
320 nmvap->va_mtime = vap->va_mtime;
358 nm_create(vnode_t *dvp, char *name, vattr_t *vap, enum vcexcl excl,