Lines Matching defs:map
224 struct vattr *map;
253 map = dv->dv_attr;
258 map->va_mode &= S_IFMT;
259 map->va_mode |= vap->va_mode & ~S_IFMT;
262 map->va_uid = vap->va_uid;
264 map->va_gid = vap->va_gid;
266 map->va_atime = vap->va_atime;
268 map->va_mtime = vap->va_mtime;
271 gethrestime(&map->va_ctime);
323 dv_setattr_cmp(struct vattr *map, mperm_t *mp)
325 if ((map->va_mode & S_IAMB) != (mp->mp_mode & S_IAMB))
327 if (map->va_uid != mp->mp_uid)
329 if (map->va_gid != mp->mp_gid)
347 struct vattr *map;
482 map = dv->dv_attr;
487 map->va_mode &= S_IFMT;
488 map->va_mode |= vap->va_mode & ~S_IFMT;
491 map->va_uid = vap->va_uid;
493 map->va_gid = vap->va_gid;
495 map->va_atime = vap->va_atime;
497 map->va_mtime = vap->va_mtime;
500 gethrestime(&map->va_ctime);
510 if ((dv_setattr_cmp(map, &mp) == 0) &&
546 /* If map still valid do TIME for free. */
547 if (dv->dv_attr == map) {
548 mask = map->va_mask;
549 map->va_mask =
551 error = VOP_SETATTR(dv->dv_attrvp, map,
553 map->va_mask = mask;