Lines Matching refs:cpu_to_be32
89 *p++ = cpu_to_be32((u32)time->tv_sec); in encode_timeval()
91 *p++ = cpu_to_be32(time->tv_nsec / NSEC_PER_USEC); in encode_timeval()
228 *p++ = cpu_to_be32(nfs_ftypes[type >> 12]); in svcxdr_encode_fattr()
229 *p++ = cpu_to_be32((u32)stat->mode); in svcxdr_encode_fattr()
230 *p++ = cpu_to_be32((u32)stat->nlink); in svcxdr_encode_fattr()
231 *p++ = cpu_to_be32((u32)from_kuid_munged(userns, stat->uid)); in svcxdr_encode_fattr()
232 *p++ = cpu_to_be32((u32)from_kgid_munged(userns, stat->gid)); in svcxdr_encode_fattr()
235 *p++ = cpu_to_be32(NFS_MAXPATHLEN); in svcxdr_encode_fattr()
237 *p++ = cpu_to_be32((u32) stat->size); in svcxdr_encode_fattr()
238 *p++ = cpu_to_be32((u32) stat->blksize); in svcxdr_encode_fattr()
240 *p++ = cpu_to_be32(new_encode_dev(stat->rdev)); in svcxdr_encode_fattr()
242 *p++ = cpu_to_be32(0xffffffff); in svcxdr_encode_fattr()
243 *p++ = cpu_to_be32((u32)stat->blocks); in svcxdr_encode_fattr()
259 *p++ = cpu_to_be32(fsid); in svcxdr_encode_fattr()
261 *p++ = cpu_to_be32((u32)stat->ino); in svcxdr_encode_fattr()
540 *p++ = cpu_to_be32(NFSSVC_MAXBLKSIZE_V2); in nfssvc_encode_statfsres()
541 *p++ = cpu_to_be32(stat->f_bsize); in nfssvc_encode_statfsres()
542 *p++ = cpu_to_be32(stat->f_blocks); in nfssvc_encode_statfsres()
543 *p++ = cpu_to_be32(stat->f_bfree); in nfssvc_encode_statfsres()
544 *p = cpu_to_be32(stat->f_bavail); in nfssvc_encode_statfsres()
561 __be32 cookie = cpu_to_be32(offset); in nfssvc_encode_nfscookie()