/fs/nfs/ |
D | fs_context.c | 277 switch (ctx->nfs_server.protocol) { in nfs_validate_transport_protocol() 283 ctx->nfs_server.protocol = XPRT_TRANSPORT_TCP; in nfs_validate_transport_protocol() 298 switch (ctx->nfs_server.protocol) { in nfs_set_mount_transport_protocol() 510 ctx->nfs_server.protocol = XPRT_TRANSPORT_UDP; in nfs_fs_context_parse_param() 514 ctx->nfs_server.protocol = XPRT_TRANSPORT_TCP; in nfs_fs_context_parse_param() 518 ctx->nfs_server.protocol = XPRT_TRANSPORT_RDMA; in nfs_fs_context_parse_param() 572 ctx->nfs_server.port = result.uint_32; in nfs_fs_context_parse_param() 658 ctx->nfs_server.protocol = XPRT_TRANSPORT_UDP; in nfs_fs_context_parse_param() 665 ctx->nfs_server.protocol = XPRT_TRANSPORT_TCP; in nfs_fs_context_parse_param() 673 ctx->nfs_server.protocol = XPRT_TRANSPORT_RDMA; in nfs_fs_context_parse_param() [all …]
|
D | nfs4namespace.c | 160 __func__, path, ctx->nfs_server.export_path); in nfs4_validate_fspath() 204 struct nfs_server *server, in nfs_find_best_sec() 306 kfree(ctx->nfs_server.hostname); in try_location() 307 ctx->nfs_server.hostname = kmalloc(len + 1, GFP_KERNEL); in try_location() 308 if (!ctx->nfs_server.hostname) in try_location() 312 &ctx->nfs_server.export_path_len); in try_location() 316 kfree(ctx->nfs_server.export_path); in try_location() 317 ctx->nfs_server.export_path = export_path; in try_location() 319 source = kmalloc(len + 1 + ctx->nfs_server.export_path_len + 1, in try_location() 332 ctx->nfs_server.addrlen = in try_location() [all …]
|
D | super.c | 177 struct nfs_server *server = NFS_SB(sb); in nfs_sb_active() 189 struct nfs_server *server = NFS_SB(sb); in nfs_sb_deactive() 197 int (*fn)(struct nfs_server *, void *), in __nfs_list_for_each_server() argument 200 struct nfs_server *server, *last = NULL; in __nfs_list_for_each_server() 224 int (*fn)(struct nfs_server *, void *), in nfs_client_for_each_server() argument 236 struct nfs_server *server = NFS_SB(dentry->d_sb); in nfs_statfs() 327 static void nfs_show_mountd_netid(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mountd_netid() 359 static void nfs_show_mountd_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mountd_options() 394 static void nfs_show_nfsv4_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_nfsv4_options() 402 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 fs_context *fc) in nfs3_create_server() 51 struct nfs_server *server = nfs_create_server(fc); 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 | 140 } nfs_server; member 143 struct nfs_server *server; 209 int nfs_probe_fsinfo(struct nfs_server *server, struct nfs_fh *, struct nfs_fattr *); 210 void nfs_server_insert_lists(struct nfs_server *); 211 void nfs_server_remove_lists(struct nfs_server *); 213 int nfs_init_server_rpcclient(struct nfs_server *, const struct rpc_timeout *t, 215 struct nfs_server *nfs_alloc_server(void); 216 void nfs_server_copy_userdata(struct nfs_server *, struct nfs_server *); 224 extern struct nfs_server *nfs_create_server(struct fs_context *); 225 extern struct nfs_server *nfs4_create_server(struct fs_context *); [all …]
|
D | nfs4_fs.h | 64 int (*find_root_sec)(struct nfs_server *, struct nfs_fh *, 66 void (*free_lock_state)(struct nfs_server *, 68 int (*test_and_free_expired)(struct nfs_server *, 110 struct nfs_server *so_server; 282 int nfs4_submount(struct fs_context *, struct nfs_server *); 283 int nfs4_replace_transport(struct nfs_server *server, 288 extern int nfs4_handle_exception(struct nfs_server *, int, struct nfs4_exception *); 290 struct nfs_server *server, 292 extern int nfs4_call_sync(struct rpc_clnt *, struct nfs_server *, 298 extern int nfs4_proc_get_rootfh(struct nfs_server *, struct nfs_fh *, struct nfs_fsinfo *, bool); [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() 930 struct nfs_client *nfs4_set_ds_client(struct nfs_server *mds_srv, in nfs4_set_ds_client() 976 static void nfs4_session_limit_rwsize(struct nfs_server *server) in nfs4_session_limit_rwsize() 1001 static void nfs4_session_limit_xasize(struct nfs_server *server) in nfs4_session_limit_xasize() 1028 static int nfs4_server_common_setup(struct nfs_server *server, in nfs4_server_common_setup() 1093 static int nfs4_init_server(struct nfs_server *server, struct fs_context *fc) in nfs4_init_server() 1099 nfs_init_timeout_values(&timeparms, ctx->nfs_server.protocol, in nfs4_init_server() 1117 ctx->nfs_server.hostname, in nfs4_init_server() 1118 &ctx->nfs_server.address, in nfs4_init_server() [all …]
|
D | client.c | 216 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() 552 static void nfs_destroy_server(struct nfs_server *server) in nfs_destroy_server() 561 static int nfs_start_lockd(struct nfs_server *server) in nfs_start_lockd() 605 int nfs_init_server_rpcclient(struct nfs_server *server, in nfs_init_server_rpcclient() 666 static int nfs_init_server(struct nfs_server *server, in nfs_init_server() 672 .hostname = ctx->nfs_server.hostname, in nfs_init_server() 673 .addr = (const struct sockaddr *)&ctx->nfs_server.address, in nfs_init_server() 674 .addrlen = ctx->nfs_server.addrlen, in nfs_init_server() 676 .proto = ctx->nfs_server.protocol, in nfs_init_server() [all …]
|
D | delegation.c | 78 static void nfs_mark_return_delegation(struct nfs_server *server, in nfs_mark_return_delegation() 362 struct nfs_server *server) in nfs_detach_delegation() 376 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_detach_delegation() 433 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_set_delegation() 574 static int nfs_server_return_marked_delegations(struct nfs_server *server, in nfs_server_return_marked_delegations() 647 static bool nfs_server_clear_delayed_delegations(struct nfs_server *server) in nfs_server_clear_delayed_delegations() 664 struct nfs_server *server; in nfs_client_clear_delayed_delegations() 806 static void nfs_mark_return_if_closed_delegation(struct nfs_server *server, in nfs_mark_return_if_closed_delegation() 813 static bool nfs_server_mark_return_all_delegations(struct nfs_server *server) in nfs_server_mark_return_all_delegations() 827 struct nfs_server *server; in nfs_client_mark_return_all_delegations() [all …]
|
D | pnfs.h | 134 int (*set_layoutdriver) (struct nfs_server *, const struct nfs_fh *); 135 int (*clear_layoutdriver) (struct nfs_server *); 166 (struct nfs_server *server, struct pnfs_device *pdev, 244 extern size_t max_response_pages(struct nfs_server *server); 245 extern int nfs4_proc_getdeviceinfo(struct nfs_server *server, 255 void set_pnfs_layoutdriver(struct nfs_server *, const struct nfs_fh *, struct nfs_fsinfo *); 256 void unset_pnfs_layoutdriver(struct nfs_server *); 367 nfs4_find_get_deviceid(struct nfs_server *server, 371 void nfs4_init_deviceid_node(struct nfs4_deviceid_node *, struct nfs_server *, 411 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() 132 key->key.nfs_server.flags = nfss->flags; in nfs_fscache_get_super_cookie() 133 key->key.nfs_server.rsize = nfss->rsize; in nfs_fscache_get_super_cookie() 134 key->key.nfs_server.wsize = nfss->wsize; in nfs_fscache_get_super_cookie() 135 key->key.nfs_server.acregmin = nfss->acregmin; in nfs_fscache_get_super_cookie() 136 key->key.nfs_server.acregmax = nfss->acregmax; in nfs_fscache_get_super_cookie() 137 key->key.nfs_server.acdirmin = nfss->acdirmin; in nfs_fscache_get_super_cookie() 138 key->key.nfs_server.acdirmax = nfss->acdirmax; in nfs_fscache_get_super_cookie() 139 key->key.nfs_server.fsid = nfss->fsid; in nfs_fscache_get_super_cookie() 211 struct nfs_server *nfss = NFS_SB(sb); in nfs_fscache_release_super_cookie() [all …]
|
D | nfs3_fs.h | 30 struct nfs_server *nfs3_create_server(struct fs_context *); 31 struct nfs_server *nfs3_clone_server(struct nfs_server *, struct nfs_fh *,
|
D | nfs4proc.c | 98 static int nfs4_do_fsinfo(struct nfs_server *, struct nfs_fh *, struct nfs_fsinfo *); 100 static int _nfs4_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fattr *… 110 static int nfs41_test_stateid(struct nfs_server *, nfs4_stateid *, 112 static int nfs41_free_stateid(struct nfs_server *, const nfs4_stateid *, 117 struct nfs_server *server, 151 static inline u32 *nfs4_bitmask(struct nfs_server *server, struct nfs4_label *label) in nfs4_bitmask() 167 nfs4_bitmask(struct nfs_server *server, struct nfs4_label *label) in nfs4_bitmask() 386 static void nfs4_test_and_free_stateid(struct nfs_server *server, in nfs4_test_and_free_stateid() 395 static void __nfs4_free_revoked_stateid(struct nfs_server *server, in __nfs4_free_revoked_stateid() 403 static void nfs4_free_revoked_stateid(struct nfs_server *server, in nfs4_free_revoked_stateid() [all …]
|
D | nfs42proc.c | 48 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_fallocate() 94 struct nfs_server *server = NFS_SERVER(inode); in nfs42_proc_fallocate() 168 struct nfs_server *dst_server, in handle_async_copy() 169 struct nfs_server *src_server, in handle_async_copy() 289 struct nfs_server *dst_server = NFS_SERVER(dst_inode); in _nfs42_proc_copy() 290 struct nfs_server *src_server = NFS_SERVER(src_inode); in _nfs42_proc_copy() 389 struct nfs_server *server = NFS_SERVER(file_inode(dst)); in nfs42_proc_copy() 473 struct nfs_server *seq_server; 512 struct nfs_server *dst_server = NFS_SERVER(file_inode(dst)); in nfs42_do_offload_cancel_async() 559 struct nfs_server *src_server = NFS_SERVER(file_inode(src)); in _nfs42_proc_copy_notify() [all …]
|
D | nfs4super.c | 142 static int do_nfs4_mount(struct nfs_server *server, in do_nfs4_mount() 227 fc, ctx->nfs_server.hostname, in nfs4_try_get_tree() 228 ctx->nfs_server.export_path); in nfs4_try_get_tree() 250 fc, ctx->nfs_server.hostname, in nfs4_get_referral_tree() 251 ctx->nfs_server.export_path); in nfs4_get_referral_tree()
|
D | namespace.c | 150 struct nfs_server *server = NFS_SB(path->dentry->d_sb); 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() 180 ctx->nfs_server.port = server->port; in nfs_d_automount() 263 struct nfs_server *server; in nfs_do_submount() 299 int nfs_submount(struct fs_context *fc, struct nfs_server *server) in nfs_submount()
|
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 | 109 static bool nfs_fattr_map_owner_name(struct nfs_server *server, struct nfs_fattr *fattr) in nfs_fattr_map_owner_name() 123 static bool nfs_fattr_map_group_name(struct nfs_server *server, struct nfs_fattr *fattr) in nfs_fattr_map_group_name() 157 void nfs_fattr_map_and_free_names(struct nfs_server *server, struct nfs_fattr *fattr) in nfs_fattr_map_and_free_names() 745 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() 762 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() 779 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() 793 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 | 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() 832 struct nfs_server *server, in pnfs_layout_bulk_destroy_byserver_locked() 910 struct nfs_server *server; in pnfs_destroy_layouts_byfsid() 936 struct nfs_server *server; in pnfs_destroy_layouts_byclid() 1030 static struct nfs_server * 1033 struct nfs_server *server; in pnfs_find_server() 1090 struct nfs_server *server = pnfs_find_server(ino, ctx); in pnfs_alloc_init_layoutget_args() 1947 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,
|