Lines Matching full:rpc

5  *  This file contains the high-level RPC interface.
9 * - RPC header generation and argument serialization.
126 pr_info("RPC: pipefs directory doesn't exist: %s\n", dir_name);
137 printk(KERN_INFO "RPC: Couldn't create pipefs entry"
312 dprintk("RPC: Couldn't create auth handle (flavor %u)\n",
511 * rpc_create - create an RPC client and transport with one call
514 * Creates and initializes an RPC transport and an RPC client.
595 * By default, kernel RPC client connects from a reserved port.
620 * This function clones the RPC client structure. It allows us to share the
667 * rpc_clone_client - Clone an RPC client structure
669 * @clnt: RPC client whose parameters are copied
671 * Returns a fresh RPC client or an ERR_PTR.
688 * rpc_clone_client_set_auth - Clone an RPC client structure and set its auth
690 * @clnt: RPC client whose parameters are copied
693 * Returns a fresh RPC client or an ERR_PTR.
711 * rpc_switch_client_transport: switch the RPC transport on the fly
716 * This function allows the caller to switch the RPC transport for the
719 * there are no active RPC tasks by using some form of locking.
839 * Iterates through the list of RPC transports currently attached to the
893 * rpc_cancel_tasks - try to cancel a set of RPC tasks
894 * @clnt: Pointer to RPC client
895 * @error: RPC task error value to set
899 * Uses @fnmatch to define a set of RPC tasks that are to be cancelled.
944 * Properly shut down an RPC client, terminating all outstanding
969 * Free an RPC client
1010 * Free an RPC client
1016 * Note: RPCSEC_GSS may need to send NULL RPC calls in order to
1030 * Release reference to the RPC client
1046 * rpc_bind_new_program - bind a new RPC program to an existing client
1048 * @program: rpc program to set
1049 * @vers: rpc program version
1051 * Clones the rpc client and sets up a new RPC program. This is mainly
1052 * of use for enabling different RPC programs to share the same transport.
1209 * Default callback for async RPC calls
1221 * rpc_run_task - Allocate a new RPC task, then run rpc_execute against it
1248 * rpc_call_sync - Perform a synchronous RPC call
1249 * @clnt: pointer to RPC client
1250 * @msg: RPC call parameters
1251 * @flags: RPC call flags
1281 * rpc_call_async - Perform an asynchronous RPC call
1282 * @clnt: pointer to RPC client
1283 * @msg: RPC call parameters
1284 * @flags: RPC call flags
1285 * @tk_ops: RPC call ops
1313 * rpc_run_bc_task - Allocate a new RPC task for backchannel use, then run
1315 * @req: RPC request
1328 dprintk("RPC: rpc_run_bc_task req= %p\n", req);
1345 dprintk("RPC: rpc_run_bc_task: task= %p\n", task);
1352 * @req: RPC request to prepare
1379 * @clnt: RPC client structure
1405 * @clnt: RPC client structure
1453 dprintk("RPC: can't create UDP socket (%d)\n", err);
1473 dprintk("RPC: can't bind UDP socket (%d)\n", err);
1479 dprintk("RPC: can't connect UDP socket (%d)\n", err);
1485 dprintk("RPC: getsockname failed (%d)\n", err);
1494 dprintk("RPC: %s succeeded\n", __func__);
1526 dprintk("RPC: %s: address family not supported\n",
1530 dprintk("RPC: %s: succeeded\n", __func__);
1535 * rpc_localaddr - discover local endpoint address for an RPC client
1536 * @clnt: RPC client structure
1590 * rpc_net_ns - Get the network namespace for this RPC client
1591 * @clnt: RPC client to query
1607 * @clnt: RPC client to query
1609 * For stream transports, this is one RPC record fragment (see RFC
1612 * RPC header sizes.
1627 * @clnt: RPC client to query
1680 * Restart an (async) RPC call. Usually called from within the
1691 * Restart an (async) RPC call from the call_prepare state.
1735 * this state is visited exactly once for each RPC.
1759 * 1. Reserve an RPC call slot
1812 * 1c. Retry reserving an RPC call slot
1894 * Calculate the size (in quads) of the RPC call
1960 * 3. Encode arguments of an RPC call
2077 /* fail immediately if this is an RPC ping */
2134 * 4b. Connect to the RPC server
2262 * 5. Transmit the RPC request, and wait for reply
2365 * 5b. Send the backchannel RPC reply. On error, drop the reply. In
2419 printk(KERN_NOTICE "RPC: Could not send backchannel reply "
2429 printk(KERN_NOTICE "RPC: Could not send backchannel reply "
2438 * 6. Sort out the RPC call status
2498 printk("%s: RPC call returned error %d\n",
2578 * 7. Decode the RPC reply
2818 pr_warn("RPC: server %s requires stronger authentication.\n",
3065 pr_info("RPC: rpc_clnt_test_xprt failed: %d addr %s not "
3340 printk(KERN_INFO "clnt[%pISpc] RPC tasks[%d]\n",