Lines Matching refs:cpu_to_be32
2299 *p++ = cpu_to_be32(convert_to_wallclock(exp->cd->flush_time)); in encode_change()
2304 *p++ = cpu_to_be32(stat->ctime.tv_sec); in encode_change()
2305 *p++ = cpu_to_be32(stat->ctime.tv_nsec); in encode_change()
2330 *p++ = cpu_to_be32(ts.tv_nsec); in encode_time_delta()
2337 *p++ = cpu_to_be32(c->atomic); in encode_cinfo()
2342 *p++ = cpu_to_be32(c->before_ctime_sec); in encode_cinfo()
2343 *p++ = cpu_to_be32(c->before_ctime_nsec); in encode_cinfo()
2344 *p++ = cpu_to_be32(c->after_ctime_sec); in encode_cinfo()
2345 *p++ = cpu_to_be32(c->after_ctime_nsec); in encode_cinfo()
2480 *p++ = cpu_to_be32(ncomponents); in nfsd4_encode_path()
2541 *p++ = cpu_to_be32(fslocs->locations_count); in nfsd4_encode_fs_locations()
2586 *p++ = cpu_to_be32(i); in nfsd4_encode_layout_types()
2590 *p++ = cpu_to_be32(i); in nfsd4_encode_layout_types()
2615 *p++ = cpu_to_be32(0); /* lfs */ in nfsd4_encode_security_label()
2616 *p++ = cpu_to_be32(0); /* pi */ in nfsd4_encode_security_label()
2669 *p++ = cpu_to_be32(3); in nfsd4_encode_bitmap()
2670 *p++ = cpu_to_be32(bmval0); in nfsd4_encode_bitmap()
2671 *p++ = cpu_to_be32(bmval1); in nfsd4_encode_bitmap()
2672 *p++ = cpu_to_be32(bmval2); in nfsd4_encode_bitmap()
2677 *p++ = cpu_to_be32(2); in nfsd4_encode_bitmap()
2678 *p++ = cpu_to_be32(bmval0); in nfsd4_encode_bitmap()
2679 *p++ = cpu_to_be32(bmval1); in nfsd4_encode_bitmap()
2684 *p++ = cpu_to_be32(1); in nfsd4_encode_bitmap()
2685 *p++ = cpu_to_be32(bmval0); in nfsd4_encode_bitmap()
2815 *p++ = cpu_to_be32(2); in nfsd4_encode_fattr()
2816 *p++ = cpu_to_be32(supp[0]); in nfsd4_encode_fattr()
2817 *p++ = cpu_to_be32(supp[1]); in nfsd4_encode_fattr()
2822 *p++ = cpu_to_be32(3); in nfsd4_encode_fattr()
2823 *p++ = cpu_to_be32(supp[0]); in nfsd4_encode_fattr()
2824 *p++ = cpu_to_be32(supp[1]); in nfsd4_encode_fattr()
2825 *p++ = cpu_to_be32(supp[2]); in nfsd4_encode_fattr()
2837 *p++ = cpu_to_be32(dummy); in nfsd4_encode_fattr()
2844 *p++ = cpu_to_be32(NFS4_FH_PERSISTENT); in nfsd4_encode_fattr()
2846 *p++ = cpu_to_be32(NFS4_FH_PERSISTENT| in nfsd4_encode_fattr()
2865 *p++ = cpu_to_be32(1); in nfsd4_encode_fattr()
2871 *p++ = cpu_to_be32(1); in nfsd4_encode_fattr()
2877 *p++ = cpu_to_be32(0); in nfsd4_encode_fattr()
2892 *p++ = cpu_to_be32(0); in nfsd4_encode_fattr()
2893 *p++ = cpu_to_be32(MAJOR(stat.dev)); in nfsd4_encode_fattr()
2894 *p++ = cpu_to_be32(0); in nfsd4_encode_fattr()
2895 *p++ = cpu_to_be32(MINOR(stat.dev)); in nfsd4_encode_fattr()
2907 *p++ = cpu_to_be32(0); in nfsd4_encode_fattr()
2913 *p++ = cpu_to_be32(nn->nfsd4_lease); in nfsd4_encode_fattr()
2919 *p++ = cpu_to_be32(rdattr_err); in nfsd4_encode_fattr()
2929 *p++ = cpu_to_be32(0); in nfsd4_encode_fattr()
2935 *p++ = cpu_to_be32(acl->naces); in nfsd4_encode_fattr()
2941 *p++ = cpu_to_be32(ace->type); in nfsd4_encode_fattr()
2942 *p++ = cpu_to_be32(ace->flag); in nfsd4_encode_fattr()
2943 *p++ = cpu_to_be32(ace->access_mask & in nfsd4_encode_fattr()
2955 *p++ = cpu_to_be32(IS_POSIXACL(dentry->d_inode) ? in nfsd4_encode_fattr()
2962 *p++ = cpu_to_be32(1); in nfsd4_encode_fattr()
2968 *p++ = cpu_to_be32(0); in nfsd4_encode_fattr()
2974 *p++ = cpu_to_be32(1); in nfsd4_encode_fattr()
2980 *p++ = cpu_to_be32(1); in nfsd4_encode_fattr()
3022 *p++ = cpu_to_be32(1); in nfsd4_encode_fattr()
3034 *p++ = cpu_to_be32(255); in nfsd4_encode_fattr()
3040 *p++ = cpu_to_be32(statfs.f_namelen); in nfsd4_encode_fattr()
3058 *p++ = cpu_to_be32(stat.mode & S_IALLUGO); in nfsd4_encode_fattr()
3064 *p++ = cpu_to_be32(1); in nfsd4_encode_fattr()
3070 *p++ = cpu_to_be32(stat.nlink); in nfsd4_encode_fattr()
3086 *p++ = cpu_to_be32((u32) MAJOR(stat.rdev)); in nfsd4_encode_fattr()
3087 *p++ = cpu_to_be32((u32) MINOR(stat.rdev)); in nfsd4_encode_fattr()
3122 *p++ = cpu_to_be32(stat.atime.tv_nsec); in nfsd4_encode_fattr()
3135 *p++ = cpu_to_be32(stat.ctime.tv_nsec); in nfsd4_encode_fattr()
3142 *p++ = cpu_to_be32(stat.mtime.tv_nsec); in nfsd4_encode_fattr()
3181 *p++ = cpu_to_be32(stat.blksize); in nfsd4_encode_fattr()
3202 *p++ = cpu_to_be32(NFS4_CHANGE_TYPE_IS_MONOTONIC_INCR); in nfsd4_encode_fattr()
3204 *p++ = cpu_to_be32(NFS4_CHANGE_TYPE_IS_TIME_METADATA); in nfsd4_encode_fattr()
3222 *p++ = cpu_to_be32(err == 0); in nfsd4_encode_fattr()
3472 *p++ = cpu_to_be32(sid->si_generation); in nfsd4_encode_stateid()
3487 *p++ = cpu_to_be32(access->ac_supported); in nfsd4_encode_access()
3488 *p++ = cpu_to_be32(access->ac_resp_access); in nfsd4_encode_access()
3502 *p++ = cpu_to_be32(bcts->dir); in nfsd4_encode_bind_conn_to_session()
3504 *p++ = cpu_to_be32(0); in nfsd4_encode_bind_conn_to_session()
3598 *p++ = cpu_to_be32(ld->ld_type); in nfsd4_encode_lock_denied()
3605 *p++ = cpu_to_be32(0); /* length of owner name */ in nfsd4_encode_lock_denied()
3669 *p++ = cpu_to_be32(open->op_rflags); in nfsd4_encode_open()
3680 *p++ = cpu_to_be32(open->op_delegate_type); in nfsd4_encode_open()
3691 *p++ = cpu_to_be32(open->op_recall); in nfsd4_encode_open()
3696 *p++ = cpu_to_be32(NFS4_ACE_ACCESS_ALLOWED_ACE_TYPE); in nfsd4_encode_open()
3697 *p++ = cpu_to_be32(0); in nfsd4_encode_open()
3698 *p++ = cpu_to_be32(0); in nfsd4_encode_open()
3699 *p++ = cpu_to_be32(0); /* XXX: is NULL principal ok? */ in nfsd4_encode_open()
3708 *p++ = cpu_to_be32(0); in nfsd4_encode_open()
3713 *p++ = cpu_to_be32(NFS4_LIMIT_SIZE); in nfsd4_encode_open()
3714 *p++ = cpu_to_be32(~(u32)0); in nfsd4_encode_open()
3715 *p++ = cpu_to_be32(~(u32)0); in nfsd4_encode_open()
3720 *p++ = cpu_to_be32(NFS4_ACE_ACCESS_ALLOWED_ACE_TYPE); in nfsd4_encode_open()
3721 *p++ = cpu_to_be32(0); in nfsd4_encode_open()
3722 *p++ = cpu_to_be32(0); in nfsd4_encode_open()
3723 *p++ = cpu_to_be32(0); /* XXX: is NULL principal ok? */ in nfsd4_encode_open()
3732 *p++ = cpu_to_be32(open->op_why_no_deleg); in nfsd4_encode_open()
3734 *p++ = cpu_to_be32(0); in nfsd4_encode_open()
3740 *p++ = cpu_to_be32(open->op_why_no_deleg); in nfsd4_encode_open()
3964 *p++ = cpu_to_be32(0); in nfsd4_encode_readdir()
3965 *p++ = cpu_to_be32(0); in nfsd4_encode_readdir()
4111 *p++ = cpu_to_be32(RPC_AUTH_GSS); in nfsd4_do_encode_secinfo()
4113 *p++ = cpu_to_be32(info.qop); in nfsd4_do_encode_secinfo()
4114 *p++ = cpu_to_be32(info.service); in nfsd4_do_encode_secinfo()
4120 *p++ = cpu_to_be32(pf); in nfsd4_do_encode_secinfo()
4166 *p++ = cpu_to_be32(3); in nfsd4_encode_setattr()
4167 *p++ = cpu_to_be32(0); in nfsd4_encode_setattr()
4168 *p++ = cpu_to_be32(0); in nfsd4_encode_setattr()
4169 *p++ = cpu_to_be32(0); in nfsd4_encode_setattr()
4172 *p++ = cpu_to_be32(3); in nfsd4_encode_setattr()
4173 *p++ = cpu_to_be32(setattr->sa_bmval[0]); in nfsd4_encode_setattr()
4174 *p++ = cpu_to_be32(setattr->sa_bmval[1]); in nfsd4_encode_setattr()
4175 *p++ = cpu_to_be32(setattr->sa_bmval[2]); in nfsd4_encode_setattr()
4198 *p++ = cpu_to_be32(0); in nfsd4_encode_setclientid()
4199 *p++ = cpu_to_be32(0); in nfsd4_encode_setclientid()
4213 *p++ = cpu_to_be32(write->wr_bytes_written); in nfsd4_encode_write()
4214 *p++ = cpu_to_be32(write->wr_how_written); in nfsd4_encode_write()
4247 *p++ = cpu_to_be32(exid->seqid); in nfsd4_encode_exchange_id()
4248 *p++ = cpu_to_be32(exid->flags); in nfsd4_encode_exchange_id()
4250 *p++ = cpu_to_be32(exid->spa_how); in nfsd4_encode_exchange_id()
4294 *p++ = cpu_to_be32(0); /* zero length nfs_impl_id4 array */ in nfsd4_encode_exchange_id()
4310 *p++ = cpu_to_be32(sess->seqid); in nfsd4_encode_create_session()
4311 *p++ = cpu_to_be32(sess->flags); in nfsd4_encode_create_session()
4316 *p++ = cpu_to_be32(0); /* headerpadsz */ in nfsd4_encode_create_session()
4317 *p++ = cpu_to_be32(sess->fore_channel.maxreq_sz); in nfsd4_encode_create_session()
4318 *p++ = cpu_to_be32(sess->fore_channel.maxresp_sz); in nfsd4_encode_create_session()
4319 *p++ = cpu_to_be32(sess->fore_channel.maxresp_cached); in nfsd4_encode_create_session()
4320 *p++ = cpu_to_be32(sess->fore_channel.maxops); in nfsd4_encode_create_session()
4321 *p++ = cpu_to_be32(sess->fore_channel.maxreqs); in nfsd4_encode_create_session()
4322 *p++ = cpu_to_be32(sess->fore_channel.nr_rdma_attrs); in nfsd4_encode_create_session()
4328 *p++ = cpu_to_be32(sess->fore_channel.rdma_attrs); in nfsd4_encode_create_session()
4334 *p++ = cpu_to_be32(0); /* headerpadsz */ in nfsd4_encode_create_session()
4335 *p++ = cpu_to_be32(sess->back_channel.maxreq_sz); in nfsd4_encode_create_session()
4336 *p++ = cpu_to_be32(sess->back_channel.maxresp_sz); in nfsd4_encode_create_session()
4337 *p++ = cpu_to_be32(sess->back_channel.maxresp_cached); in nfsd4_encode_create_session()
4338 *p++ = cpu_to_be32(sess->back_channel.maxops); in nfsd4_encode_create_session()
4339 *p++ = cpu_to_be32(sess->back_channel.maxreqs); in nfsd4_encode_create_session()
4340 *p++ = cpu_to_be32(sess->back_channel.nr_rdma_attrs); in nfsd4_encode_create_session()
4346 *p++ = cpu_to_be32(sess->back_channel.rdma_attrs); in nfsd4_encode_create_session()
4363 *p++ = cpu_to_be32(seq->seqid); in nfsd4_encode_sequence()
4364 *p++ = cpu_to_be32(seq->slotid); in nfsd4_encode_sequence()
4366 *p++ = cpu_to_be32(seq->maxslots - 1); /* sr_highest_slotid */ in nfsd4_encode_sequence()
4367 *p++ = cpu_to_be32(seq->maxslots - 1); /* sr_target_highest_slotid */ in nfsd4_encode_sequence()
4368 *p++ = cpu_to_be32(seq->status_flags); in nfsd4_encode_sequence()
4408 *p++ = cpu_to_be32(gdev->gd_layout_type); in nfsd4_encode_getdeviceinfo()
4430 *p++ = cpu_to_be32(1); /* bitmap length */ in nfsd4_encode_getdeviceinfo()
4431 *p++ = cpu_to_be32(gdev->gd_notify_types); in nfsd4_encode_getdeviceinfo()
4447 *p++ = cpu_to_be32(needed_len); in nfsd4_encode_getdeviceinfo()
4463 *p++ = cpu_to_be32(1); /* we always set return-on-close */ in nfsd4_encode_layoutget()
4464 *p++ = cpu_to_be32(lgp->lg_sid.si_generation); in nfsd4_encode_layoutget()
4468 *p++ = cpu_to_be32(1); /* we always return a single layout */ in nfsd4_encode_layoutget()
4471 *p++ = cpu_to_be32(lgp->lg_seg.iomode); in nfsd4_encode_layoutget()
4472 *p++ = cpu_to_be32(lgp->lg_layout_type); in nfsd4_encode_layoutget()
4488 *p++ = cpu_to_be32(lcp->lc_size_chg); in nfsd4_encode_layoutcommit()
4509 *p++ = cpu_to_be32(lrp->lrs_present); in nfsd4_encode_layoutreturn()
4526 *p++ = cpu_to_be32(0); in nfsd42_encode_write_res()
4529 *p++ = cpu_to_be32(1); in nfsd42_encode_write_res()
4539 *p++ = cpu_to_be32(write->wr_stable_how); in nfsd42_encode_write_res()
4553 *p++ = cpu_to_be32(ns->nl4_type); in nfsd42_encode_nl4_server()
4570 *p++ = cpu_to_be32(addr->netid_len); in nfsd42_encode_nl4_server()
4573 *p++ = cpu_to_be32(addr->addr_len); in nfsd42_encode_nl4_server()
4598 *p++ = cpu_to_be32(copy->cp_synchronous); in nfsd4_encode_copy()
4613 *p++ = cpu_to_be32(0); in nfsd4_encode_offload_status()
4784 *p++ = cpu_to_be32(cn->cpn_nsec); in nfsd4_encode_copy_notify()
4796 *p++ = cpu_to_be32(1); in nfsd4_encode_copy_notify()
4808 *p++ = cpu_to_be32(seek->seek_eof); in nfsd4_encode_seek()
4875 *p = cpu_to_be32(getxattr->getxa_len); in nfsd4_encode_getxattr()
5027 *p = cpu_to_be32(eof); in nfsd4_encode_listxattrs()
5032 tmp = cpu_to_be32(count); in nfsd4_encode_listxattrs()
5197 *p++ = cpu_to_be32(op->opnum); in nfsd4_encode_operation()
5271 *p++ = cpu_to_be32(op->opnum); in nfsd4_encode_replay()