Lines Matching defs:fap
4193 vattr_to_fattr3(struct vattr *vap, fattr3 *fap)
4201 fap->type = vt_to_nf3[vap->va_type];
4202 fap->mode = (mode3)(vap->va_mode & MODEMASK);
4203 fap->nlink = (uint32)vap->va_nlink;
4205 fap->uid = (uid3)NFS_UID_NOBODY;
4207 fap->uid = (uid3)vap->va_uid;
4209 fap->gid = (gid3)NFS_GID_NOBODY;
4211 fap->gid = (gid3)vap->va_gid;
4212 fap->size = (size3)vap->va_size;
4213 fap->used = (size3)DEV_BSIZE * (size3)vap->va_nblocks;
4214 fap->rdev.specdata1 = (uint32)getmajor(vap->va_rdev);
4215 fap->rdev.specdata2 = (uint32)getminor(vap->va_rdev);
4216 fap->fsid = (uint64)vap->va_fsid;
4217 fap->fileid = (fileid3)vap->va_nodeid;
4218 fap->atime.seconds = vap->va_atime.tv_sec;
4219 fap->atime.nseconds = vap->va_atime.tv_nsec;
4220 fap->mtime.seconds = vap->va_mtime.tv_sec;
4221 fap->mtime.nseconds = vap->va_mtime.tv_nsec;
4222 fap->ctime.seconds = vap->va_ctime.tv_sec;
4223 fap->ctime.nseconds = vap->va_ctime.tv_nsec;