Home
last modified time | relevance | path

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

12

/linux-3.4.99/include/linux/
Dnfs_idmap.h68 struct nfs_server;
92 void nfs_fattr_map_and_free_names(struct nfs_server *, struct nfs_fattr *);
94 int nfs_map_name_to_uid(const struct nfs_server *, const char *, size_t, __u32 *);
95 int nfs_map_group_to_gid(const struct nfs_server *, const char *, size_t, __u32 *);
96 int nfs_map_uid_to_name(const struct nfs_server *, __u32, char *, size_t);
97 int nfs_map_gid_to_group(const struct nfs_server *, __u32, char *, size_t);
Dnfs_xdr.h279 const struct nfs_server *server;
339 const struct nfs_server *server; /* Needed for ID mapping */
354 const struct nfs_server *server;
395 const struct nfs_server *server;
467 const struct nfs_server *server;
517 const struct nfs_server *server;
532 const struct nfs_server *server;
551 const struct nfs_server *server;
572 struct nfs_server * server;
600 const struct nfs_server * server; /* Needed for name mapping */
[all …]
Dnfs_fs.h242 static inline struct nfs_server *NFS_SB(const struct super_block *s) in NFS_SB()
244 return (struct nfs_server *)(s->s_fs_info); in NFS_SB()
252 static inline struct nfs_server *NFS_SERVER(const struct inode *inode) in NFS_SERVER()
269 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MINATTRTIMEO()
275 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MAXATTRTIMEO()
366 extern int nfs_revalidate_inode(struct nfs_server *server, struct inode *inode);
367 extern int __nfs_revalidate_inode(struct nfs_server *, struct inode *);
Dnfs_fs_sb.h18 struct nfs_server;
97 struct nfs_server { struct
166 void (*destroy)(struct nfs_server *); argument
/linux-3.4.99/fs/nfs/
Dnfs4_fs.h41 struct nfs_server *server,
48 int (*find_root_sec)(struct nfs_server *, struct nfs_fh *,
89 struct nfs_server *so_server;
218 extern int nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fhandle);
228 static inline struct nfs4_session *nfs4_get_session(const struct nfs_server *server) in nfs4_get_session()
234 extern int nfs4_setup_sequence(const struct nfs_server *server,
244 extern int nfs4_init_session(struct nfs_server *server);
263 static inline struct nfs4_session *nfs4_get_session(const struct nfs_server *server) in nfs4_get_session()
268 static inline int nfs4_setup_sequence(const struct nfs_server *server, in nfs4_setup_sequence()
275 static inline int nfs4_init_session(struct nfs_server *server) in nfs4_init_session()
[all …]
Dsuper.c450 struct nfs_server *server = NFS_SB(sb); in nfs_sb_active()
458 struct nfs_server *server = NFS_SB(sb); in nfs_sb_deactive()
469 struct nfs_server *server = NFS_SB(dentry->d_sb); in nfs_statfs()
560 static void nfs_show_mountd_netid(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mountd_netid()
599 static void nfs_show_mountd_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mountd_options()
634 static void nfs_show_nfsv4_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_nfsv4_options()
642 static void nfs_show_nfsv4_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_nfsv4_options()
660 static void nfs_show_mount_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mount_options()
752 struct nfs_server *nfss = NFS_SB(root->d_sb); in nfs_show_options()
767 static void show_sessions(struct seq_file *m, struct nfs_server *server) in show_sessions()
[all …]
Ddelegation.c186 struct nfs_server *server) in nfs_detach_delegation_locked()
207 struct nfs_server *server) in nfs_detach_delegation()
228 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_set_delegation()
324 struct nfs_server *server; in nfs_client_return_marked_delegations()
368 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_return_delegation_noreclaim()
387 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_return_delegation()
402 static void nfs_mark_return_delegation(struct nfs_server *server, in nfs_mark_return_delegation()
416 struct nfs_server *server = NFS_SB(sb); in nfs_super_return_all_delegations()
435 static void nfs_mark_return_all_delegation_types(struct nfs_server *server, in nfs_mark_return_all_delegation_types()
451 struct nfs_server *server; in nfs_client_mark_return_all_delegation_types()
[all …]
Dclient.c257 static void pnfs_init_server(struct nfs_server *server) in pnfs_init_server()
262 static void nfs4_destroy_server(struct nfs_server *server) in nfs4_destroy_server()
280 static void pnfs_init_server(struct nfs_server *server) in pnfs_init_server()
695 static void nfs_destroy_server(struct nfs_server *server) in nfs_destroy_server()
704 static int nfs_start_lockd(struct nfs_server *server) in nfs_start_lockd()
745 static void nfs_init_server_aclclient(struct nfs_server *server) in nfs_init_server_aclclient()
764 static inline void nfs_init_server_aclclient(struct nfs_server *server) in nfs_init_server_aclclient()
774 static int nfs_init_server_rpcclient(struct nfs_server *server, in nfs_init_server_rpcclient()
842 static int nfs_init_server(struct nfs_server *server, in nfs_init_server()
846 .hostname = data->nfs_server.hostname, in nfs_init_server()
[all …]
Dpnfs.h84 int (*set_layoutdriver) (struct nfs_server *, const struct nfs_fh *);
85 int (*clear_layoutdriver) (struct nfs_server *);
159 extern int nfs4_proc_getdevicelist(struct nfs_server *server,
162 extern int nfs4_proc_getdeviceinfo(struct nfs_server *server,
174 void set_pnfs_layoutdriver(struct nfs_server *, const struct nfs_fh *, u32);
175 void unset_pnfs_layoutdriver(struct nfs_server *);
258 static inline int pnfs_enabled_sb(struct nfs_server *nfss) in pnfs_enabled_sb()
322 struct nfs_server *nfss = NFS_SERVER(ino); in pnfs_return_layout()
390 static inline void set_pnfs_layoutdriver(struct nfs_server *s, in set_pnfs_layoutdriver()
395 static inline void unset_pnfs_layoutdriver(struct nfs_server *s) in unset_pnfs_layoutdriver()
Dfscache.c71 struct nfs_server *nfss = NFS_SB(sb); in nfs_fscache_get_super_cookie()
78 struct nfs_server *mnt_s = NFS_SB(mntdata->sb); in nfs_fscache_get_super_cookie()
96 key->key.nfs_server.flags = nfss->flags; in nfs_fscache_get_super_cookie()
97 key->key.nfs_server.rsize = nfss->rsize; in nfs_fscache_get_super_cookie()
98 key->key.nfs_server.wsize = nfss->wsize; in nfs_fscache_get_super_cookie()
99 key->key.nfs_server.acregmin = nfss->acregmin; in nfs_fscache_get_super_cookie()
100 key->key.nfs_server.acregmax = nfss->acregmax; in nfs_fscache_get_super_cookie()
101 key->key.nfs_server.acdirmin = nfss->acdirmin; in nfs_fscache_get_super_cookie()
102 key->key.nfs_server.acdirmax = nfss->acdirmax; in nfs_fscache_get_super_cookie()
103 key->key.nfs_server.fsid = nfss->fsid; in nfs_fscache_get_super_cookie()
[all …]
Dinternal.h123 } nfs_server; member
157 extern struct nfs_server *nfs_create_server(
160 extern struct nfs_server *nfs4_create_server(
163 extern struct nfs_server *nfs4_create_referral_server(struct nfs_clone_mount *,
165 extern void nfs_free_server(struct nfs_server *server);
166 extern struct nfs_server *nfs_clone_server(struct nfs_server *,
295 extern int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh);
356 struct nfs_server *server,
362 struct nfs_server *server,
Dnfs4proc.c80 static int nfs4_do_fsinfo(struct nfs_server *, struct nfs_fh *, struct nfs_fsinfo *);
81 static int nfs4_async_handle_error(struct rpc_task *, const struct nfs_server *, struct nfs4_state …
83 static int _nfs4_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fattr *…
88 static int nfs41_test_stateid(struct nfs_server *, nfs4_stateid *);
89 static int nfs41_free_stateid(struct nfs_server *, nfs4_stateid *);
263 static int nfs4_handle_exception(struct nfs_server *server, int errorcode, struct nfs4_exception *e… in nfs4_handle_exception()
360 static void renew_lease(const struct nfs_server *server, unsigned long timestamp) in renew_lease()
627 int nfs4_setup_sequence(const struct nfs_server *server, in nfs4_setup_sequence()
649 const struct nfs_server *seq_server;
690 struct nfs_server *server, in nfs4_call_sync_sequence()
[all …]
Dnfs4state.c119 nfs4_get_renew_cred_server_locked(struct nfs_server *server) in nfs4_get_renew_cred_server_locked()
147 struct nfs_server *server; in nfs4_get_renew_cred_locked()
280 nfs4_get_setclientid_cred_server(struct nfs_server *server) in nfs4_get_setclientid_cred_server()
305 struct nfs_server *server; in nfs4_get_setclientid_cred()
327 nfs4_find_state_owner_locked(struct nfs_server *server, struct rpc_cred *cred) in nfs4_find_state_owner_locked()
354 struct nfs_server *server = new->so_server; in nfs4_insert_state_owner_locked()
386 struct nfs_server *server = sp->so_server; in nfs4_remove_state_owner_locked()
416 nfs4_alloc_state_owner(struct nfs_server *server, in nfs4_alloc_state_owner()
441 struct nfs_server *server = sp->so_server; in nfs4_drop_state_owner()
460 static void nfs4_gc_state_owners(struct nfs_server *server) in nfs4_gc_state_owners()
[all …]
Dfscache.h46 } nfs_server; member
160 static inline const char *nfs_server_fscache_state(struct nfs_server *server) in nfs_server_fscache_state()
216 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()
Dgetroot.c78 struct nfs_server *server = NFS_SB(sb); in nfs_get_root()
141 int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh) in nfs4_get_rootfh()
187 struct nfs_server *server = NFS_SB(sb); in nfs4_get_root()
Didmap.c98 static bool nfs_fattr_map_owner_name(struct nfs_server *server, struct nfs_fattr *fattr) in nfs_fattr_map_owner_name()
112 static bool nfs_fattr_map_group_name(struct nfs_server *server, struct nfs_fattr *fattr) in nfs_fattr_map_group_name()
146 void nfs_fattr_map_and_free_names(struct nfs_server *server, struct nfs_fattr *fattr) in nfs_fattr_map_and_free_names()
796 int nfs_map_name_to_uid(const struct nfs_server *server, const char *name, size_t namelen, __u32 *u… in nfs_map_name_to_uid()
805 int nfs_map_group_to_gid(const struct nfs_server *server, const char *name, size_t namelen, __u32 *… in nfs_map_group_to_gid()
814 int nfs_map_uid_to_name(const struct nfs_server *server, __u32 uid, char *buf, size_t buflen) in nfs_map_uid_to_name()
825 int nfs_map_gid_to_group(const struct nfs_server *server, __u32 gid, char *buf, size_t buflen) in nfs_map_gid_to_group()
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()
538 nfs_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_statfs()
566 nfs_proc_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_fsinfo()
597 nfs_proc_pathconf(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_pathconf()
Dpnfs.c78 unset_pnfs_layoutdriver(struct nfs_server *nfss) in unset_pnfs_layoutdriver()
95 set_pnfs_layoutdriver(struct nfs_server *server, const struct nfs_fh *mntfh, in set_pnfs_layoutdriver()
466 struct nfs_server *server; in pnfs_destroy_all_layouts()
574 struct nfs_server *server = NFS_SERVER(ino); in send_layoutget()
915 struct nfs_server *server = NFS_SERVER(ino); in pnfs_update_layout()
1081 struct nfs_server *server = NFS_SERVER(inode); in pnfs_pageio_init_read()
1093 struct nfs_server *server = NFS_SERVER(inode); in pnfs_pageio_init_write()
1202 struct nfs_server *nfss = NFS_SERVER(inode); in pnfs_try_to_write_data()
1317 struct nfs_server *nfss = NFS_SERVER(inode); in pnfs_try_to_read_data()
1449 struct nfs_server *nfss = NFS_SERVER(data->args.inode); in pnfs_cleanup_layoutcommit()
Dcallback_proc.c114 struct nfs_server *server; in get_layout_by_fh_locked()
177 struct nfs_server *server; in initiate_bulk_draining()
273 struct nfs_server *server = NULL; in nfs4_callback_devicenotify()
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()
743 nfs3_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_statfs()
783 nfs3_proc_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_fsinfo()
795 nfs3_proc_pathconf(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_pathconf()
Dnfs4filelayoutdev.c152 nfs4_ds_connect(struct nfs_server *mds_srv, struct nfs4_pnfs_ds *ds) in nfs4_ds_connect()
695 struct nfs_server *server = NFS_SERVER(inode); in get_device_info()
822 struct nfs_server *s = NFS_SERVER(lseg->pls_layout->plh_inode); in nfs4_fl_prepare_ds()
Dnfs3acl.c187 struct nfs_server *server = NFS_SERVER(inode); in nfs3_proc_getacl()
295 struct nfs_server *server = NFS_SERVER(inode); in nfs3_proc_setacls()
Dfscache-index.c123 const struct nfs_server *nfss = cookie_netfs_data; in nfs_super_get_key()
/linux-3.4.99/fs/nfs/blocklayout/
Dblocklayout.h178 struct pnfs_block_dev *nfs4_blk_decode_device(struct nfs_server *server,

12