Lines Matching defs:sp
825 struct nfsv2_sattr *sp;
830 NFSM_BUILD(sp, struct nfsv2_sattr *, NFSX_V2SATTR);
832 sp->sa_mode = newnfs_xdrneg1;
834 sp->sa_mode = vtonfsv2_mode(vap->va_type, vap->va_mode);
836 sp->sa_uid = newnfs_xdrneg1;
838 sp->sa_uid = txdr_unsigned(vap->va_uid);
840 sp->sa_gid = newnfs_xdrneg1;
842 sp->sa_gid = txdr_unsigned(vap->va_gid);
844 sp->sa_size = 0;
846 sp->sa_size = newnfs_xdrneg1;
848 sp->sa_size = txdr_unsigned(rdev);
850 sp->sa_size = txdr_unsigned(vap->va_size);
851 txdr_nfsv2time(&vap->va_atime, &sp->sa_atime);
852 txdr_nfsv2time(&vap->va_mtime, &sp->sa_mtime);