Lines Matching refs:htonl

154 	*p++ = htonl(nfs_ftypes[type >> 12]);  in encode_fattr()
155 *p++ = htonl((u32) stat->mode); in encode_fattr()
156 *p++ = htonl((u32) stat->nlink); in encode_fattr()
157 *p++ = htonl((u32) from_kuid(&init_user_ns, stat->uid)); in encode_fattr()
158 *p++ = htonl((u32) from_kgid(&init_user_ns, stat->gid)); in encode_fattr()
161 *p++ = htonl(NFS_MAXPATHLEN); in encode_fattr()
163 *p++ = htonl((u32) stat->size); in encode_fattr()
165 *p++ = htonl((u32) stat->blksize); in encode_fattr()
167 *p++ = htonl(new_encode_dev(stat->rdev)); in encode_fattr()
169 *p++ = htonl(0xffffffff); in encode_fattr()
170 *p++ = htonl((u32) stat->blocks); in encode_fattr()
174 *p++ = htonl(new_encode_dev(stat->dev)); in encode_fattr()
177 *p++ = htonl((u32) fhp->fh_export->ex_fsid); in encode_fattr()
184 *p++ = htonl(f); in encode_fattr()
187 *p++ = htonl((u32) stat->ino); in encode_fattr()
188 *p++ = htonl((u32) stat->atime.tv_sec); in encode_fattr()
189 *p++ = htonl(stat->atime.tv_nsec ? stat->atime.tv_nsec / 1000 : 0); in encode_fattr()
191 *p++ = htonl((u32) time.tv_sec); in encode_fattr()
192 *p++ = htonl(time.tv_nsec ? time.tv_nsec / 1000 : 0); in encode_fattr()
193 *p++ = htonl((u32) stat->ctime.tv_sec); in encode_fattr()
194 *p++ = htonl(stat->ctime.tv_nsec ? stat->ctime.tv_nsec / 1000 : 0); in encode_fattr()
438 *p++ = htonl(resp->len); in nfssvc_encode_readlinkres()
455 *p++ = htonl(resp->count); in nfssvc_encode_readres()
476 *p++ = htonl((resp->common.err == nfserr_eof)); in nfssvc_encode_readdirres()
488 *p++ = htonl(NFSSVC_MAXBLKSIZE_V2); /* max transfer size */ in nfssvc_encode_statfsres()
489 *p++ = htonl(stat->f_bsize); in nfssvc_encode_statfsres()
490 *p++ = htonl(stat->f_blocks); in nfssvc_encode_statfsres()
491 *p++ = htonl(stat->f_bfree); in nfssvc_encode_statfsres()
492 *p++ = htonl(stat->f_bavail); in nfssvc_encode_statfsres()
515 *cd->offset = htonl(offset); in nfssvc_encode_entry()
530 *p++ = htonl((u32) ino); /* file id */ in nfssvc_encode_entry()
533 *p++ = htonl(~0U); /* offset of next entry */ in nfssvc_encode_entry()