/kernel/linux/linux-5.10/fs/nfs/ |
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 | 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 in nfs_fs_context_parse_param() [all...] |
H A 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 in try_location() [all...] |
H A 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() 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() 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 *nfs [all...] |
H A 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()
|
H A 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 *, struc [all...] |
H A 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_serve [all...] |
H A 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() 553 static void nfs_destroy_server(struct nfs_server *server) in nfs_destroy_server() 562 static int nfs_start_lockd(struct nfs_server *server) in nfs_start_lockd() 606 int nfs_init_server_rpcclient(struct nfs_server *server, in nfs_init_server_rpcclient() 667 static int nfs_init_server(struct nfs_server *server, in nfs_init_server() 673 .hostname = ctx->nfs_server.hostname, in nfs_init_server() 674 .addr = (const struct sockaddr *)&ctx->nfs_server.address, in nfs_init_server() 675 .addrlen = ctx->nfs_server.addrlen, in nfs_init_server() 677 .proto = ctx->nfs_server in nfs_init_server() [all...] |
H A 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 *serve in nfs_client_mark_return_all_delegations() [all...] |
H A 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 in nfs4_init_server() [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 *,
|
/kernel/linux/linux-6.6/fs/nfs/ |
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 | fs_context.c | 331 switch (ctx->nfs_server.protocol) { in nfs_validate_transport_protocol() 340 ctx->nfs_server.protocol = XPRT_TRANSPORT_TCP; in nfs_validate_transport_protocol() 344 switch (ctx->nfs_server.protocol) { in nfs_validate_transport_protocol() 346 ctx->nfs_server.protocol = XPRT_TRANSPORT_TCP_TLS; in nfs_validate_transport_protocol() 368 switch (ctx->nfs_server.protocol) { in nfs_set_mount_transport_protocol() 612 ctx->nfs_server.protocol = XPRT_TRANSPORT_UDP; in nfs_fs_context_parse_param() 620 ctx->nfs_server.protocol = ret; in nfs_fs_context_parse_param() 673 ctx->nfs_server.port = result.uint_32; in nfs_fs_context_parse_param() 770 ctx->nfs_server.protocol = XPRT_TRANSPORT_UDP; in nfs_fs_context_parse_param() 777 ctx->nfs_server in nfs_fs_context_parse_param() [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 in try_location() [all...] |
H A D | super.c | 189 struct nfs_server *server = NFS_SB(sb); in nfs_sb_active() 201 struct nfs_server *server = NFS_SB(sb); in nfs_sb_deactive() 209 int (*fn)(struct nfs_server *, void *), in __nfs_list_for_each_server() 212 struct nfs_server *server, *last = NULL; in __nfs_list_for_each_server() 236 int (*fn)(struct nfs_server *, void *), 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 *nfs [all...] |
H A D | nfs3client.c | 27 static void nfs_init_server_aclclient(struct nfs_server *server) in nfs_init_server_aclclient() 46 static inline void nfs_init_server_aclclient(struct nfs_server *server) in nfs_init_server_aclclient() 53 struct nfs_server *nfs3_create_server(struct fs_context *fc) in nfs3_create_server() 55 struct nfs_server *server = nfs_create_server(fc); in nfs3_create_server() 63 struct nfs_server *nfs3_clone_server(struct nfs_server *source, in nfs3_clone_server() 68 struct nfs_server *server = nfs_clone_server(source, fh, fattr, flavor); in nfs3_clone_server() 84 struct nfs_client *nfs3_set_ds_client(struct nfs_server *mds_srv, in nfs3_set_ds_client()
|
H A D | internal.h | 141 } nfs_server; member 144 struct nfs_server *server; 210 int nfs_probe_server(struct nfs_server *, struct nfs_fh *); 211 void nfs_server_insert_lists(struct nfs_server *); 212 void nfs_server_remove_lists(struct nfs_server *); 214 int nfs_init_server_rpcclient(struct nfs_server *, const struct rpc_timeout *t, 216 struct nfs_server *nfs_alloc_server(void); 217 void nfs_server_copy_userdata(struct nfs_server *, struct nfs_server *); 225 extern struct nfs_server *nfs_create_serve [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 | nfs4_fs.h | 65 int (*find_root_sec)(struct nfs_server *, struct nfs_fh *, 67 void (*free_lock_state)(struct nfs_server *, 69 int (*test_and_free_expired)(struct nfs_server *, 111 struct nfs_server *so_server; 266 int (*get_locations)(struct nfs_server *, struct nfs_fh *, 283 int nfs4_submount(struct fs_context *, struct nfs_server *); 284 int nfs4_replace_transport(struct nfs_server *server, 289 extern int nfs4_handle_exception(struct nfs_server *, int, struct nfs4_exception *); 291 struct nfs_server *server, 293 extern int nfs4_call_sync(struct rpc_clnt *, struct nfs_server *, [all...] |
H A D | sysfs.c | 235 struct nfs_server *server = container_of(kobj, struct nfs_server, kobj); in shutdown_show() 244 struct nfs_server *server; in shutdown_store() 247 server = container_of(kobj, struct nfs_server, kobj); in shutdown_store() 277 void nfs_sysfs_link_rpc_client(struct nfs_server *server, in nfs_sysfs_link_rpc_client() 302 return container_of(kobj, struct nfs_server, kobj)->nfs_client->cl_net; in nfs_netns_server_namespace() 312 void nfs_sysfs_add_server(struct nfs_server *server) in nfs_sysfs_add_server() 333 struct nfs_server *server = s->s_fs_info; in nfs_sysfs_move_server_to_sb() 342 void nfs_sysfs_move_sb_to_server(struct nfs_server *server) in nfs_sysfs_move_sb_to_server() 358 void nfs_sysfs_remove_server(struct nfs_server *serve [all...] |
H A 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() 557 static void nfs_destroy_server(struct nfs_server *server) in nfs_destroy_server() 566 static int nfs_start_lockd(struct nfs_server *server) in nfs_start_lockd() 611 int nfs_init_server_rpcclient(struct nfs_server *server, in nfs_init_server_rpcclient() 673 static int nfs_init_server(struct nfs_server *server, in nfs_init_server() 679 .hostname = ctx->nfs_server.hostname, in nfs_init_server() 680 .addr = &ctx->nfs_server._address, in nfs_init_server() 681 .addrlen = ctx->nfs_server.addrlen, in nfs_init_server() 683 .proto = ctx->nfs_server in nfs_init_server() [all...] |
H A D | nfs4client.c | 796 static void nfs4_destroy_server(struct nfs_server *server) in nfs4_destroy_server() 896 static int nfs4_set_client(struct nfs_server *server, in nfs4_set_client() 976 struct nfs_client *nfs4_set_ds_client(struct nfs_server *mds_srv, in nfs4_set_ds_client() 1032 static void nfs4_session_limit_rwsize(struct nfs_server *server) in nfs4_session_limit_rwsize() 1057 static void nfs4_session_limit_xasize(struct nfs_server *server) in nfs4_session_limit_xasize() 1084 void nfs4_server_set_init_caps(struct nfs_server *server) in nfs4_server_set_init_caps() 1102 static int nfs4_server_common_setup(struct nfs_server *server, in nfs4_server_common_setup() 1148 static int nfs4_init_server(struct nfs_server *server, struct fs_context *fc) in nfs4_init_server() 1154 nfs_init_timeout_values(&timeparms, ctx->nfs_server.protocol, in nfs4_init_server() 1172 ctx->nfs_server in nfs4_init_server() [all...] |
H A 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() 592 static int nfs_server_return_marked_delegations(struct nfs_server *server, in nfs_server_return_marked_delegations() 665 static bool nfs_server_clear_delayed_delegations(struct nfs_server *server) in nfs_server_clear_delayed_delegations() 682 struct nfs_server *server; in nfs_client_clear_delayed_delegations() 827 static void nfs_mark_return_if_closed_delegation(struct nfs_server *server, in nfs_mark_return_if_closed_delegation() 834 static bool nfs_server_mark_return_all_delegations(struct nfs_server *server) in nfs_server_mark_return_all_delegations() 848 struct nfs_server *serve in nfs_client_mark_return_all_delegations() [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | nfs_xdr.h | 311 const struct nfs_server *server; 444 const struct nfs_server *server; 474 const struct nfs_server *server; /* Needed for ID mapping */ 492 const struct nfs_server *server; 542 const struct nfs_server *server; 624 struct nfs_server *server; 677 const struct nfs_server *server; /* used by write */ 698 const struct nfs_server *server; 712 struct nfs_server *server; 730 struct nfs_server *serve [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | nfs_xdr.h | 308 const struct nfs_server *server; 441 const struct nfs_server *server; 471 const struct nfs_server *server; /* Needed for ID mapping */ 490 const struct nfs_server *server; 540 const struct nfs_server *server; 622 struct nfs_server *server; 674 const struct nfs_server *server; /* used by write */ 695 const struct nfs_server *server; 709 struct nfs_server *server; 727 struct nfs_server *serve [all...] |