clnt.c (33d90ac0581ce81d1ebfc51918a2757e41a6011c) clnt.c (1d658336b05f8697d6445834f8867f8ad5e4f735)
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.

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

683{
684 dprintk("RPC: rpc_release_client(%p)\n", clnt);
685
686 if (list_empty(&clnt->cl_tasks))
687 wake_up(&destroy_wait);
688 if (atomic_dec_and_test(&clnt->cl_count))
689 rpc_free_auth(clnt);
690}
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.

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

683{
684 dprintk("RPC: rpc_release_client(%p)\n", clnt);
685
686 if (list_empty(&clnt->cl_tasks))
687 wake_up(&destroy_wait);
688 if (atomic_dec_and_test(&clnt->cl_count))
689 rpc_free_auth(clnt);
690}
691EXPORT_SYMBOL_GPL(rpc_release_client);
691
692/**
693 * rpc_bind_new_program - bind a new RPC program to an existing client
694 * @old: old rpc_client
695 * @program: rpc program to set
696 * @vers: rpc program version
697 *
698 * Clones the rpc client and sets up a new RPC program. This is mainly

--- 1605 unchanged lines hidden ---
692
693/**
694 * rpc_bind_new_program - bind a new RPC program to an existing client
695 * @old: old rpc_client
696 * @program: rpc program to set
697 * @vers: rpc program version
698 *
699 * Clones the rpc client and sets up a new RPC program. This is mainly

--- 1605 unchanged lines hidden ---