Home
last modified time | relevance | path

Searched refs:nfs_server (Results 1 – 25 of 39) sorted by relevance

12

/fs/nfs/
Dsuper.c408 struct nfs_server *server = NFS_SB(sb); in nfs_sb_active()
417 struct nfs_server *server = NFS_SB(sb); in nfs_sb_deactive()
429 struct nfs_server *server = NFS_SB(dentry->d_sb); in nfs_statfs()
521 static void nfs_show_mountd_netid(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mountd_netid()
560 static void nfs_show_mountd_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mountd_options()
595 static void nfs_show_nfsv4_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_nfsv4_options()
603 static void nfs_show_nfsv4_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_nfsv4_options()
621 static void nfs_show_mount_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mount_options()
716 struct nfs_server *nfss = NFS_SB(root->d_sb); in nfs_show_options()
732 static void show_sessions(struct seq_file *m, struct nfs_server *server) in show_sessions()
[all …]
Dnfs3client.c22 static void nfs_init_server_aclclient(struct nfs_server *server) in nfs_init_server_aclclient()
39 static inline void nfs_init_server_aclclient(struct nfs_server *server) in nfs_init_server_aclclient()
46 struct nfs_server *nfs3_create_server(struct nfs_mount_info *mount_info, in nfs3_create_server()
49 struct nfs_server *server = nfs_create_server(mount_info, nfs_mod); in nfs3_create_server()
56 struct nfs_server *nfs3_clone_server(struct nfs_server *source, in nfs3_clone_server()
61 struct nfs_server *server = nfs_clone_server(source, fh, fattr, flavor); in nfs3_clone_server()
Dnfs4_fs.h42 struct nfs_server *server,
48 int (*find_root_sec)(struct nfs_server *, struct nfs_fh *,
50 int (*free_lock_state)(struct nfs_server *,
86 struct nfs_server *so_server;
220 struct vfsmount *nfs4_submount(struct nfs_server *, struct dentry *,
226 extern int nfs4_proc_get_rootfh(struct nfs_server *, struct nfs_fh *, struct nfs_fsinfo *);
233 extern int nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fhandle);
246 static inline struct nfs4_session *nfs4_get_session(const struct nfs_server *server) in nfs4_get_session()
251 extern int nfs4_setup_sequence(const struct nfs_server *server,
277 static inline struct nfs4_session *nfs4_get_session(const struct nfs_server *server) in nfs4_get_session()
[all …]
Dinternal.h114 } nfs_server; member
154 int nfs_probe_fsinfo(struct nfs_server *server, struct nfs_fh *, struct nfs_fattr *);
155 void nfs_server_insert_lists(struct nfs_server *);
157 int nfs_init_server_rpcclient(struct nfs_server *, const struct rpc_timeout *t,
159 struct nfs_server *nfs_alloc_server(void);
160 void nfs_server_copy_userdata(struct nfs_server *, struct nfs_server *);
169 extern struct nfs_server *nfs_create_server(struct nfs_mount_info *,
171 extern struct nfs_server *nfs4_create_server(
174 extern struct nfs_server *nfs4_create_referral_server(struct nfs_clone_mount *,
176 extern void nfs_free_server(struct nfs_server *server);
[all …]
Ddelegation.c257 struct nfs_server *server) in nfs_detach_delegation()
271 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_detach_delegation()
290 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_set_delegation()
421 struct nfs_server *server; in nfs_client_return_marked_delegations()
489 static void nfs_mark_return_if_closed_delegation(struct nfs_server *server, in nfs_mark_return_if_closed_delegation()
496 static void nfs_mark_return_delegation(struct nfs_server *server, in nfs_mark_return_delegation()
503 static bool nfs_server_mark_return_all_delegations(struct nfs_server *server) in nfs_server_mark_return_all_delegations()
517 struct nfs_server *server; in nfs_client_mark_return_all_delegations()
547 void nfs_server_return_all_delegations(struct nfs_server *server) in nfs_server_return_all_delegations()
565 static void nfs_mark_return_unused_delegation_types(struct nfs_server *server, in nfs_mark_return_unused_delegation_types()
[all …]
Dclient.c216 static void pnfs_init_server(struct nfs_server *server) in pnfs_init_server()
230 static void pnfs_init_server(struct nfs_server *server) in pnfs_init_server()
617 static void nfs_destroy_server(struct nfs_server *server) in nfs_destroy_server()
626 static int nfs_start_lockd(struct nfs_server *server) in nfs_start_lockd()
666 int nfs_init_server_rpcclient(struct nfs_server *server, in nfs_init_server_rpcclient()
734 static int nfs_init_server(struct nfs_server *server, in nfs_init_server()
739 .hostname = data->nfs_server.hostname, in nfs_init_server()
740 .addr = (const struct sockaddr *)&data->nfs_server.address, in nfs_init_server()
741 .addrlen = data->nfs_server.addrlen, in nfs_init_server()
743 .proto = data->nfs_server.protocol, in nfs_init_server()
[all …]
Dpnfs.h84 int (*set_layoutdriver) (struct nfs_server *, const struct nfs_fh *);
85 int (*clear_layoutdriver) (struct nfs_server *);
169 extern int nfs4_proc_getdevicelist(struct nfs_server *server,
172 extern int nfs4_proc_getdeviceinfo(struct nfs_server *server,
186 void set_pnfs_layoutdriver(struct nfs_server *, const struct nfs_fh *, u32);
187 void unset_pnfs_layoutdriver(struct nfs_server *);
282 static inline int pnfs_enabled_sb(struct nfs_server *nfss) in pnfs_enabled_sb()
363 struct nfs_server *nfss = NFS_SERVER(ino); in pnfs_return_layout()
373 struct nfs_server *nfss) in pnfs_use_threshold()
444 static inline void set_pnfs_layoutdriver(struct nfs_server *s, in set_pnfs_layoutdriver()
[all …]
Dfscache.c70 struct nfs_server *nfss = NFS_SB(sb); in nfs_fscache_get_super_cookie()
85 key->key.nfs_server.flags = nfss->flags; in nfs_fscache_get_super_cookie()
86 key->key.nfs_server.rsize = nfss->rsize; in nfs_fscache_get_super_cookie()
87 key->key.nfs_server.wsize = nfss->wsize; in nfs_fscache_get_super_cookie()
88 key->key.nfs_server.acregmin = nfss->acregmin; in nfs_fscache_get_super_cookie()
89 key->key.nfs_server.acregmax = nfss->acregmax; in nfs_fscache_get_super_cookie()
90 key->key.nfs_server.acdirmin = nfss->acdirmin; in nfs_fscache_get_super_cookie()
91 key->key.nfs_server.acdirmax = nfss->acdirmax; in nfs_fscache_get_super_cookie()
92 key->key.nfs_server.fsid = nfss->fsid; in nfs_fscache_get_super_cookie()
161 struct nfs_server *nfss = NFS_SB(sb); in nfs_fscache_release_super_cookie()
[all …]
Dnfs4client.c504 static void nfs4_destroy_server(struct nfs_server *server) in nfs4_destroy_server()
604 static int nfs4_set_client(struct nfs_server *server, in nfs4_set_client()
698 static void nfs4_session_set_rwsize(struct nfs_server *server) in nfs4_session_set_rwsize()
718 static int nfs4_server_common_setup(struct nfs_server *server, in nfs4_server_common_setup()
780 static int nfs4_init_server(struct nfs_server *server, in nfs4_init_server()
788 nfs_init_timeout_values(&timeparms, data->nfs_server.protocol, in nfs4_init_server()
797 data->nfs_server.hostname, in nfs4_init_server()
798 (const struct sockaddr *)&data->nfs_server.address, in nfs4_init_server()
799 data->nfs_server.addrlen, in nfs4_init_server()
802 data->nfs_server.protocol, in nfs4_init_server()
[all …]
Dnfs4proc.c77 static int nfs4_do_fsinfo(struct nfs_server *, struct nfs_fh *, struct nfs_fsinfo *);
78 static int nfs4_async_handle_error(struct rpc_task *, const struct nfs_server *, struct nfs4_state …
80 static int nfs4_proc_getattr(struct nfs_server *, struct nfs_fh *, struct nfs_fattr *);
81 static int _nfs4_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fattr *…
86 static int nfs41_test_stateid(struct nfs_server *, nfs4_stateid *);
87 static int nfs41_free_stateid(struct nfs_server *, nfs4_stateid *);
281 static int nfs4_handle_exception(struct nfs_server *server, int errorcode, struct nfs4_exception *e… in nfs4_handle_exception()
389 static void renew_lease(const struct nfs_server *server, unsigned long timestamp) in renew_lease()
620 int nfs4_setup_sequence(const struct nfs_server *server, in nfs4_setup_sequence()
644 const struct nfs_server *seq_server;
[all …]
Dnfs4super.c118 struct nfs_server *server; in nfs4_remote_mount()
257 export_path = data->nfs_server.export_path; in nfs4_try_mount()
258 data->nfs_server.export_path = "/"; in nfs4_try_mount()
260 data->nfs_server.hostname); in nfs4_try_mount()
261 data->nfs_server.export_path = export_path; in nfs4_try_mount()
280 struct nfs_server *server; in nfs4_remote_referral_mount()
Dnfs4state.c158 nfs4_get_renew_cred_server_locked(struct nfs_server *server) in nfs4_get_renew_cred_server_locked()
186 struct nfs_server *server; in nfs4_get_renew_cred_locked()
356 nfs4_get_setclientid_cred_server(struct nfs_server *server) in nfs4_get_setclientid_cred_server()
381 struct nfs_server *server; in nfs4_get_setclientid_cred()
403 nfs4_find_state_owner_locked(struct nfs_server *server, struct rpc_cred *cred) in nfs4_find_state_owner_locked()
430 struct nfs_server *server = new->so_server; in nfs4_insert_state_owner_locked()
462 struct nfs_server *server = sp->so_server; in nfs4_remove_state_owner_locked()
492 nfs4_alloc_state_owner(struct nfs_server *server, in nfs4_alloc_state_owner()
519 struct nfs_server *server = sp->so_server; in nfs4_drop_state_owner()
538 static void nfs4_gc_state_owners(struct nfs_server *server) in nfs4_gc_state_owners()
[all …]
Dfscache.h46 } nfs_server; member
174 static inline const char *nfs_server_fscache_state(struct nfs_server *server) in nfs_server_fscache_state()
227 static inline const char *nfs_server_fscache_state(struct nfs_server *server) in nfs_server_fscache_state()
Diostat.h25 static inline void nfs_inc_server_stats(const struct nfs_server *server, in nfs_inc_server_stats()
37 static inline void nfs_add_server_stats(const struct nfs_server *server, in nfs_add_server_stats()
Dnamespace.c142 struct nfs_server *server = NFS_SERVER(path->dentry->d_inode); in nfs_d_automount()
225 static struct vfsmount *nfs_do_clone_mount(struct nfs_server *server, in nfs_do_clone_mount()
276 struct vfsmount *nfs_submount(struct nfs_server *server, struct dentry *dentry, in nfs_submount()
Dnfs4session.h92 extern int nfs4_init_session(struct nfs_server *server);
125 static inline int nfs4_init_session(struct nfs_server *server) in nfs4_init_session()
Didmap.c97 static bool nfs_fattr_map_owner_name(struct nfs_server *server, struct nfs_fattr *fattr) in nfs_fattr_map_owner_name()
111 static bool nfs_fattr_map_group_name(struct nfs_server *server, struct nfs_fattr *fattr) in nfs_fattr_map_group_name()
145 void nfs_fattr_map_and_free_names(struct nfs_server *server, struct nfs_fattr *fattr) in nfs_fattr_map_and_free_names()
843 int nfs_map_name_to_uid(const struct nfs_server *server, const char *name, size_t namelen, kuid_t *… in nfs_map_name_to_uid()
859 int nfs_map_group_to_gid(const struct nfs_server *server, const char *name, size_t namelen, kgid_t … in nfs_map_group_to_gid()
875 int nfs_map_uid_to_name(const struct nfs_server *server, kuid_t uid, char *buf, size_t buflen) in nfs_map_uid_to_name()
888 int nfs_map_gid_to_group(const struct nfs_server *server, kgid_t gid, char *buf, size_t buflen) in nfs_map_gid_to_group()
Dpnfs.c83 unset_pnfs_layoutdriver(struct nfs_server *nfss) in unset_pnfs_layoutdriver()
103 set_pnfs_layoutdriver(struct nfs_server *server, const struct nfs_fh *mntfh, in set_pnfs_layoutdriver()
209 struct nfs_server *server = NFS_SERVER(lo->plh_inode); in pnfs_free_layout_hdr()
536 struct nfs_server *server, in pnfs_layout_bulk_destroy_byserver_locked()
599 struct nfs_server *server; in pnfs_destroy_layouts_byfsid()
625 struct nfs_server *server; in pnfs_destroy_layouts_byclid()
750 struct nfs_server *server = NFS_SERVER(ino); in send_layoutget()
1230 struct nfs_server *server = NFS_SERVER(ino); in pnfs_update_layout()
1423 struct nfs_server *server = NFS_SERVER(inode); in pnfs_pageio_init_read()
1437 struct nfs_server *server = NFS_SERVER(inode); in pnfs_pageio_init_write()
[all …]
Dproc.c53 nfs_proc_get_root(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_get_root()
100 nfs_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_getattr()
537 nfs_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_statfs()
565 nfs_proc_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_fsinfo()
596 nfs_proc_pathconf(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_pathconf()
Dnfs4getroot.c12 int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh) in nfs4_get_rootfh()
Dnfs3proc.c85 nfs3_proc_get_root(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_get_root()
100 nfs3_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_getattr()
742 nfs3_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_statfs()
782 nfs3_proc_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_fsinfo()
794 nfs3_proc_pathconf(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_pathconf()
Dnfs4namespace.c123 struct sockaddr *sa, size_t salen, struct nfs_server *server) in nfs_parse_server_name()
369 struct vfsmount *nfs4_submount(struct nfs_server *server, struct dentry *dentry, in nfs4_submount()
Ddelegation.h43 void nfs_server_return_all_delegations(struct nfs_server *);
Dgetroot.c74 struct nfs_server *server = NFS_SB(sb); in nfs_get_root()
Dnfs4filelayoutdev.c158 nfs4_ds_connect(struct nfs_server *mds_srv, struct nfs4_pnfs_ds *ds) in nfs4_ds_connect()
679 struct nfs_server *server = NFS_SERVER(inode); in filelayout_get_device_info()
814 struct nfs_server *s = NFS_SERVER(lseg->pls_layout->plh_inode); in nfs4_fl_prepare_ds()

12