Lines Matching defs:clnt
82 static void rpc_register_client(struct rpc_clnt *clnt) in rpc_register_client()
92 static void rpc_unregister_client(struct rpc_clnt *clnt) in rpc_unregister_client()
102 static void __rpc_clnt_remove_pipedir(struct rpc_clnt *clnt) in __rpc_clnt_remove_pipedir()
107 static void rpc_clnt_remove_pipedir(struct rpc_clnt *clnt) in rpc_clnt_remove_pipedir()
121 struct rpc_clnt *clnt) in rpc_setup_pipedir_sb()
151 rpc_setup_pipedir(struct super_block *pipefs_sb, struct rpc_clnt *clnt) in rpc_setup_pipedir()
165 static int rpc_clnt_skip_event(struct rpc_clnt *clnt, unsigned long event) in rpc_clnt_skip_event()
185 static int __rpc_clnt_handle_event(struct rpc_clnt *clnt, unsigned long event, in __rpc_clnt_handle_event()
208 static int __rpc_pipefs_event(struct rpc_clnt *clnt, unsigned long event, in __rpc_pipefs_event()
225 struct rpc_clnt *clnt; in rpc_get_client_for_event() local
242 struct rpc_clnt *clnt; in rpc_pipefs_event() local
268 static struct rpc_xprt *rpc_clnt_set_transport(struct rpc_clnt *clnt, in rpc_clnt_set_transport()
285 static void rpc_clnt_set_nodename(struct rpc_clnt *clnt, const char *nodename) in rpc_clnt_set_nodename()
291 static int rpc_client_register(struct rpc_clnt *clnt, in rpc_client_register()
344 static int rpc_alloc_clid(struct rpc_clnt *clnt) in rpc_alloc_clid()
355 static void rpc_free_clid(struct rpc_clnt *clnt) in rpc_free_clid()
367 struct rpc_clnt *clnt = NULL; in rpc_new_client() local
460 struct rpc_clnt *clnt = NULL; in rpc_create_xprt() local
541 struct rpc_clnt *clnt; in rpc_create() local
630 struct rpc_clnt *clnt) in __rpc_clone_client()
677 struct rpc_clnt *rpc_clone_client(struct rpc_clnt *clnt) in rpc_clone_client()
700 rpc_clone_client_set_auth(struct rpc_clnt *clnt, rpc_authflavor_t flavor) in rpc_clone_client_set_auth()
729 int rpc_switch_client_transport(struct rpc_clnt *clnt, in rpc_switch_client_transport()
800 int _rpc_clnt_xprt_iter_init(struct rpc_clnt *clnt, struct rpc_xprt_iter *xpi, in _rpc_clnt_xprt_iter_init()
816 int rpc_clnt_xprt_iter_init(struct rpc_clnt *clnt, struct rpc_xprt_iter *xpi) in rpc_clnt_xprt_iter_init()
822 int rpc_clnt_xprt_iter_offline_init(struct rpc_clnt *clnt, in rpc_clnt_xprt_iter_offline_init()
839 int rpc_clnt_iterate_for_each_xprt(struct rpc_clnt *clnt, in rpc_clnt_iterate_for_each_xprt()
868 void rpc_killall_tasks(struct rpc_clnt *clnt) in rpc_killall_tasks()
897 unsigned long rpc_cancel_tasks(struct rpc_clnt *clnt, int error, in rpc_cancel_tasks()
924 static int rpc_clnt_disconnect_xprt(struct rpc_clnt *clnt, in rpc_clnt_disconnect_xprt()
932 void rpc_clnt_disconnect(struct rpc_clnt *clnt) in rpc_clnt_disconnect()
942 void rpc_shutdown_client(struct rpc_clnt *clnt) in rpc_shutdown_client()
963 struct rpc_clnt *clnt = container_of(work, struct rpc_clnt, cl_work); in rpc_free_client_work() local
981 rpc_free_client(struct rpc_clnt *clnt) in rpc_free_client()
1003 rpc_free_auth(struct rpc_clnt *clnt) in rpc_free_auth()
1023 rpc_release_client(struct rpc_clnt *clnt) in rpc_release_client()
1058 struct rpc_clnt *clnt; in rpc_bind_new_program() local
1075 rpc_task_get_xprt(struct rpc_clnt *clnt, struct rpc_xprt *xprt) in rpc_task_get_xprt()
1091 rpc_task_release_xprt(struct rpc_clnt *clnt, struct rpc_xprt *xprt) in rpc_task_release_xprt()
1120 struct rpc_clnt *clnt = task->tk_client; in rpc_task_release_client() local
1135 rpc_task_get_first_xprt(struct rpc_clnt *clnt) in rpc_task_get_first_xprt()
1146 rpc_task_get_next_xprt(struct rpc_clnt *clnt) in rpc_task_get_next_xprt()
1152 void rpc_task_set_transport(struct rpc_task *task, struct rpc_clnt *clnt) in rpc_task_set_transport()
1168 void rpc_task_set_client(struct rpc_task *task, struct rpc_clnt *clnt) in rpc_task_set_client()
1243 int rpc_call_sync(struct rpc_clnt *clnt, const struct rpc_message *msg, int flags) in rpc_call_sync()
1279 rpc_call_async(struct rpc_clnt *clnt, const struct rpc_message *msg, int flags, in rpc_call_async()
1373 size_t rpc_peeraddr(struct rpc_clnt *clnt, struct sockaddr *buf, size_t bufsize) in rpc_peeraddr()
1400 const char *rpc_peeraddr2str(struct rpc_clnt *clnt, in rpc_peeraddr2str()
1538 int rpc_localaddr(struct rpc_clnt *clnt, struct sockaddr *buf, size_t buflen) in rpc_localaddr()
1565 rpc_setbufsize(struct rpc_clnt *clnt, unsigned int sndsize, unsigned int rcvsize) in rpc_setbufsize()
1582 struct net *rpc_net_ns(struct rpc_clnt *clnt) in rpc_net_ns()
1602 size_t rpc_max_payload(struct rpc_clnt *clnt) in rpc_max_payload()
1617 size_t rpc_max_bc_payload(struct rpc_clnt *clnt) in rpc_max_bc_payload()
1630 unsigned int rpc_num_bc_slots(struct rpc_clnt *clnt) in rpc_num_bc_slots()
1648 void rpc_force_rebind(struct rpc_clnt *clnt) in rpc_force_rebind()
1728 struct rpc_clnt *clnt = task->tk_client; in call_start() local
2156 struct rpc_clnt *clnt = task->tk_client; in call_connect_status() local
2427 struct rpc_clnt *clnt = task->tk_client; in call_status() local
2502 struct rpc_clnt *clnt = task->tk_client; in rpc_check_timeout() local
2564 struct rpc_clnt *clnt = task->tk_client; in call_decode() local
2633 struct rpc_clnt *clnt = task->tk_client; in rpc_encode_header() local
2662 struct rpc_clnt *clnt = task->tk_client; in rpc_decode_header() local
2830 struct rpc_task *rpc_call_null_helper(struct rpc_clnt *clnt, in rpc_call_null_helper()
2851 struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred, int flags) in rpc_call_null()
2857 static int rpc_ping(struct rpc_clnt *clnt) in rpc_ping()
2873 static int rpc_ping_noreply(struct rpc_clnt *clnt) in rpc_ping_noreply()
2930 int rpc_clnt_test_and_add_xprt(struct rpc_clnt *clnt, in rpc_clnt_test_and_add_xprt()
2971 static int rpc_clnt_add_xprt_helper(struct rpc_clnt *clnt, in rpc_clnt_add_xprt_helper()
3013 int rpc_clnt_setup_test_and_add_xprt(struct rpc_clnt *clnt, in rpc_clnt_setup_test_and_add_xprt()
3056 int rpc_clnt_add_xprt(struct rpc_clnt *clnt, in rpc_clnt_add_xprt()
3121 static int rpc_xprt_probe_trunked(struct rpc_clnt *clnt, in rpc_xprt_probe_trunked()
3155 void rpc_clnt_probe_trunked_xprts(struct rpc_clnt *clnt, in rpc_clnt_probe_trunked_xprts()
3179 static int rpc_xprt_offline(struct rpc_clnt *clnt, in rpc_xprt_offline()
3219 void rpc_clnt_manage_trunked_xprts(struct rpc_clnt *clnt) in rpc_clnt_manage_trunked_xprts()
3231 rpc_xprt_set_connect_timeout(struct rpc_clnt *clnt, in rpc_xprt_set_connect_timeout()
3245 rpc_set_connect_timeout(struct rpc_clnt *clnt, in rpc_set_connect_timeout()
3259 void rpc_clnt_xprt_switch_put(struct rpc_clnt *clnt) in rpc_clnt_xprt_switch_put()
3267 void rpc_clnt_xprt_set_online(struct rpc_clnt *clnt, struct rpc_xprt *xprt) in rpc_clnt_xprt_set_online()
3277 void rpc_clnt_xprt_switch_add_xprt(struct rpc_clnt *clnt, struct rpc_xprt *xprt) in rpc_clnt_xprt_switch_add_xprt()
3290 void rpc_clnt_xprt_switch_remove_xprt(struct rpc_clnt *clnt, struct rpc_xprt *xprt) in rpc_clnt_xprt_switch_remove_xprt()
3303 bool rpc_clnt_xprt_switch_has_addr(struct rpc_clnt *clnt, in rpc_clnt_xprt_switch_has_addr()
3324 static void rpc_show_task(const struct rpc_clnt *clnt, in rpc_show_task()
3341 struct rpc_clnt *clnt; in rpc_show_tasks() local
3364 rpc_clnt_swap_activate_callback(struct rpc_clnt *clnt, in rpc_clnt_swap_activate_callback()
3372 rpc_clnt_swap_activate(struct rpc_clnt *clnt) in rpc_clnt_swap_activate()
3384 rpc_clnt_swap_deactivate_callback(struct rpc_clnt *clnt, in rpc_clnt_swap_deactivate_callback()
3393 rpc_clnt_swap_deactivate(struct rpc_clnt *clnt) in rpc_clnt_swap_deactivate()