| /Linux-v6.1/fs/nfs/ |
| 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 | 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 …]
|
| 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 | super.c | 185 struct nfs_server *server = NFS_SB(sb); in nfs_sb_active() 197 struct nfs_server *server = NFS_SB(sb); in nfs_sb_deactive() 205 int (*fn)(struct nfs_server *, void *), in __nfs_list_for_each_server() argument 208 struct nfs_server *server, *last = NULL; in __nfs_list_for_each_server() 232 int (*fn)(struct nfs_server *, void *), in nfs_client_for_each_server() argument 244 struct nfs_server *server = NFS_SB(dentry->d_sb); in nfs_statfs() 335 static void nfs_show_mountd_netid(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mountd_netid() 367 static void nfs_show_mountd_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mountd_options() 402 static void nfs_show_nfsv4_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_nfsv4_options() 410 static void nfs_show_nfsv4_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_nfsv4_options() [all …]
|
| D | fs_context.c | 312 switch (ctx->nfs_server.protocol) { in nfs_validate_transport_protocol() 321 ctx->nfs_server.protocol = XPRT_TRANSPORT_TCP; in nfs_validate_transport_protocol() 337 switch (ctx->nfs_server.protocol) { in nfs_set_mount_transport_protocol() 558 ctx->nfs_server.protocol = XPRT_TRANSPORT_UDP; in nfs_fs_context_parse_param() 566 ctx->nfs_server.protocol = ret; in nfs_fs_context_parse_param() 619 ctx->nfs_server.port = result.uint_32; in nfs_fs_context_parse_param() 707 ctx->nfs_server.protocol = XPRT_TRANSPORT_UDP; in nfs_fs_context_parse_param() 714 ctx->nfs_server.protocol = XPRT_TRANSPORT_TCP; in nfs_fs_context_parse_param() 725 ctx->nfs_server.protocol = ret; in nfs_fs_context_parse_param() 760 &ctx->nfs_server.address, in nfs_fs_context_parse_param() [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; 264 int (*get_locations)(struct nfs_server *, struct nfs_fh *, 281 int nfs4_submount(struct fs_context *, struct nfs_server *); 282 int nfs4_replace_transport(struct nfs_server *server, 287 extern int nfs4_handle_exception(struct nfs_server *, int, struct nfs4_exception *); 289 struct nfs_server *server, 291 extern int nfs4_call_sync(struct rpc_clnt *, struct nfs_server *, [all …]
|
| D | internal.h | 137 } nfs_server; member 140 struct nfs_server *server; 206 int nfs_probe_server(struct nfs_server *, struct nfs_fh *); 207 void nfs_server_insert_lists(struct nfs_server *); 208 void nfs_server_remove_lists(struct nfs_server *); 210 int nfs_init_server_rpcclient(struct nfs_server *, const struct rpc_timeout *t, 212 struct nfs_server *nfs_alloc_server(void); 213 void nfs_server_copy_userdata(struct nfs_server *, struct nfs_server *); 221 extern struct nfs_server *nfs_create_server(struct fs_context *); 222 extern void nfs4_server_set_init_caps(struct nfs_server *); [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() 548 static void nfs_destroy_server(struct nfs_server *server) in nfs_destroy_server() 557 static int nfs_start_lockd(struct nfs_server *server) in nfs_start_lockd() 601 int nfs_init_server_rpcclient(struct nfs_server *server, in nfs_init_server_rpcclient() 662 static int nfs_init_server(struct nfs_server *server, in nfs_init_server() 668 .hostname = ctx->nfs_server.hostname, in nfs_init_server() 669 .addr = &ctx->nfs_server._address, in nfs_init_server() 670 .addrlen = ctx->nfs_server.addrlen, in nfs_init_server() 672 .proto = ctx->nfs_server.protocol, in nfs_init_server() [all …]
|
| D | nfs4client.c | 791 static void nfs4_destroy_server(struct nfs_server *server) in nfs4_destroy_server() 891 static int nfs4_set_client(struct nfs_server *server, in nfs4_set_client() 963 struct nfs_client *nfs4_set_ds_client(struct nfs_server *mds_srv, in nfs4_set_ds_client() 1011 static void nfs4_session_limit_rwsize(struct nfs_server *server) in nfs4_session_limit_rwsize() 1036 static void nfs4_session_limit_xasize(struct nfs_server *server) in nfs4_session_limit_xasize() 1063 void nfs4_server_set_init_caps(struct nfs_server *server) in nfs4_server_set_init_caps() 1081 static int nfs4_server_common_setup(struct nfs_server *server, in nfs4_server_common_setup() 1127 static int nfs4_init_server(struct nfs_server *server, struct fs_context *fc) in nfs4_init_server() 1133 nfs_init_timeout_values(&timeparms, ctx->nfs_server.protocol, in nfs4_init_server() 1151 ctx->nfs_server.hostname, in nfs4_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() 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 *server; in nfs_client_mark_return_all_delegations() [all …]
|
| D | pnfs.h | 132 int (*set_layoutdriver) (struct nfs_server *, const struct nfs_fh *); 133 int (*clear_layoutdriver) (struct nfs_server *); 164 (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 | nfs3_fs.h | 31 struct nfs_server *nfs3_create_server(struct fs_context *); 32 struct nfs_server *nfs3_clone_server(struct nfs_server *, struct nfs_fh *,
|
| 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_SERVER(d_inode(path->dentry)); 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() 266 struct nfs_server *server; in nfs_do_submount() 302 int nfs_submount(struct fs_context *fc, struct nfs_server *server) in nfs_submount()
|
| D | nfs42proc.c | 48 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_fallocate() 102 struct nfs_server *server = NFS_SERVER(inode); in nfs42_proc_fallocate() 176 struct nfs_server *dst_server, in handle_async_copy() 177 struct nfs_server *src_server, in handle_async_copy() 325 struct nfs_server *dst_server = NFS_SERVER(dst_inode); in _nfs42_proc_copy() 326 struct nfs_server *src_server = NFS_SERVER(src_inode); in _nfs42_proc_copy() 416 struct nfs_server *server = NFS_SERVER(file_inode(dst)); in nfs42_proc_copy() 499 struct nfs_server *seq_server; 539 struct nfs_server *dst_server = NFS_SERVER(file_inode(dst)); in nfs42_do_offload_cancel_async() 586 struct nfs_server *src_server = NFS_SERVER(file_inode(src)); in _nfs42_proc_copy_notify() [all …]
|
| D | nfs4proc.c | 94 static int nfs4_do_fsinfo(struct nfs_server *, struct nfs_fh *, struct nfs_fsinfo *); 96 static int _nfs4_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, 106 static int nfs41_test_stateid(struct nfs_server *, nfs4_stateid *, 108 static int nfs41_free_stateid(struct nfs_server *, const nfs4_stateid *, 139 static inline u32 *nfs4_bitmask(struct nfs_server *server, struct nfs4_label *label) in nfs4_bitmask() 155 nfs4_bitmask(struct nfs_server *server, struct nfs4_label *label) in nfs4_bitmask() 374 static void nfs4_test_and_free_stateid(struct nfs_server *server, in nfs4_test_and_free_stateid() 383 static void __nfs4_free_revoked_stateid(struct nfs_server *server, in __nfs4_free_revoked_stateid() 391 static void nfs4_free_revoked_stateid(struct nfs_server *server, in nfs4_free_revoked_stateid() 463 static int nfs4_do_handle_exception(struct nfs_server *server, in nfs4_do_handle_exception() [all …]
|
| 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 | nfs4state.c | 206 nfs4_get_renew_cred_server_locked(struct nfs_server *server) in nfs4_get_renew_cred_server_locked() 234 struct nfs_server *server; in nfs4_get_renew_cred() 403 nfs4_find_state_owner_locked(struct nfs_server *server, const struct cred *cred) in nfs4_find_state_owner_locked() 432 struct nfs_server *server = new->so_server; in nfs4_insert_state_owner_locked() 462 struct nfs_server *server = sp->so_server; in nfs4_remove_state_owner_locked() 491 nfs4_alloc_state_owner(struct nfs_server *server, in nfs4_alloc_state_owner() 540 static void nfs4_gc_state_owners(struct nfs_server *server) in nfs4_gc_state_owners() 573 struct nfs4_state_owner *nfs4_get_state_owner(struct nfs_server *server, in nfs4_get_state_owner() 612 struct nfs_server *server = sp->so_server; in nfs4_put_state_owner() 634 void nfs4_purge_state_owners(struct nfs_server *server, struct list_head *head) in nfs4_purge_state_owners() [all …]
|
| D | pnfs_dev.c | 97 nfs4_get_device_info(struct nfs_server *server, in nfs4_get_device_info() 173 __nfs4_find_get_deviceid(struct nfs_server *server, in __nfs4_find_get_deviceid() 188 nfs4_find_get_deviceid(struct nfs_server *server, in nfs4_find_get_deviceid() 254 nfs4_init_deviceid_node(struct nfs4_deviceid_node *d, struct nfs_server *server, in nfs4_init_deviceid_node()
|
| D | fscache.h | 116 static inline const char *nfs_server_fscache_state(struct nfs_server *server) in nfs_server_fscache_state() 143 static inline const char *nfs_server_fscache_state(struct nfs_server *server) in nfs_server_fscache_state()
|
| 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()
|
| /Linux-v6.1/include/linux/ |
| 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; 676 const struct nfs_server *server; /* used by write */ 697 const struct nfs_server *server; 711 struct nfs_server *server; 729 struct nfs_server *server; [all …]
|
| D | nfs_fs.h | 289 static inline struct nfs_server *NFS_SB(const struct super_block *s) in NFS_SB() 291 return (struct nfs_server *)(s->s_fs_info); in NFS_SB() 299 static inline struct nfs_server *NFS_SERVER(const struct inode *inode) in NFS_SERVER() 316 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MINATTRTIMEO() 322 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MAXATTRTIMEO() 402 extern int __nfs_revalidate_inode(struct nfs_server *, struct inode *); 425 extern struct nfs_fattr *nfs_alloc_fattr_with_label(struct nfs_server *server);
|
| D | nfs_fs_sb.h | 20 struct nfs_server; 130 struct nfs_server { struct 244 void (*destroy)(struct nfs_server *); argument
|
| /Linux-v6.1/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() 326 bl_parse_scsi(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_scsi() 381 bl_parse_slice(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_slice() 397 bl_parse_concat(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_concat() 426 bl_parse_stripe(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_stripe() 455 bl_parse_deviceid(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_deviceid() 476 bl_alloc_deviceid_node(struct nfs_server *server, struct pnfs_device *pdev, in bl_alloc_deviceid_node()
|