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()
120 struct rpc_clnt *clnt) in rpc_setup_pipedir_sb()
150 rpc_setup_pipedir(struct super_block *pipefs_sb, struct rpc_clnt *clnt) in rpc_setup_pipedir()
162 static int rpc_clnt_skip_event(struct rpc_clnt *clnt, unsigned long event) in rpc_clnt_skip_event()
182 static int __rpc_clnt_handle_event(struct rpc_clnt *clnt, unsigned long event, in __rpc_clnt_handle_event()
205 static int __rpc_pipefs_event(struct rpc_clnt *clnt, unsigned long event, in __rpc_pipefs_event()
222 struct rpc_clnt *clnt; in rpc_get_client_for_event() local
239 struct rpc_clnt *clnt; in rpc_pipefs_event() local
265 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
459 struct rpc_clnt *clnt = NULL; in rpc_create_xprt() local
537 struct rpc_clnt *clnt; in rpc_create() local
622 struct rpc_clnt *clnt) in __rpc_clone_client()
669 struct rpc_clnt *rpc_clone_client(struct rpc_clnt *clnt) in rpc_clone_client()
691 rpc_clone_client_set_auth(struct rpc_clnt *clnt, rpc_authflavor_t flavor) in rpc_clone_client_set_auth()
719 int rpc_switch_client_transport(struct rpc_clnt *clnt, in rpc_switch_client_transport()
789 int _rpc_clnt_xprt_iter_init(struct rpc_clnt *clnt, struct rpc_xprt_iter *xpi, in _rpc_clnt_xprt_iter_init()
805 int rpc_clnt_xprt_iter_init(struct rpc_clnt *clnt, struct rpc_xprt_iter *xpi) in rpc_clnt_xprt_iter_init()
811 int rpc_clnt_xprt_iter_offline_init(struct rpc_clnt *clnt, in rpc_clnt_xprt_iter_offline_init()
828 int rpc_clnt_iterate_for_each_xprt(struct rpc_clnt *clnt, in rpc_clnt_iterate_for_each_xprt()
857 void rpc_killall_tasks(struct rpc_clnt *clnt) in rpc_killall_tasks()
886 unsigned long rpc_cancel_tasks(struct rpc_clnt *clnt, int error, in rpc_cancel_tasks()
913 static int rpc_clnt_disconnect_xprt(struct rpc_clnt *clnt, in rpc_clnt_disconnect_xprt()
921 void rpc_clnt_disconnect(struct rpc_clnt *clnt) in rpc_clnt_disconnect()
931 void rpc_shutdown_client(struct rpc_clnt *clnt) in rpc_shutdown_client()
952 struct rpc_clnt *clnt = container_of(work, struct rpc_clnt, cl_work); in rpc_free_client_work() local
970 rpc_free_client(struct rpc_clnt *clnt) in rpc_free_client()
992 rpc_free_auth(struct rpc_clnt *clnt) in rpc_free_auth()
1012 rpc_release_client(struct rpc_clnt *clnt) in rpc_release_client()
1045 struct rpc_clnt *clnt; in rpc_bind_new_program() local
1062 rpc_task_get_xprt(struct rpc_clnt *clnt, struct rpc_xprt *xprt) in rpc_task_get_xprt()
1078 rpc_task_release_xprt(struct rpc_clnt *clnt, struct rpc_xprt *xprt) in rpc_task_release_xprt()
1107 struct rpc_clnt *clnt = task->tk_client; in rpc_task_release_client() local
1122 rpc_task_get_first_xprt(struct rpc_clnt *clnt) in rpc_task_get_first_xprt()
1133 rpc_task_get_next_xprt(struct rpc_clnt *clnt) in rpc_task_get_next_xprt()
1139 void rpc_task_set_transport(struct rpc_task *task, struct rpc_clnt *clnt) in rpc_task_set_transport()
1155 void rpc_task_set_client(struct rpc_task *task, struct rpc_clnt *clnt) in rpc_task_set_client()
1230 int rpc_call_sync(struct rpc_clnt *clnt, const struct rpc_message *msg, int flags) in rpc_call_sync()
1266 rpc_call_async(struct rpc_clnt *clnt, const struct rpc_message *msg, int flags, in rpc_call_async()
1360 size_t rpc_peeraddr(struct rpc_clnt *clnt, struct sockaddr *buf, size_t bufsize) in rpc_peeraddr()
1387 const char *rpc_peeraddr2str(struct rpc_clnt *clnt, in rpc_peeraddr2str()
1525 int rpc_localaddr(struct rpc_clnt *clnt, struct sockaddr *buf, size_t buflen) in rpc_localaddr()
1552 rpc_setbufsize(struct rpc_clnt *clnt, unsigned int sndsize, unsigned int rcvsize) in rpc_setbufsize()
1569 struct net *rpc_net_ns(struct rpc_clnt *clnt) in rpc_net_ns()
1589 size_t rpc_max_payload(struct rpc_clnt *clnt) in rpc_max_payload()
1604 size_t rpc_max_bc_payload(struct rpc_clnt *clnt) in rpc_max_bc_payload()
1617 unsigned int rpc_num_bc_slots(struct rpc_clnt *clnt) in rpc_num_bc_slots()
1635 void rpc_force_rebind(struct rpc_clnt *clnt) in rpc_force_rebind()
1715 struct rpc_clnt *clnt = task->tk_client; in call_start() local
2141 struct rpc_clnt *clnt = task->tk_client; in call_connect_status() local
2411 struct rpc_clnt *clnt = task->tk_client; in call_status() local
2487 struct rpc_clnt *clnt = task->tk_client; in rpc_check_timeout() local
2549 struct rpc_clnt *clnt = task->tk_client; in call_decode() local
2617 struct rpc_clnt *clnt = task->tk_client; in rpc_encode_header() local
2646 struct rpc_clnt *clnt = task->tk_client; in rpc_decode_header() local
2800 struct rpc_task *rpc_call_null_helper(struct rpc_clnt *clnt, in rpc_call_null_helper()
2821 struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred, int flags) in rpc_call_null()
2827 static int rpc_ping(struct rpc_clnt *clnt) in rpc_ping()
2840 static int rpc_ping_noreply(struct rpc_clnt *clnt) in rpc_ping_noreply()
2897 int rpc_clnt_test_and_add_xprt(struct rpc_clnt *clnt, in rpc_clnt_test_and_add_xprt()
2935 static int rpc_clnt_add_xprt_helper(struct rpc_clnt *clnt, in rpc_clnt_add_xprt_helper()
2977 int rpc_clnt_setup_test_and_add_xprt(struct rpc_clnt *clnt, in rpc_clnt_setup_test_and_add_xprt()
3020 int rpc_clnt_add_xprt(struct rpc_clnt *clnt, in rpc_clnt_add_xprt()
3079 static int rpc_xprt_probe_trunked(struct rpc_clnt *clnt, in rpc_xprt_probe_trunked()
3113 void rpc_clnt_probe_trunked_xprts(struct rpc_clnt *clnt, in rpc_clnt_probe_trunked_xprts()
3137 static int rpc_xprt_offline(struct rpc_clnt *clnt, in rpc_xprt_offline()
3177 void rpc_clnt_manage_trunked_xprts(struct rpc_clnt *clnt) in rpc_clnt_manage_trunked_xprts()
3189 rpc_xprt_set_connect_timeout(struct rpc_clnt *clnt, in rpc_xprt_set_connect_timeout()
3203 rpc_set_connect_timeout(struct rpc_clnt *clnt, in rpc_set_connect_timeout()
3217 void rpc_clnt_xprt_switch_put(struct rpc_clnt *clnt) in rpc_clnt_xprt_switch_put()
3225 void rpc_clnt_xprt_set_online(struct rpc_clnt *clnt, struct rpc_xprt *xprt) in rpc_clnt_xprt_set_online()
3235 void rpc_clnt_xprt_switch_add_xprt(struct rpc_clnt *clnt, struct rpc_xprt *xprt) in rpc_clnt_xprt_switch_add_xprt()
3248 void rpc_clnt_xprt_switch_remove_xprt(struct rpc_clnt *clnt, struct rpc_xprt *xprt) in rpc_clnt_xprt_switch_remove_xprt()
3261 bool rpc_clnt_xprt_switch_has_addr(struct rpc_clnt *clnt, in rpc_clnt_xprt_switch_has_addr()
3282 static void rpc_show_task(const struct rpc_clnt *clnt, in rpc_show_task()
3299 struct rpc_clnt *clnt; in rpc_show_tasks() local
3322 rpc_clnt_swap_activate_callback(struct rpc_clnt *clnt, in rpc_clnt_swap_activate_callback()
3330 rpc_clnt_swap_activate(struct rpc_clnt *clnt) in rpc_clnt_swap_activate()
3342 rpc_clnt_swap_deactivate_callback(struct rpc_clnt *clnt, in rpc_clnt_swap_deactivate_callback()
3351 rpc_clnt_swap_deactivate(struct rpc_clnt *clnt) in rpc_clnt_swap_deactivate()