| /fs/9p/ |
| A D | v9fs.c | 152 return p9_show_client_options(m, v9ses->clnt); in v9fs_show_options() 411 if (IS_ERR(v9ses->clnt)) { in v9fs_session_init() 412 rc = PTR_ERR(v9ses->clnt); in v9fs_session_init() 419 if (p9_is_proto_dotl(v9ses->clnt)) { in v9fs_session_init() 422 } else if (p9_is_proto_dotu(v9ses->clnt)) { in v9fs_session_init() 490 p9_client_destroy(v9ses->clnt); in v9fs_session_init() 505 if (v9ses->clnt) { in v9fs_session_close() 506 p9_client_destroy(v9ses->clnt); in v9fs_session_close() 507 v9ses->clnt = NULL; in v9fs_session_close() 532 p9_client_disconnect(v9ses->clnt); in v9fs_session_cancel() [all …]
|
| A D | vfs_dir.c | 97 buflen = fid->clnt->msize - P9_IOHDRSZ; in v9fs_dir_readdir() 122 err = p9stat_read(fid->clnt, rdir->buf + rdir->head, in v9fs_dir_readdir() 158 buflen = fid->clnt->msize - P9_READDIRHDRSZ; in v9fs_dir_readdir_dotl() 177 err = p9dirent_read(fid->clnt, rdir->buf + rdir->head, in v9fs_dir_readdir_dotl()
|
| A D | vfs_file.c | 155 flock.client_id = fid->clnt->name; in v9fs_file_do_lock() 181 if (flock.client_id != fid->clnt->name) { in v9fs_file_do_lock() 183 flock.client_id = fid->clnt->name; in v9fs_file_do_lock() 217 if (flock.client_id != fid->clnt->name) in v9fs_file_do_lock() 249 glock.client_id = fid->clnt->name; in v9fs_file_getlock() 275 if (glock.client_id != fid->clnt->name) in v9fs_file_getlock()
|
| A D | vfs_addr.c | 44 wreq->wsize = fid->clnt->msize - P9_IOHDRSZ; in v9fs_begin_writeback() 124 rreq->wsize = fid->clnt->msize - P9_IOHDRSZ; in v9fs_init_request()
|
| A D | v9fs.h | 127 struct p9_client *clnt; /* 9p client */ member
|
| A D | fid.c | 213 fid = p9_client_attach(v9ses->clnt, NULL, uname, uid, in v9fs_fid_lookup_with_uid()
|
| /fs/lockd/ |
| A D | mon.c | 95 struct rpc_clnt *clnt; in nsm_mon_unmon() local 111 clnt = nsm_create(host->net, host->nodename); in nsm_mon_unmon() 112 if (IS_ERR(clnt)) { in nsm_mon_unmon() 114 "status=%ld, net=%x\n", PTR_ERR(clnt), in nsm_mon_unmon() 116 return PTR_ERR(clnt); in nsm_mon_unmon() 119 msg.rpc_proc = &clnt->cl_procinfo[proc]; in nsm_mon_unmon() 120 status = rpc_call_sync(clnt, &msg, RPC_TASK_SOFTCONN); in nsm_mon_unmon() 124 rpc_force_rebind(clnt); in nsm_mon_unmon() 125 status = rpc_call_sync(clnt, &msg, RPC_TASK_SOFTCONN); in nsm_mon_unmon() 133 rpc_shutdown_client(clnt); in nsm_mon_unmon()
|
| A D | host.c | 179 struct rpc_clnt *clnt; in nlm_destroy_host_locked() local 189 clnt = host->h_rpcclnt; in nlm_destroy_host_locked() 190 if (clnt != NULL) in nlm_destroy_host_locked() 191 rpc_shutdown_client(clnt); in nlm_destroy_host_locked() 429 struct rpc_clnt *clnt; in nlm_bind_host() local 440 if ((clnt = host->h_rpcclnt) != NULL) { in nlm_bind_host() 478 clnt = rpc_create(&args); in nlm_bind_host() 479 if (!IS_ERR(clnt)) in nlm_bind_host() 480 host->h_rpcclnt = clnt; in nlm_bind_host() 483 clnt = NULL; in nlm_bind_host() [all …]
|
| A D | clntproc.c | 268 struct rpc_clnt *clnt; in nlmclnt_call() local 286 if ((clnt = nlm_bind_host(host)) == NULL) in nlmclnt_call() 288 msg.rpc_proc = &clnt->cl_procinfo[proc]; in nlmclnt_call() 291 if ((status = rpc_call_sync(clnt, &msg, 0)) < 0) { in nlmclnt_call() 346 struct rpc_clnt *clnt; in __nlm_async_call() local 358 clnt = nlm_bind_host(host); in __nlm_async_call() 359 if (clnt == NULL) in __nlm_async_call() 361 msg->rpc_proc = &clnt->cl_procinfo[proc]; in __nlm_async_call() 362 task_setup_data.rpc_client = clnt; in __nlm_async_call()
|
| /fs/nfs/ |
| A D | sysfs.c | 226 static void shutdown_client(struct rpc_clnt *clnt) in shutdown_client() argument 228 clnt->cl_shutdown = 1; in shutdown_client() 229 rpc_cancel_tasks(clnt, -EIO, shutdown_match_client, NULL); in shutdown_client() 330 struct rpc_clnt *clnt, const char *uniq) in nfs_sysfs_link_rpc_client() argument 335 strscpy(name, clnt->cl_program->name, sizeof(name)); in nfs_sysfs_link_rpc_client() 340 &clnt->cl_sysfs->kobject, name); in nfs_sysfs_link_rpc_client()
|
| A D | nfs4namespace.c | 204 static struct rpc_clnt *nfs_find_best_sec(struct rpc_clnt *clnt, in nfs_find_best_sec() argument 228 new = rpc_clone_client_set_auth(clnt, pflavor); in nfs_find_best_sec() 261 nfs4_negotiate_security(struct rpc_clnt *clnt, struct inode *inode, in nfs4_negotiate_security() argument 281 new = nfs_find_best_sec(clnt, NFS_SERVER(inode), flavors); in nfs4_negotiate_security()
|
| A D | nfs4state.c | 1198 struct rpc_clnt *clnt = clp->cl_rpcclient; in nfs4_schedule_state_manager() local 1206 if (atomic_read(&clnt->cl_swapper)) { in nfs4_schedule_state_manager() 2292 struct rpc_clnt *clnt; in nfs4_discover_server_trunking() local 2298 clnt = clp->cl_rpcclient; in nfs4_discover_server_trunking() 2316 if (clnt->cl_softrtry) in nfs4_discover_server_trunking() 2342 clnt = rpc_clone_client_set_auth(clnt, RPC_AUTH_UNIX); in nfs4_discover_server_trunking() 2343 if (IS_ERR(clnt)) { in nfs4_discover_server_trunking() 2344 status = PTR_ERR(clnt); in nfs4_discover_server_trunking() 2351 clnt = xchg(&clp->cl_rpcclient, clnt); in nfs4_discover_server_trunking() 2352 rpc_shutdown_client(clnt); in nfs4_discover_server_trunking() [all …]
|
| A D | file.c | 530 struct rpc_clnt *clnt = NFS_CLIENT(inode); in nfs_swap_activate() local 542 ret = rpc_clnt_swap_activate(clnt); in nfs_swap_activate() 547 rpc_clnt_swap_deactivate(clnt); in nfs_swap_activate() 563 struct rpc_clnt *clnt = NFS_CLIENT(inode); in nfs_swap_deactivate() local 566 rpc_clnt_swap_deactivate(clnt); in nfs_swap_deactivate()
|
| A D | client.c | 517 struct rpc_clnt *clnt = NULL; in nfs_create_rpc_client() local 555 clnt = rpc_create(&args); in nfs_create_rpc_client() 556 if (IS_ERR(clnt)) { in nfs_create_rpc_client() 558 __func__, PTR_ERR(clnt)); in nfs_create_rpc_client() 559 return PTR_ERR(clnt); in nfs_create_rpc_client() 562 clnt->cl_principal = clp->cl_principal; in nfs_create_rpc_client() 563 clp->cl_rpcclient = clnt; in nfs_create_rpc_client() 564 clnt->cl_max_connect = clp->cl_max_connect; in nfs_create_rpc_client()
|
| A D | nfs3proc.c | 32 nfs3_rpc_wrapper(struct rpc_clnt *clnt, struct rpc_message *msg, int flags) in nfs3_rpc_wrapper() argument 36 res = rpc_call_sync(clnt, msg, flags); in nfs3_rpc_wrapper() 46 #define rpc_call_sync(clnt, msg, flags) nfs3_rpc_wrapper(clnt, msg, flags) argument 938 struct rpc_clnt **clnt) in nfs3_proc_write_setup() argument 960 struct rpc_clnt **clnt) in nfs3_proc_commit_setup() argument
|
| A D | sysfs.h | 27 struct rpc_clnt *clnt, const char *sysfs_prefix);
|
| A D | nfs4proc.c | 1221 .rpc_client = clnt, in nfs4_do_call_sync() 4640 if (client != *clnt) in nfs4_proc_lookup_common() 4655 *clnt = client; in nfs4_proc_lookup_common() 4656 else if (client != *clnt) in nfs4_proc_lookup_common() 5798 struct rpc_clnt **clnt) in nfs4_proc_write_setup() argument 5851 struct rpc_clnt **clnt) in nfs4_proc_commit_setup() argument 8387 .rpc_client = clnt, in _nfs41_proc_get_locations() 8612 .rpc_client = clnt, in _nfs4_proc_secinfo() 8621 clnt = clp->cl_rpcclient; in _nfs4_proc_secinfo() 8754 .rpc_client = clnt, in nfs4_proc_bind_one_conn_to_session() [all …]
|
| A D | nfs2xdr.c | 76 static struct user_namespace *rpc_userns(const struct rpc_clnt *clnt) in rpc_userns() argument 78 if (clnt && clnt->cl_cred) in rpc_userns() 79 return clnt->cl_cred->user_ns; in rpc_userns()
|
| A D | nfs4client.c | 1306 struct rpc_clnt *clnt = server->client; in nfs4_update_server() local 1326 .timeparms = clnt->cl_timeout, in nfs4_update_server() 1333 error = rpc_switch_client_transport(clnt, &xargs, clnt->cl_timeout); in nfs4_update_server() 1337 error = rpc_localaddr(clnt, localaddr, sizeof(address)); in nfs4_update_server()
|
| A D | internal.h | 310 int nfs_initiate_pgio(struct rpc_clnt *clnt, struct nfs_pgio_header *hdr, 576 extern int nfs_initiate_commit(struct rpc_clnt *clnt, 727 extern void nfs4_test_session_trunk(struct rpc_clnt *clnt,
|
| A D | proc.c | 643 struct rpc_clnt **clnt) in nfs_proc_write_setup() argument 657 struct rpc_clnt **clnt) in nfs_proc_commit_setup() argument
|
| A D | nfs3xdr.c | 107 static struct user_namespace *rpc_userns(const struct rpc_clnt *clnt) in rpc_userns() argument 109 if (clnt && clnt->cl_cred) in rpc_userns() 110 return clnt->cl_cred->user_ns; in rpc_userns()
|
| A D | pagelist.c | 732 int nfs_initiate_pgio(struct rpc_clnt *clnt, struct nfs_pgio_header *hdr, in nfs_initiate_pgio() argument 744 .rpc_client = clnt, in nfs_initiate_pgio()
|
| /fs/nfsd/ |
| A D | nfs4callback.c | 1713 struct rpc_clnt *clnt; in nfsd4_run_cb_work() local 1721 clnt = clp->cl_cb_client; in nfsd4_run_cb_work() 1722 if (!clnt || clp->cl_state == NFSD4_COURTESY) { in nfsd4_run_cb_work() 1747 ret = rpc_call_async(clnt, &cb->cb_msg, RPC_TASK_SOFT | flags, in nfsd4_run_cb_work()
|
| /fs/nfs/flexfilelayout/ |
| A D | flexfilelayout.c | 2141 struct rpc_clnt *clnt; in ff_layout_cancel_io() local 2155 clnt = ds_clp->cl_rpcclient; in ff_layout_cancel_io() 2156 if (!clnt) in ff_layout_cancel_io() 2158 if (!rpc_cancel_tasks(clnt, -EAGAIN, ff_layout_match_io, lseg)) in ff_layout_cancel_io() 2160 rpc_clnt_disconnect(clnt); in ff_layout_cancel_io()
|