Home
last modified time | relevance | path

Searched refs:client (Results 1 – 25 of 42) sorted by relevance

12

/fs/nfs/
DKconfig3 tristate "NFS client support"
18 mount(8) man page. More detail about the Linux NFS client
34 tristate "NFS client support for NFS version 2"
39 (RFC 1094) in the kernel's NFS client.
44 tristate "NFS client support for NFS version 3"
49 (RFC 1813) in the kernel's NFS client.
54 bool "NFS client support for the NFSv3 ACL protocol extension"
65 protocol extension and you want your NFS client to allow
70 option to prevent your NFS client from trying to use the NFSv3
76 tristate "NFS client support for NFS version 4"
[all …]
Dnamespace.c151 struct nfs_client *client = server->nfs_client; in nfs_d_automount() local
172 if (fc->net_ns != client->cl_net) { in nfs_d_automount()
174 fc->net_ns = get_net(client->cl_net); in nfs_d_automount()
178 memcpy(&ctx->nfs_server._address, &client->cl_addr, client->cl_addrlen); in nfs_d_automount()
179 ctx->nfs_server.addrlen = client->cl_addrlen; in nfs_d_automount()
182 ctx->version = client->rpc_ops->version; in nfs_d_automount()
183 ctx->minorversion = client->cl_minorversion; in nfs_d_automount()
184 ctx->nfs_mod = client->cl_nfs_mod; in nfs_d_automount()
187 ret = client->rpc_ops->submount(fc, server); in nfs_d_automount()
316 ctx->selected_flavor = server->client->cl_auth->au_flavor; in nfs_submount()
Dnfs4namespace.c405 static int nfs_do_refmount(struct fs_context *fc, struct rpc_clnt *client) in nfs_do_refmount() argument
431 err = nfs4_proc_fs_locations(client, d_inode(parent), &dentry->d_name, fs_locations, page); in nfs_do_refmount()
457 struct rpc_clnt *client; in nfs4_submount() local
461 client = nfs4_proc_lookup_mountpoint(dir, dentry, ctx->mntfh, in nfs4_submount()
464 if (IS_ERR(client)) in nfs4_submount()
465 return PTR_ERR(client); in nfs4_submount()
467 ctx->selected_flavor = client->cl_auth->au_flavor; in nfs4_submount()
469 ret = nfs_do_refmount(fc, client); in nfs4_submount()
474 rpc_shutdown_client(client); in nfs4_submount()
487 struct net *net = rpc_net_ns(server->client); in nfs4_try_replacing_one_location()
Dsuper.c478 rpc_peeraddr2str(nfss->client, RPC_DISPLAY_NETID)); in nfs_show_mount_options()
491 seq_printf(m, ",timeo=%lu", 10U * nfss->client->cl_timeout->to_initval / HZ); in nfs_show_mount_options()
492 seq_printf(m, ",retrans=%u", nfss->client->cl_timeout->to_retries); in nfs_show_mount_options()
493 seq_printf(m, ",sec=%s", nfs_pseudoflavour_to_name(nfss->client->cl_auth->au_flavor)); in nfs_show_mount_options()
636 struct rpc_auth *auth = nfss->client->cl_auth; in nfs_show_stats()
718 rpc_clnt_show_stats(m, nfss->client); in nfs_show_stats()
738 rpc = server->client; in nfs_umount_begin()
984 ctx->retrans != nfss->client->cl_timeout->to_retries || in nfs_compare_remount_data()
985 !nfs_auth_info_match(&ctx->auth_info, nfss->client->cl_auth->au_flavor) || in nfs_compare_remount_data()
990 ctx->timeo != (10U * nfss->client->cl_timeout->to_initval / HZ) || in nfs_compare_remount_data()
[all …]
Dclient.c607 server->client = rpc_clone_client_set_auth(clp->cl_rpcclient, in nfs_init_server_rpcclient()
609 if (IS_ERR(server->client)) { in nfs_init_server_rpcclient()
611 return PTR_ERR(server->client); in nfs_init_server_rpcclient()
614 memcpy(&server->client->cl_timeout_default, in nfs_init_server_rpcclient()
616 sizeof(server->client->cl_timeout_default)); in nfs_init_server_rpcclient()
617 server->client->cl_timeout = &server->client->cl_timeout_default; in nfs_init_server_rpcclient()
618 server->client->cl_softrtry = 0; in nfs_init_server_rpcclient()
620 server->client->cl_softerr = 1; in nfs_init_server_rpcclient()
622 server->client->cl_softrtry = 1; in nfs_init_server_rpcclient()
772 raw_max_rpc_payload = rpc_max_payload(server->client); in nfs_server_set_fsinfo()
[all …]
Dnfs3proc.c61 do_proc_get_root(struct rpc_clnt *client, struct nfs_fh *fhandle, in do_proc_get_root() argument
73 status = rpc_call_sync(client, &msg, 0); in do_proc_get_root()
78 status = rpc_call_sync(client, &msg, 0); in do_proc_get_root()
93 status = do_proc_get_root(server->client, fhandle, info); in nfs3_proc_get_root()
94 if (status && server->nfs_client->cl_rpcclient != server->client) in nfs3_proc_get_root()
120 status = rpc_call_sync(server->client, &msg, task_flags); in nfs3_proc_getattr()
789 status = rpc_call_sync(server->client, &msg, 0); in nfs3_proc_statfs()
795 do_proc_fsinfo(struct rpc_clnt *client, struct nfs_fh *fhandle, in do_proc_fsinfo() argument
807 status = rpc_call_sync(client, &msg, 0); in do_proc_fsinfo()
822 status = do_proc_fsinfo(server->client, fhandle, info); in nfs3_proc_fsinfo()
[all …]
Dproc.c68 status = rpc_call_sync(server->client, &msg, 0); in nfs_proc_get_root()
70 if (status && server->nfs_client->cl_rpcclient != server->client) in nfs_proc_get_root()
78 status = rpc_call_sync(server->client, &msg, 0); in nfs_proc_get_root()
80 if (status && server->nfs_client->cl_rpcclient != server->client) in nfs_proc_get_root()
120 status = rpc_call_sync(server->client, &msg, task_flags); in nfs_proc_getattr()
543 status = rpc_call_sync(server->client, &msg, 0); in nfs_proc_statfs()
571 status = rpc_call_sync(server->client, &msg, 0); in nfs_proc_fsinfo()
Dnfs42proc.c79 status = nfs4_call_sync(server->client, server, msg, in _nfs42_proc_fallocate()
374 status = nfs4_call_sync(dst_server->client, dst_server, &msg, in _nfs42_proc_copy()
550 .rpc_client = dst_server->client, in nfs42_do_offload_cancel_async()
614 status = nfs4_call_sync(src_server->client, src_server, &msg, in _nfs42_proc_copy_notify()
696 status = nfs4_call_sync(server->client, server, &msg, in _nfs42_proc_llseek()
859 .rpc_client = server->client, in nfs42_proc_layoutstats_generic()
1037 task_setup.rpc_client = NFS_SERVER(inode)->client; in nfs42_proc_layouterror()
1094 status = nfs4_call_sync(server->client, server, msg, in _nfs42_proc_clone()
1181 ret = nfs4_call_sync(server->client, server, &msg, &args.seq_args, in _nfs42_proc_removexattr()
1221 ret = nfs4_call_sync(server->client, server, &msg, &arg.seq_args, in _nfs42_proc_setxattr()
[all …]
Dnfs4proc.c801 static void nfs4_probe_sequence(struct nfs_client *client, const struct cred *cred, in nfs4_probe_sequence() argument
804 struct rpc_task *task = _nfs41_proc_sequence(client, cred, slot, true); in nfs4_probe_sequence()
1051 int nfs4_setup_sequence(struct nfs_client *client, in nfs4_setup_sequence() argument
1056 struct nfs4_session *session = nfs4_get_session(client); in nfs4_setup_sequence()
1057 struct nfs4_slot_table *tbl = client->cl_slot_tbl; in nfs4_setup_sequence()
2399 .rpc_client = server->client, in _nfs4_proc_open_confirm()
2568 .rpc_client = server->client, in nfs4_run_open_task()
3351 status = nfs4_call_sync(server->client, server, &msg, &arg->seq_args, &res->seq_res, 1); in _nfs4_do_setattr()
3748 .rpc_client = server->client, in nfs4_do_close()
3869 status = nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 0); in _nfs4_server_capabilities()
[all …]
Dnfs4client.c135 rpc_authflavor_t flavor = NFS_SERVER(inode)->client->cl_auth->au_flavor; in nfs4_find_or_create_ds_client()
1084 server->client->cl_auth->au_flavor == RPC_AUTH_UNIX) in nfs4_server_set_init_caps()
1253 parent_server->client->cl_timeout, in nfs4_create_referral_server()
1269 parent_server->client->cl_timeout, in nfs4_create_referral_server()
1280 error = nfs_init_server_rpcclient(server, parent_server->client->cl_timeout, in nfs4_create_referral_server()
1317 struct rpc_clnt *clnt = server->client; in nfs4_update_server()
DMakefile9 nfs-y := client.o dir.o file.o getroot.o inode.o super.o \
Dnfs3client.c30 server->client_acl = rpc_bind_new_program(server->client, &nfsacl_program, 3); in nfs_init_server_aclclient()
/fs/ceph/
Dsuper.c55 struct ceph_mon_client *monc = &fsc->client->monc; in ceph_statfs()
129 ceph_osdc_sync(&fsc->client->osdc); in ceph_sync_fs()
646 return ceph_compare_options(new_opt, fsc->client); in compare_mount_options()
665 ret = ceph_print_client_options(m, fsc->client, false); in ceph_show_options()
747 static int extra_mon_dispatch(struct ceph_client *client, struct ceph_msg *msg) in extra_mon_dispatch() argument
749 struct ceph_fs_client *fsc = client->private; in extra_mon_dispatch()
781 fsc->client = ceph_create_client(opt, fsc); in create_fs_client()
782 if (IS_ERR(fsc->client)) { in create_fs_client()
783 err = PTR_ERR(fsc->client); in create_fs_client()
788 fsc->client->extra_mon_dispatch = extra_mon_dispatch; in create_fs_client()
[all …]
Ddebugfs.c320 struct ceph_auth_client *ac = fsc->client->monc.auth; in mds_sessions_show()
321 struct ceph_options *opt = fsc->client->options; in mds_sessions_show()
355 struct ceph_entity_inst *inst = &fsc->client->msgr.inst; in status_show()
356 struct ceph_entity_addr *client_addr = ceph_client_addr(fsc->client); in status_show()
420 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
428 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
433 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
439 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
445 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
451 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
[all …]
Daddr.c350 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, vino, subreq->start, &len, in ceph_netfs_issue_read()
352 CEPH_OSD_FLAG_READ | fsc->client->osdc.client->options->read_from_replica, in ceph_netfs_issue_read()
614 struct ceph_osd_client *osdc = &fsc->client->osdc; in writepage_nounlock()
1097 req = ceph_osdc_new_request(&fsc->client->osdc, in ceph_writepages_start()
1104 req = ceph_osdc_new_request(&fsc->client->osdc, in ceph_writepages_start()
1208 ceph_osdc_start_request(&fsc->client->osdc, req); in ceph_writepages_start()
1744 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_uninline_data()
1754 ceph_osdc_start_request(&fsc->client->osdc, req); in ceph_uninline_data()
1755 err = ceph_osdc_wait_request(&fsc->client->osdc, req); in ceph_uninline_data()
1760 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_uninline_data()
[all …]
Dfile.c928 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_sync_read()
1314 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_direct_read_write()
1385 ret = ceph_osdc_wait_request(&fsc->client->osdc, req); in ceph_direct_read_write()
1516 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_sync_write()
1561 ceph_osdc_start_request(&fsc->client->osdc, req); in ceph_sync_write()
1562 ret = ceph_osdc_wait_request(&fsc->client->osdc, req); in ceph_sync_write()
1762 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_write_iter()
2017 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_zero_partial_object()
2029 ceph_osdc_start_request(&fsc->client->osdc, req); in ceph_zero_partial_object()
2030 ret = ceph_osdc_wait_request(&fsc->client->osdc, req); in ceph_zero_partial_object()
[all …]
Dsnap.c772 struct ceph_client *client = mdsc->fsc->client; in ceph_update_snap_trace() local
903 ret = ceph_monc_blocklist_add(&client->monc, &client->msgr.inst.addr); in ceph_update_snap_trace()
906 ceph_pr_addr(&client->msgr.inst.addr), ret); in ceph_update_snap_trace()
909 __func__, ret ? "" : ceph_pr_addr(&client->msgr.inst.addr), in ceph_update_snap_trace()
Dmds_client.c843 ceph_con_init(&s->s_con, s, &mds_con_ops, &mdsc->fsc->client->msgr); in register_session()
1375 struct ceph_options *opt = mdsc->fsc->client->options; in create_session_open_msg()
2117 struct ceph_osd_client *osdc = &mdsc->fsc->client->osdc; in ceph_send_cap_releases()
4895 struct ceph_options *opts = mdsc->fsc->client->options; in wait_requests()
5078 struct ceph_options *opts = mdsc->fsc->client->options; in ceph_mdsc_close_sessions()
5252 ceph_monc_got_map(&fsc->client->monc, CEPH_SUB_FSMAP, epoch); in ceph_mdsc_handle_fsmap()
5254 fsc->client->monc.fs_cluster_id = mount_fscid; in ceph_mdsc_handle_fsmap()
5255 ceph_monc_want_map(&fsc->client->monc, CEPH_SUB_MDSMAP, in ceph_mdsc_handle_fsmap()
5257 ceph_monc_renew_subs(&fsc->client->monc); in ceph_mdsc_handle_fsmap()
5290 if (ceph_check_fsid(mdsc->fsc->client, &fsid) < 0) in ceph_mdsc_handle_mdsmap()
[all …]
Dcache.c88 const struct ceph_fsid *fsid = &fsc->client->fsid; in ceph_fscache_register_fs()
/fs/coda/
DKconfig12 persistent client caches and write back caching.
15 *client*. You will need user level code as well, both for the
16 client and server. Servers are currently user level, i.e. they need
21 To compile the coda client support as a module, choose M here: the
/fs/nfsd/
Dnfs4callback.c863 static const struct cred *get_backchannel_cred(struct nfs4_client *clp, struct rpc_clnt *client, st… in get_backchannel_cred() argument
866 client->cl_principal = clp->cl_cred.cr_targ_princ ? in get_backchannel_cred()
902 struct rpc_clnt *client; in setup_callback_client() local
927 client = rpc_create(&args); in setup_callback_client()
928 if (IS_ERR(client)) { in setup_callback_client()
929 trace_nfsd_cb_setup_err(clp, PTR_ERR(client)); in setup_callback_client()
930 return PTR_ERR(client); in setup_callback_client()
932 cred = get_backchannel_cred(clp, client, ses); in setup_callback_client()
935 rpc_shutdown_client(client); in setup_callback_client()
941 clp->cl_cb_client = client; in setup_callback_client()
[all …]
Dtrace.h21 __array(unsigned char, client, sizeof(struct sockaddr_in6))
30 memcpy(__entry->client, &rqstp->rq_xprt->xpt_remote, \
45 __sockaddr(client, rqstp->rq_xprt->xpt_remotelen)
55 __assign_sockaddr(client, &xprt->xpt_remote, xprt->xpt_remotelen);
202 __sockaddr(client, rqstp->rq_xprt->xpt_remotelen)
213 __assign_sockaddr(client, &rqstp->rq_xprt->xpt_remote,
241 __sockaddr(client, rqstp->rq_xprt->xpt_remotelen)
253 __assign_sockaddr(client, &rqstp->rq_xprt->xpt_remote,
/fs/smb/client/
DKconfig22 This is the client VFS module for the SMB3 family of NAS protocols,
39 This module provides an advanced network file system client
113 Enabling this option will cause the cifs client to attempt to
190 bool "Provide CIFS client caching support"
/fs/smb/
DMakefile4 obj-$(CONFIG_CIFS) += client/
DKconfig5 source "fs/smb/client/Kconfig"

12