Lines Matching refs:htonl
140 *p++ = htonl(nfs_ftypes[type >> 12]);
141 *p++ = htonl((u32) stat->mode);
142 *p++ = htonl((u32) stat->nlink);
143 *p++ = htonl((u32) from_kuid_munged(userns, stat->uid));
144 *p++ = htonl((u32) from_kgid_munged(userns, stat->gid));
147 *p++ = htonl(NFS_MAXPATHLEN);
149 *p++ = htonl((u32) stat->size);
151 *p++ = htonl((u32) stat->blksize);
153 *p++ = htonl(new_encode_dev(stat->rdev));
155 *p++ = htonl(0xffffffff);
156 *p++ = htonl((u32) stat->blocks);
160 *p++ = htonl(new_encode_dev(stat->dev));
163 *p++ = htonl((u32) fhp->fh_export->ex_fsid);
170 *p++ = htonl(f);
173 *p++ = htonl((u32) stat->ino);
174 *p++ = htonl((u32) stat->atime.tv_sec);
175 *p++ = htonl(stat->atime.tv_nsec ? stat->atime.tv_nsec / 1000 : 0);
178 *p++ = htonl((u32) time.tv_sec);
179 *p++ = htonl(time.tv_nsec ? time.tv_nsec / 1000 : 0);
180 *p++ = htonl((u32) stat->ctime.tv_sec);
181 *p++ = htonl(stat->ctime.tv_nsec ? stat->ctime.tv_nsec / 1000 : 0);
477 *p++ = htonl(resp->len);
499 *p++ = htonl(resp->count);
525 *p++ = htonl((resp->common.err == nfserr_eof));
541 *p++ = htonl(NFSSVC_MAXBLKSIZE_V2); /* max transfer size */
542 *p++ = htonl(stat->f_bsize);
543 *p++ = htonl(stat->f_blocks);
544 *p++ = htonl(stat->f_bfree);
545 *p++ = htonl(stat->f_bavail);
568 *cd->offset = htonl(offset);
583 *p++ = htonl((u32) ino); /* file id */
586 *p++ = htonl(~0U); /* offset of next entry */