clnt.c (4e73e0eb633f8a1b5cbf20e7f42c6dbfec1d1ca7) clnt.c (aae2006e9b0c294114915c13022fa348e1a88023)
1/*
2 * linux/net/sunrpc/clnt.c
3 *
4 * This file contains the high-level RPC interface.
5 * It is modeled as a finite state machine to support both synchronous
6 * and asynchronous requests.
7 *
8 * - RPC header generation and argument serialization.

--- 681 unchanged lines hidden (view full) ---

690void rpc_force_rebind(struct rpc_clnt *clnt)
691{
692 if (clnt->cl_autobind)
693 xprt_clear_bound(clnt->cl_xprt);
694}
695EXPORT_SYMBOL_GPL(rpc_force_rebind);
696
697/*
1/*
2 * linux/net/sunrpc/clnt.c
3 *
4 * This file contains the high-level RPC interface.
5 * It is modeled as a finite state machine to support both synchronous
6 * and asynchronous requests.
7 *
8 * - RPC header generation and argument serialization.

--- 681 unchanged lines hidden (view full) ---

690void rpc_force_rebind(struct rpc_clnt *clnt)
691{
692 if (clnt->cl_autobind)
693 xprt_clear_bound(clnt->cl_xprt);
694}
695EXPORT_SYMBOL_GPL(rpc_force_rebind);
696
697/*
698 * Restart an (async) RPC call from the call_prepare state.
699 * Usually called from within the exit handler.
700 */
701void
702rpc_restart_call_prepare(struct rpc_task *task)
703{
704 if (RPC_ASSASSINATED(task))
705 return;
706 task->tk_action = rpc_prepare_task;
707}
708EXPORT_SYMBOL_GPL(rpc_restart_call_prepare);
709
710/*
698 * Restart an (async) RPC call. Usually called from within the
699 * exit handler.
700 */
701void
702rpc_restart_call(struct rpc_task *task)
703{
704 if (RPC_ASSASSINATED(task))
705 return;

--- 902 unchanged lines hidden ---
711 * Restart an (async) RPC call. Usually called from within the
712 * exit handler.
713 */
714void
715rpc_restart_call(struct rpc_task *task)
716{
717 if (RPC_ASSASSINATED(task))
718 return;

--- 902 unchanged lines hidden ---