Lines Matching refs:rpcb
835 const struct rpcbind_args *rpcb = data; in rpcb_enc_mapping() local
839 *p++ = cpu_to_be32(rpcb->r_prog); in rpcb_enc_mapping()
840 *p++ = cpu_to_be32(rpcb->r_vers); in rpcb_enc_mapping()
841 *p++ = cpu_to_be32(rpcb->r_prot); in rpcb_enc_mapping()
842 *p = cpu_to_be32(rpcb->r_port); in rpcb_enc_mapping()
848 struct rpcbind_args *rpcb = data; in rpcb_dec_getport() local
852 rpcb->r_port = 0; in rpcb_dec_getport()
862 rpcb->r_port = port; in rpcb_dec_getport()
900 const struct rpcbind_args *rpcb = data; in rpcb_enc_getaddr() local
904 *p++ = cpu_to_be32(rpcb->r_prog); in rpcb_enc_getaddr()
905 *p = cpu_to_be32(rpcb->r_vers); in rpcb_enc_getaddr()
907 encode_rpcb_string(xdr, rpcb->r_netid, RPCBIND_MAXNETIDLEN); in rpcb_enc_getaddr()
908 encode_rpcb_string(xdr, rpcb->r_addr, RPCBIND_MAXUADDRLEN); in rpcb_enc_getaddr()
909 encode_rpcb_string(xdr, rpcb->r_owner, RPCB_MAXOWNERLEN); in rpcb_enc_getaddr()
915 struct rpcbind_args *rpcb = data; in rpcb_dec_getaddr() local
921 rpcb->r_port = 0; in rpcb_dec_getaddr()
945 rpcb->r_port = rpc_get_port(sap); in rpcb_dec_getaddr()