| /linux/fs/nfs/ |
| H A D | sysfs.c | 242 struct nfs_server *server; in shutdown_nfs_client() 259 struct nfs_server *server = container_of(kobj, struct nfs_server, kobj); in shutdown_show() 268 struct nfs_server *server; in shutdown_store() 271 server = container_of(kobj, struct nfs_server, kobj); in shutdown_store() 304 struct nfs_server *server = container_of(kobj, struct nfs_server, kobj); in implid_domain_show() 319 struct nfs_server *server = container_of(kobj, struct nfs_server, kobj); in implid_name_show() 333 void nfs_sysfs_link_rpc_client(struct nfs_server *server, in nfs_sysfs_link_rpc_client() 358 return to_ns_common(container_of(kobj, struct nfs_server, in nfs_netns_server_namespace() 370 static void nfs_sysfs_add_nfsv41_server(struct nfs_server *server) in nfs_sysfs_add_nfsv41_server() 390 static inline void nfs_sysfs_add_nfsv41_server(struct nfs_server *server) in nfs_sysfs_add_nfsv41_server() [all …]
|
| H A D | nfs4namespace.c | 160 __func__, path, ctx->nfs_server.export_path); in nfs4_validate_fspath() 205 struct nfs_server *server, in nfs_find_best_sec() 307 kfree(ctx->nfs_server.hostname); in try_location() 308 ctx->nfs_server.hostname = kmalloc(len + 1, GFP_KERNEL); in try_location() 309 if (!ctx->nfs_server.hostname) in try_location() 313 &ctx->nfs_server.export_path_len); in try_location() 317 kfree(ctx->nfs_server.export_path); in try_location() 318 ctx->nfs_server.export_path = export_path; in try_location() 320 source = kmalloc(len + 1 + ctx->nfs_server.export_path_len + 1, in try_location() 333 ctx->nfs_server.addrlen = in try_location() [all …]
|
| H A D | super.c | 196 struct nfs_server *server = NFS_SB(sb); in nfs_sb_active() 208 struct nfs_server *server = NFS_SB(sb); in nfs_sb_deactive() 216 int (*fn)(struct nfs_server *server, void *data), void *data) in nfs_client_for_each_server() 218 struct nfs_server *server, *last = NULL; in nfs_client_for_each_server() 248 struct nfs_server *server = NFS_SB(dentry->d_sb); in nfs_statfs() 339 static void nfs_show_mountd_netid(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mountd_netid() 371 static void nfs_show_mountd_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mountd_options() 406 static void nfs_show_nfsv4_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_nfsv4_options() 414 static void nfs_show_nfsv4_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_nfsv4_options() 432 static void nfs_show_mount_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mount_options() [all …]
|
| H A D | fs_context.c | 363 switch (ctx->nfs_server.protocol) { in nfs_validate_transport_protocol() 372 ctx->nfs_server.protocol = XPRT_TRANSPORT_TCP; in nfs_validate_transport_protocol() 376 switch (ctx->nfs_server.protocol) { in nfs_validate_transport_protocol() 378 ctx->nfs_server.protocol = XPRT_TRANSPORT_TCP_TLS; in nfs_validate_transport_protocol() 400 switch (ctx->nfs_server.protocol) { in nfs_set_mount_transport_protocol() 678 ctx->nfs_server.protocol = XPRT_TRANSPORT_UDP; in nfs_fs_context_parse_param() 686 ctx->nfs_server.protocol = ret; in nfs_fs_context_parse_param() 755 ctx->nfs_server.port = result.uint_32; in nfs_fs_context_parse_param() 865 ctx->nfs_server.protocol = XPRT_TRANSPORT_UDP; in nfs_fs_context_parse_param() 872 ctx->nfs_server.protocol = XPRT_TRANSPORT_TCP; in nfs_fs_context_parse_param() [all …]
|
| H A 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);
|
| H A D | nfs4_fs.h | 69 int (*find_root_sec)(struct nfs_server *, struct nfs_fh *, 71 void (*free_lock_state)(struct nfs_server *, 73 int (*test_and_free_expired)(struct nfs_server *, 116 struct nfs_server *so_server; 277 int (*get_locations)(struct nfs_server *, struct nfs_fh *, 299 int nfs4_submount(struct fs_context *, struct nfs_server *); 300 int nfs4_replace_transport(struct nfs_server *server, 306 const struct nfs_server *seq_server; 311 extern int nfs4_handle_exception(struct nfs_server *, int, struct nfs4_exception *); 313 struct nfs_server *server, [all …]
|
| H A D | nfs3client.c | 28 static void nfs_init_server_aclclient(struct nfs_server *server) in nfs_init_server_aclclient() 47 static inline void nfs_init_server_aclclient(struct nfs_server *server) in nfs_init_server_aclclient() 54 struct nfs_server *nfs3_create_server(struct fs_context *fc) in nfs3_create_server() 56 struct nfs_server *server = nfs_create_server(fc); in nfs3_create_server() 64 struct nfs_server *nfs3_clone_server(struct nfs_server *source, in nfs3_clone_server() 69 struct nfs_server *server = nfs_clone_server(source, fh, fattr, flavor); in nfs3_clone_server() 85 struct nfs_client *nfs3_set_ds_client(struct nfs_server *mds_srv, in nfs3_set_ds_client()
|
| H A D | delegation.c | 38 static struct hlist_head *nfs_delegation_hash(struct nfs_server *server, in nfs_delegation_hash() 52 static void nfs_mark_delegation_revoked(struct nfs_server *server, in nfs_mark_delegation_revoked() 92 static void nfs_mark_return_delegation(struct nfs_server *server, in nfs_mark_return_delegation() 376 struct nfs_server *server) in nfs_detach_delegation() 404 nfs_update_inplace_delegation(struct nfs_server *server, in nfs_update_inplace_delegation() 438 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_set_delegation() 553 struct nfs_server *server = NFS_SERVER(inode); in nfs_end_delegation_return() 598 static int nfs_return_one_delegation(struct nfs_server *server) in nfs_return_one_delegation() 640 static int nfs_server_return_marked_delegations(struct nfs_server *server, in nfs_server_return_marked_delegations() 650 static inline bool nfs_delegations_over_limit(struct nfs_server *server) in nfs_delegations_over_limit() [all …]
|
| H A D | internal.h | 144 } nfs_server; member 147 struct nfs_server *server; 217 int nfs_probe_server(struct nfs_server *, struct nfs_fh *); 218 void nfs_server_insert_lists(struct nfs_server *); 219 void nfs_server_remove_lists(struct nfs_server *); 221 int nfs_init_server_rpcclient(struct nfs_server *, const struct rpc_timeout *t, 223 struct nfs_server *nfs_alloc_server(void); 224 void nfs_server_copy_userdata(struct nfs_server *, struct nfs_server *); 232 extern struct nfs_server *nfs_create_server(struct fs_context *); 233 extern void nfs_server_set_init_caps(struct nfs_server *); [all …]
|
| H A D | client.c | 222 static void pnfs_init_server(struct nfs_server *server) in pnfs_init_server() 236 static void pnfs_init_server(struct nfs_server *server) in pnfs_init_server() 580 static void nfs_destroy_server(struct nfs_server *server) in nfs_destroy_server() 589 static int nfs_start_lockd(struct nfs_server *server) in nfs_start_lockd() 634 int nfs_init_server_rpcclient(struct nfs_server *server, in nfs_init_server_rpcclient() 693 static void nfs4_server_set_init_caps(struct nfs_server *server) in nfs4_server_set_init_caps() 713 void nfs_server_set_init_caps(struct nfs_server *server) in nfs_server_set_init_caps() 734 static int nfs_init_server(struct nfs_server *server, in nfs_init_server() 740 .hostname = ctx->nfs_server.hostname, in nfs_init_server() 741 .addr = &ctx->nfs_server._address, in nfs_init_server() [all …]
|
| H A D | nfs4client.c | 632 static void nfs4_destroy_server(struct nfs_server *server) in nfs4_destroy_server() 722 static int nfs4_set_client(struct nfs_server *server, in nfs4_set_client() 791 struct nfs_client *nfs4_set_ds_client(struct nfs_server *mds_srv, in nfs4_set_ds_client() 858 static void nfs4_session_limit_rwsize(struct nfs_server *server) in nfs4_session_limit_rwsize() 881 static void nfs4_session_limit_xasize(struct nfs_server *server) in nfs4_session_limit_xasize() 908 static int nfs4_server_common_setup(struct nfs_server *server, in nfs4_server_common_setup() 957 static int nfs4_init_server(struct nfs_server *server, struct fs_context *fc) in nfs4_init_server() 962 .hostname = ctx->nfs_server.hostname, in nfs4_init_server() 963 .addr = &ctx->nfs_server._address, in nfs4_init_server() 964 .addrlen = ctx->nfs_server.addrlen, in nfs4_init_server() [all …]
|
| H A D | sysfs.h | 26 void nfs_sysfs_link_rpc_client(struct nfs_server *server, 28 void nfs_sysfs_add_server(struct nfs_server *s); 30 void nfs_sysfs_move_sb_to_server(struct nfs_server *s); 31 void nfs_sysfs_remove_server(struct nfs_server *s);
|
| H A D | pnfs.h | 139 int (*set_layoutdriver) (struct nfs_server *, const struct nfs_fh *); 140 int (*clear_layoutdriver) (struct nfs_server *); 171 (struct nfs_server *server, struct pnfs_device *pdev, 252 extern size_t max_response_pages(struct nfs_server *server); 253 extern int nfs4_proc_getdeviceinfo(struct nfs_server *server, 266 void set_pnfs_layoutdriver(struct nfs_server *, const struct nfs_fh *, struct nfs_fsinfo *); 267 void unset_pnfs_layoutdriver(struct nfs_server *); 379 nfs4_find_get_deviceid(struct nfs_server *server, 383 void nfs4_init_deviceid_node(struct nfs4_deviceid_node *, struct nfs_server *, 422 int nfs4_pnfs_ds_connect(struct nfs_server *mds_srv, struct nfs4_pnfs_ds *ds, [all …]
|
| H A 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 *,
|
| H A D | nfs42proc.c | 50 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_fallocate() 105 struct nfs_server *server = NFS_SERVER(inode); in nfs42_proc_fallocate() 220 static void nfs4_copy_dequeue_callback(struct nfs_server *dst_server, in nfs4_copy_dequeue_callback() 221 struct nfs_server *src_server, in nfs4_copy_dequeue_callback() 235 struct nfs_server *dst_server, in handle_async_copy() 236 struct nfs_server *src_server, in handle_async_copy() 423 struct nfs_server *dst_server = NFS_SERVER(dst_inode); in _nfs42_proc_copy() 424 struct nfs_server *src_server = NFS_SERVER(src_inode); in _nfs42_proc_copy() 517 struct nfs_server *server = NFS_SERVER(file_inode(dst)); in nfs42_proc_copy() 602 struct nfs_server *seq_server; [all …]
|
| H A D | nfs40proc.c | 153 static int nfs40_test_and_free_expired_stateid(struct nfs_server *server, in nfs40_test_and_free_expired_stateid() 167 static int _nfs40_proc_get_locations(struct nfs_server *server, in _nfs40_proc_get_locations() 222 struct nfs_server *server = NFS_SERVER(inode); in _nfs40_proc_fsid_present() 259 struct nfs_server *server; 268 struct nfs_server *server = data->server; in nfs4_release_lockowner_prepare() 278 struct nfs_server *server = data->server; in nfs4_release_lockowner_done() 312 nfs4_release_lockowner(struct nfs_server *server, struct nfs4_lock_state *lsp) in nfs4_release_lockowner()
|
| H A D | nfs4super.c | 142 static int do_nfs4_mount(struct nfs_server *server, in do_nfs4_mount() 229 fc, ctx->nfs_server.hostname, in nfs4_try_get_tree() 230 ctx->nfs_server.export_path); in nfs4_try_get_tree() 252 fc, ctx->nfs_server.hostname, in nfs4_get_referral_tree() 253 ctx->nfs_server.export_path); in nfs4_get_referral_tree()
|
| H A D | namespace.c | 150 struct nfs_server *server = NFS_SB(path->dentry->d_sb); in nfs_d_automount() 189 memcpy(&ctx->nfs_server._address, &client->cl_addr, client->cl_addrlen); in nfs_d_automount() 190 ctx->nfs_server.addrlen = client->cl_addrlen; in nfs_d_automount() 191 ctx->nfs_server.port = server->port; in nfs_d_automount() 281 struct nfs_server *server; in nfs_do_submount() 317 int nfs_submount(struct fs_context *fc, struct nfs_server *server) in nfs_submount()
|
| H A D | nfs4proc.c | 95 static int nfs4_do_fsinfo(struct nfs_server *, struct nfs_fh *, struct nfs_fsinfo *); 97 static int _nfs4_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, 106 static int nfs41_test_stateid(struct nfs_server *, const nfs4_stateid *, 108 static int nfs41_free_stateid(struct nfs_server *, nfs4_stateid *, 152 static inline u32 *nfs4_bitmask(struct nfs_server *server, struct nfs4_label *label) in nfs4_bitmask() 168 nfs4_bitmask(struct nfs_server *server, struct nfs4_label *label) in nfs4_bitmask() 410 static void nfs4_test_and_free_stateid(struct nfs_server *server, in nfs4_test_and_free_stateid() 419 static void __nfs4_free_revoked_stateid(struct nfs_server *server, in __nfs4_free_revoked_stateid() 427 static void nfs4_free_revoked_stateid(struct nfs_server *server, in nfs4_free_revoked_stateid() 503 static int nfs4_do_handle_exception(struct nfs_server *server, in nfs4_do_handle_exception() [all …]
|
| H A D | nfs4state.c | 160 nfs4_get_renew_cred_server_locked(struct nfs_server *server) in nfs4_get_renew_cred_server_locked() 188 struct nfs_server *server; in nfs4_get_renew_cred() 355 nfs4_find_state_owner_locked(struct nfs_server *server, const struct cred *cred) in nfs4_find_state_owner_locked() 384 struct nfs_server *server = new->so_server; in nfs4_insert_state_owner_locked() 414 struct nfs_server *server = sp->so_server; in nfs4_remove_state_owner_locked() 443 nfs4_alloc_state_owner(struct nfs_server *server, in nfs4_alloc_state_owner() 486 static void nfs4_gc_state_owners(struct nfs_server *server) in nfs4_gc_state_owners() 519 struct nfs4_state_owner *nfs4_get_state_owner(struct nfs_server *server, in nfs4_get_state_owner() 558 struct nfs_server *server = sp->so_server; in nfs4_put_state_owner() 580 void nfs4_purge_state_owners(struct nfs_server *server, struct list_head *head) in nfs4_purge_state_owners() [all …]
|
| H A D | iostat.h | 23 static inline void nfs_inc_server_stats(const struct nfs_server *server, in nfs_inc_server_stats() 35 static inline void nfs_add_server_stats(const struct nfs_server *server, in nfs_add_server_stats()
|
| /linux/include/linux/ |
| H A D | nfs_xdr.h | 315 const struct nfs_server *server; 448 const struct nfs_server *server; 494 const struct nfs_server *server; /* Needed for ID mapping */ 512 const struct nfs_server *server; 559 const struct nfs_server *server; 649 struct nfs_server *server; 704 const struct nfs_server *server; /* used by write */ 725 const struct nfs_server *server; 739 struct nfs_server *server; 757 struct nfs_server *server; [all …]
|
| H A D | nfs_fs.h | 354 static inline struct nfs_server *NFS_SB(const struct super_block *s) in NFS_SB() 356 return (struct nfs_server *)(s->s_fs_info); in NFS_SB() 364 static inline struct nfs_server *NFS_SERVER(const struct inode *inode) in NFS_SERVER() 381 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MINATTRTIMEO() 387 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MAXATTRTIMEO() 458 extern int __nfs_revalidate_inode(struct nfs_server *, struct inode *); 481 extern struct nfs_fattr *nfs_alloc_fattr_with_label(struct nfs_server *server);
|
| H A D | nfs_fs_sb.h | 21 struct nfs_server; 141 struct nfs_server { struct 279 void (*destroy)(struct nfs_server *); argument
|
| /linux/fs/nfs/blocklayout/ |
| H A D | dev.c | 289 bl_parse_deviceid(struct nfs_server *server, struct pnfs_block_dev *d, 294 bl_parse_simple(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_simple() 385 bl_parse_scsi(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_scsi() 441 bl_parse_slice(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_slice() 457 bl_parse_concat(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_concat() 486 bl_parse_stripe(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_stripe() 515 bl_parse_deviceid(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_deviceid() 538 bl_alloc_deviceid_node(struct nfs_server *server, struct pnfs_device *pdev, in bl_alloc_deviceid_node()
|