Lines Matching refs:msg

403 static int rpcb_register_call(struct sunrpc_net *sn, struct rpc_clnt *clnt, struct rpc_message *msg  in rpcb_register_call()  argument
410 msg->rpc_resp = &result; in rpcb_register_call()
412 error = rpc_call_sync(clnt, msg, flags); in rpcb_register_call()
462 struct rpc_message msg = { in rpcb_register() local
470 msg.rpc_proc = &rpcb_procedures2[RPCBPROC_UNSET]; in rpcb_register()
472 msg.rpc_proc = &rpcb_procedures2[RPCBPROC_SET]; in rpcb_register()
476 return rpcb_register_call(sn, sn->rpcb_local_clnt, &msg, is_set); in rpcb_register()
484 struct rpc_message *msg) in rpcb_register_inet4() argument
487 struct rpcbind_args *map = msg->rpc_argp; in rpcb_register_inet4()
494 msg->rpc_proc = &rpcb_procedures4[RPCBPROC_UNSET]; in rpcb_register_inet4()
496 msg->rpc_proc = &rpcb_procedures4[RPCBPROC_SET]; in rpcb_register_inet4()
500 result = rpcb_register_call(sn, sn->rpcb_local_clnt4, msg, is_set); in rpcb_register_inet4()
510 struct rpc_message *msg) in rpcb_register_inet6() argument
513 struct rpcbind_args *map = msg->rpc_argp; in rpcb_register_inet6()
520 msg->rpc_proc = &rpcb_procedures4[RPCBPROC_UNSET]; in rpcb_register_inet6()
522 msg->rpc_proc = &rpcb_procedures4[RPCBPROC_SET]; in rpcb_register_inet6()
526 result = rpcb_register_call(sn, sn->rpcb_local_clnt4, msg, is_set); in rpcb_register_inet6()
532 struct rpc_message *msg) in rpcb_unregister_all_protofamilies() argument
534 struct rpcbind_args *map = msg->rpc_argp; in rpcb_unregister_all_protofamilies()
539 msg->rpc_proc = &rpcb_procedures4[RPCBPROC_UNSET]; in rpcb_unregister_all_protofamilies()
541 return rpcb_register_call(sn, sn->rpcb_local_clnt4, msg, false); in rpcb_unregister_all_protofamilies()
597 struct rpc_message msg = { in rpcb_v4_register() local
606 return rpcb_unregister_all_protofamilies(sn, &msg); in rpcb_v4_register()
612 return rpcb_register_inet4(sn, address, &msg); in rpcb_v4_register()
614 return rpcb_register_inet6(sn, address, &msg); in rpcb_v4_register()
623 struct rpc_message msg = { in rpcb_call_async() local
630 .rpc_message = &msg, in rpcb_call_async()