/fs/nfs/ |
D | super.c | 420 struct nfs_server *server = NFS_SB(sb); in nfs_sb_active() 432 struct nfs_server *server = NFS_SB(sb); in nfs_sb_deactive() 440 int (*fn)(struct nfs_server *, void *), in __nfs_list_for_each_server() argument 443 struct nfs_server *server, *last = NULL; in __nfs_list_for_each_server() 467 int (*fn)(struct nfs_server *, void *), in nfs_client_for_each_server() argument 479 struct nfs_server *server = NFS_SB(dentry->d_sb); in nfs_statfs() 570 static void nfs_show_mountd_netid(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mountd_netid() 602 static void nfs_show_mountd_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mountd_options() 637 static void nfs_show_nfsv4_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_nfsv4_options() 645 static void nfs_show_nfsv4_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_nfsv4_options() [all …]
|
D | nfs3client.c | 25 static void nfs_init_server_aclclient(struct nfs_server *server) in nfs_init_server_aclclient() 42 static inline void nfs_init_server_aclclient(struct nfs_server *server) in nfs_init_server_aclclient() 49 struct nfs_server *nfs3_create_server(struct nfs_mount_info *mount_info, in nfs3_create_server() 52 struct nfs_server *server = nfs_create_server(mount_info, nfs_mod); in nfs3_create_server() 59 struct nfs_server *nfs3_clone_server(struct nfs_server *source, in nfs3_clone_server() 64 struct nfs_server *server = nfs_clone_server(source, fh, fattr, flavor); in nfs3_clone_server() 80 struct nfs_client *nfs3_set_ds_client(struct nfs_server *mds_srv, in nfs3_set_ds_client()
|
D | nfs4idmap.h | 45 struct nfs_server; 58 void nfs_fattr_map_and_free_names(struct nfs_server *, struct nfs_fattr *); 60 int nfs_map_name_to_uid(const struct nfs_server *, const char *, size_t, kuid_t *); 61 int nfs_map_group_to_gid(const struct nfs_server *, const char *, size_t, kgid_t *); 62 int nfs_map_uid_to_name(const struct nfs_server *, kuid_t, char *, size_t); 63 int nfs_map_gid_to_group(const struct nfs_server *, kgid_t, char *, size_t);
|
D | internal.h | 119 } nfs_server; member 158 int nfs_probe_fsinfo(struct nfs_server *server, struct nfs_fh *, struct nfs_fattr *); 159 void nfs_server_insert_lists(struct nfs_server *); 160 void nfs_server_remove_lists(struct nfs_server *); 162 int nfs_init_server_rpcclient(struct nfs_server *, const struct rpc_timeout *t, 164 struct nfs_server *nfs_alloc_server(void); 165 void nfs_server_copy_userdata(struct nfs_server *, struct nfs_server *); 173 extern struct nfs_server *nfs_create_server(struct nfs_mount_info *, 175 extern struct nfs_server *nfs4_create_server( 178 extern struct nfs_server *nfs4_create_referral_server(struct nfs_clone_mount *, [all …]
|
D | delegation.c | 311 struct nfs_server *server) in nfs_detach_delegation() 325 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_detach_delegation() 360 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_set_delegation() 503 struct nfs_server *server; in nfs_client_return_marked_delegations() 526 struct nfs_server, client_link); in nfs_client_return_marked_delegations() 642 static void nfs_mark_return_if_closed_delegation(struct nfs_server *server, in nfs_mark_return_if_closed_delegation() 649 static void nfs_mark_return_delegation(struct nfs_server *server, in nfs_mark_return_delegation() 656 static bool nfs_server_mark_return_all_delegations(struct nfs_server *server) in nfs_server_mark_return_all_delegations() 670 struct nfs_server *server; in nfs_client_mark_return_all_delegations() 700 void nfs_server_return_all_delegations(struct nfs_server *server) in nfs_server_return_all_delegations() [all …]
|
D | nfs4_fs.h | 60 int (*find_root_sec)(struct nfs_server *, struct nfs_fh *, 62 void (*free_lock_state)(struct nfs_server *, 64 int (*test_and_free_expired)(struct nfs_server *, 106 struct nfs_server *so_server; 278 struct vfsmount *nfs4_submount(struct nfs_server *, struct dentry *, 280 int nfs4_replace_transport(struct nfs_server *server, 285 extern int nfs4_handle_exception(struct nfs_server *, int, struct nfs4_exception *); 287 struct nfs_server *server, 289 extern int nfs4_call_sync(struct rpc_clnt *, struct nfs_server *, 295 extern int nfs4_proc_get_rootfh(struct nfs_server *, struct nfs_fh *, struct nfs_fsinfo *, bool); [all …]
|
D | client.c | 215 static void pnfs_init_server(struct nfs_server *server) in pnfs_init_server() 229 static void pnfs_init_server(struct nfs_server *server) in pnfs_init_server() 539 static void nfs_destroy_server(struct nfs_server *server) in nfs_destroy_server() 548 static int nfs_start_lockd(struct nfs_server *server) in nfs_start_lockd() 590 int nfs_init_server_rpcclient(struct nfs_server *server, in nfs_init_server_rpcclient() 651 static int nfs_init_server(struct nfs_server *server, in nfs_init_server() 657 .hostname = data->nfs_server.hostname, in nfs_init_server() 658 .addr = (const struct sockaddr *)&data->nfs_server.address, in nfs_init_server() 659 .addrlen = data->nfs_server.addrlen, in nfs_init_server() 661 .proto = data->nfs_server.protocol, in nfs_init_server() [all …]
|
D | pnfs.h | 131 int (*set_layoutdriver) (struct nfs_server *, const struct nfs_fh *); 132 int (*clear_layoutdriver) (struct nfs_server *); 179 (struct nfs_server *server, struct pnfs_device *pdev, 233 extern size_t max_response_pages(struct nfs_server *server); 234 extern int nfs4_proc_getdeviceinfo(struct nfs_server *server, 244 void set_pnfs_layoutdriver(struct nfs_server *, const struct nfs_fh *, struct nfs_fsinfo *); 245 void unset_pnfs_layoutdriver(struct nfs_server *); 351 nfs4_find_get_deviceid(struct nfs_server *server, 355 void nfs4_init_deviceid_node(struct nfs4_deviceid_node *, struct nfs_server *, 383 int nfs4_pnfs_ds_connect(struct nfs_server *mds_srv, struct nfs4_pnfs_ds *ds, [all …]
|
D | fscache.c | 115 struct nfs_server *nfss = NFS_SB(sb); in nfs_fscache_get_super_cookie() 134 key->key.nfs_server.flags = nfss->flags; in nfs_fscache_get_super_cookie() 135 key->key.nfs_server.rsize = nfss->rsize; in nfs_fscache_get_super_cookie() 136 key->key.nfs_server.wsize = nfss->wsize; in nfs_fscache_get_super_cookie() 137 key->key.nfs_server.acregmin = nfss->acregmin; in nfs_fscache_get_super_cookie() 138 key->key.nfs_server.acregmax = nfss->acregmax; in nfs_fscache_get_super_cookie() 139 key->key.nfs_server.acdirmin = nfss->acdirmin; in nfs_fscache_get_super_cookie() 140 key->key.nfs_server.acdirmax = nfss->acdirmax; in nfs_fscache_get_super_cookie() 141 key->key.nfs_server.fsid = nfss->fsid; in nfs_fscache_get_super_cookie() 213 struct nfs_server *nfss = NFS_SB(sb); in nfs_fscache_release_super_cookie() [all …]
|
D | nfs4client.c | 761 static void nfs4_destroy_server(struct nfs_server *server) in nfs4_destroy_server() 861 static int nfs4_set_client(struct nfs_server *server, in nfs4_set_client() 927 struct nfs_client *nfs4_set_ds_client(struct nfs_server *mds_srv, in nfs4_set_ds_client() 973 static void nfs4_session_limit_rwsize(struct nfs_server *server) in nfs4_session_limit_rwsize() 995 static int nfs4_server_common_setup(struct nfs_server *server, in nfs4_server_common_setup() 1057 static int nfs4_init_server(struct nfs_server *server, in nfs4_init_server() 1063 nfs_init_timeout_values(&timeparms, data->nfs_server.protocol, in nfs4_init_server() 1081 data->nfs_server.hostname, in nfs4_init_server() 1082 (const struct sockaddr *)&data->nfs_server.address, in nfs4_init_server() 1083 data->nfs_server.addrlen, in nfs4_init_server() [all …]
|
D | nfs3_fs.h | 30 struct nfs_server *nfs3_create_server(struct nfs_mount_info *, struct nfs_subversion *); 31 struct nfs_server *nfs3_clone_server(struct nfs_server *, struct nfs_fh *,
|
D | nfs4proc.c | 92 static int nfs4_do_fsinfo(struct nfs_server *, struct nfs_fh *, struct nfs_fsinfo *); 94 static int nfs4_proc_getattr(struct nfs_server *, struct nfs_fh *, struct nfs_fattr *, struct nfs4_… 95 static int _nfs4_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fattr *… 105 static int nfs41_test_stateid(struct nfs_server *, nfs4_stateid *, 107 static int nfs41_free_stateid(struct nfs_server *, const nfs4_stateid *, 142 static inline u32 *nfs4_bitmask(struct nfs_server *server, struct nfs4_label *label) in nfs4_bitmask() 158 nfs4_bitmask(struct nfs_server *server, struct nfs4_label *label) in nfs4_bitmask() 376 static void nfs4_test_and_free_stateid(struct nfs_server *server, in nfs4_test_and_free_stateid() 385 static void __nfs4_free_revoked_stateid(struct nfs_server *server, in __nfs4_free_revoked_stateid() 393 static void nfs4_free_revoked_stateid(struct nfs_server *server, in nfs4_free_revoked_stateid() [all …]
|
D | nfs4super.c | 112 struct nfs_server *server; in nfs4_remote_mount() 249 export_path = data->nfs_server.export_path; in nfs4_try_mount() 250 data->nfs_server.export_path = "/"; in nfs4_try_mount() 252 data->nfs_server.hostname); in nfs4_try_mount() 253 data->nfs_server.export_path = export_path; in nfs4_try_mount() 272 struct nfs_server *server; in nfs4_remote_referral_mount()
|
D | nfs42proc.c | 26 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_fallocate() 63 struct nfs_server *server = NFS_SERVER(inode); in nfs42_proc_fallocate() 137 struct nfs_server *server, in handle_async_copy() 235 struct nfs_server *server = NFS_SERVER(dst_inode); in _nfs42_proc_copy() 313 struct nfs_server *server = NFS_SERVER(file_inode(dst)); in nfs42_proc_copy() 383 struct nfs_server *seq_server; 422 struct nfs_server *dst_server = NFS_SERVER(file_inode(dst)); in nfs42_do_offload_cancel_async() 481 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_llseek() 512 struct nfs_server *server = NFS_SERVER(file_inode(filep)); in nfs42_proc_llseek() 545 struct nfs_server *server = NFS_SERVER(inode); in nfs42_layoutstat_prepare() [all …]
|
D | nfs4state.c | 208 nfs4_get_renew_cred_server_locked(struct nfs_server *server) in nfs4_get_renew_cred_server_locked() 236 struct nfs_server *server; in nfs4_get_renew_cred() 407 nfs4_find_state_owner_locked(struct nfs_server *server, const struct cred *cred) in nfs4_find_state_owner_locked() 436 struct nfs_server *server = new->so_server; in nfs4_insert_state_owner_locked() 466 struct nfs_server *server = sp->so_server; in nfs4_remove_state_owner_locked() 495 nfs4_alloc_state_owner(struct nfs_server *server, in nfs4_alloc_state_owner() 545 static void nfs4_gc_state_owners(struct nfs_server *server) in nfs4_gc_state_owners() 578 struct nfs4_state_owner *nfs4_get_state_owner(struct nfs_server *server, in nfs4_get_state_owner() 617 struct nfs_server *server = sp->so_server; in nfs4_put_state_owner() 639 void nfs4_purge_state_owners(struct nfs_server *server, struct list_head *head) in nfs4_purge_state_owners() [all …]
|
D | fscache.h | 42 } nfs_server; member 185 static inline const char *nfs_server_fscache_state(struct nfs_server *server) in nfs_server_fscache_state() 236 static inline const char *nfs_server_fscache_state(struct nfs_server *server) in nfs_server_fscache_state()
|
D | pnfs_dev.c | 95 nfs4_get_device_info(struct nfs_server *server, in nfs4_get_device_info() 171 __nfs4_find_get_deviceid(struct nfs_server *server, in __nfs4_find_get_deviceid() 186 nfs4_find_get_deviceid(struct nfs_server *server, in nfs4_find_get_deviceid() 248 nfs4_init_deviceid_node(struct nfs4_deviceid_node *d, struct nfs_server *server, in nfs4_init_deviceid_node()
|
D | iostat.h | 26 static inline void nfs_inc_server_stats(const struct nfs_server *server, in nfs_inc_server_stats() 38 static inline void nfs_add_server_stats(const struct nfs_server *server, in nfs_add_server_stats()
|
D | nfs4idmap.c | 108 static bool nfs_fattr_map_owner_name(struct nfs_server *server, struct nfs_fattr *fattr) in nfs_fattr_map_owner_name() 122 static bool nfs_fattr_map_group_name(struct nfs_server *server, struct nfs_fattr *fattr) in nfs_fattr_map_group_name() 156 void nfs_fattr_map_and_free_names(struct nfs_server *server, struct nfs_fattr *fattr) in nfs_fattr_map_and_free_names() 744 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() 761 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() 778 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() 792 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()
|
D | namespace.c | 147 struct nfs_server *server = NFS_SERVER(d_inode(path->dentry)); in nfs_d_automount() 220 static struct vfsmount *nfs_do_clone_mount(struct nfs_server *server, in nfs_do_clone_mount() 263 struct vfsmount *nfs_submount(struct nfs_server *server, struct dentry *dentry, in nfs_submount()
|
D | nfs4namespace.c | 156 struct nfs_server *server, in nfs_find_best_sec() 389 struct vfsmount *nfs4_submount(struct nfs_server *server, struct dentry *dentry, in nfs4_submount() 423 static int nfs4_try_replacing_one_location(struct nfs_server *server, in nfs4_try_replacing_one_location() 482 int nfs4_replace_transport(struct nfs_server *server, in nfs4_replace_transport()
|
D | proc.c | 54 nfs_proc_get_root(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_get_root() 101 nfs_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_getattr() 520 nfs_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_statfs() 548 nfs_proc_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_fsinfo() 579 nfs_proc_pathconf(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_pathconf()
|
D | pnfs.c | 107 unset_pnfs_layoutdriver(struct nfs_server *nfss) in unset_pnfs_layoutdriver() 160 set_pnfs_layoutdriver(struct nfs_server *server, const struct nfs_fh *mntfh, in set_pnfs_layoutdriver() 279 struct nfs_server *server = NFS_SERVER(lo->plh_inode); in pnfs_free_layout_hdr() 809 struct nfs_server *server, in pnfs_layout_bulk_destroy_byserver_locked() 887 struct nfs_server *server; in pnfs_destroy_layouts_byfsid() 913 struct nfs_server *server; in pnfs_destroy_layouts_byclid() 996 static struct nfs_server * 999 struct nfs_server *server; in pnfs_find_server() 1056 struct nfs_server *server = pnfs_find_server(ino, ctx); in pnfs_alloc_init_layoutget_args() 1899 struct nfs_server *server) in _add_to_server_list() [all …]
|
/fs/nfs/blocklayout/ |
D | dev.c | 230 bl_parse_deviceid(struct nfs_server *server, struct pnfs_block_dev *d, 235 bl_parse_simple(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_simple() 352 bl_parse_scsi(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_scsi() 401 bl_parse_slice(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_slice() 417 bl_parse_concat(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_concat() 446 bl_parse_stripe(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_stripe() 475 bl_parse_deviceid(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_deviceid() 496 bl_alloc_deviceid_node(struct nfs_server *server, struct pnfs_device *pdev, in bl_alloc_deviceid_node()
|
D | blocklayout.h | 175 struct nfs4_deviceid_node *bl_alloc_deviceid_node(struct nfs_server *server, 192 dev_t bl_resolve_deviceid(struct nfs_server *server,
|