/linux-6.3-rc2/fs/nfs/ |
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);
|
A D | nfs4namespace.c | 205 struct nfs_server *server, in nfs_find_best_sec() 307 kfree(ctx->nfs_server.hostname); 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() 333 ctx->nfs_server.addrlen = in try_location() 335 &ctx->nfs_server._address, in try_location() 338 if (ctx->nfs_server.addrlen == 0) in try_location() 350 memcpy(p, ctx->nfs_server.export_path, ctx->nfs_server.export_path_len); in try_location() [all …]
|
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()
|
A 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 730 struct nfs_server *server; in nfs_umount_begin() 857 ctx->nfs_server.addrlen); in nfs_request_mount() 1139 struct nfs_server *server2) in nfs_compare_super_address() 1181 const struct nfs_server *new) in nfs_compare_userns() 1218 struct nfs_server *nfss = NFS_SB(sb); in nfs_get_cache_cookie() [all …]
|
A D | fs_context.c | 566 ctx->nfs_server.protocol = ret; in nfs_fs_context_parse_param() 729 ctx->nfs_server.protocol = ret; in nfs_fs_context_parse_param() 770 ctx->nfs_server.addrlen = len; in nfs_fs_context_parse_param() 923 kfree(ctx->nfs_server.hostname); in nfs_parse_source() 927 if (!ctx->nfs_server.hostname) in nfs_parse_source() 933 if (!ctx->nfs_server.export_path) in nfs_parse_source() 1061 if (!ctx->nfs_server.hostname) in nfs23_parse_monolithic() 1255 ctx->nfs_server.hostname = c; in nfs4_parse_monolithic() 1260 ctx->nfs_server.export_path = c; in nfs4_parse_monolithic() 1470 ctx->nfs_server.hostname = NULL; in nfs_fs_context_dup() [all …]
|
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, 291 struct nfs_server *server, 293 extern int nfs4_call_sync(struct rpc_clnt *, struct nfs_server *, 309 extern int nfs4_proc_get_locations(struct nfs_server *, struct nfs_fh *, [all …]
|
A 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 *); 212 struct nfs_server *nfs_alloc_server(void); 213 void nfs_server_copy_userdata(struct nfs_server *, struct nfs_server *); 222 extern void nfs4_server_set_init_caps(struct nfs_server *); 228 extern void nfs_free_server(struct nfs_server *server); 229 extern struct nfs_server *nfs_clone_server(struct nfs_server *, [all …]
|
A D | client.c | 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() 725 server->port = ctx->nfs_server.port; in nfs_init_server() 898 void nfs_server_copy_userdata(struct nfs_server *target, struct nfs_server *source) in nfs_server_copy_userdata() 952 struct nfs_server *server; in nfs_alloc_server() 1020 struct nfs_server *server; in nfs_create_server() 1083 struct nfs_server *nfs_clone_server(struct nfs_server *source, in nfs_clone_server() 1088 struct nfs_server *server; in nfs_clone_server() [all …]
|
A D | nfs4client.c | 1151 ctx->nfs_server.hostname, in nfs4_init_server() 1152 &ctx->nfs_server._address, in nfs4_init_server() 1153 ctx->nfs_server.addrlen, in nfs4_init_server() 1155 ctx->nfs_server.protocol, in nfs4_init_server() 1158 ctx->nfs_server.nconnect, in nfs4_init_server() 1186 struct nfs_server *server; in nfs4_create_server() 1241 ctx->nfs_server.hostname, in nfs4_create_referral_server() 1242 &ctx->nfs_server._address, in nfs4_create_referral_server() 1243 ctx->nfs_server.addrlen, in nfs4_create_referral_server() 1257 ctx->nfs_server.hostname, in nfs4_create_referral_server() [all …]
|
A D | delegation.c | 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() 682 struct nfs_server *server; in nfs_client_clear_delayed_delegations() 848 struct nfs_server *server; in nfs_client_mark_return_all_delegations() 912 struct nfs_server *server; in nfs_client_mark_return_unused_delegation_types() 1028 struct nfs_server *server; in nfs_expire_unreferenced_delegations() 1115 struct nfs_server *server; in nfs_delegation_find_inode() 1152 struct nfs_server *server; in nfs_delegation_mark_reclaim() 1254 struct nfs_server *server; in nfs_mark_test_expired_all_delegations() [all …]
|
A D | pnfs.h | 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, 256 void unset_pnfs_layoutdriver(struct nfs_server *); 367 nfs4_find_get_deviceid(struct nfs_server *server, 461 static inline int pnfs_enabled_sb(struct nfs_server *nfss) in pnfs_enabled_sb() 607 struct nfs_server *nfss = NFS_SERVER(ino); in pnfs_return_layout() 619 struct nfs_server *nfss) in pnfs_use_threshold() 802 static inline void set_pnfs_layoutdriver(struct nfs_server *s, in set_pnfs_layoutdriver() [all …]
|
A 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 *,
|
A 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()
|
A 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() 266 struct nfs_server *server; in nfs_do_submount() 302 int nfs_submount(struct fs_context *fc, struct nfs_server *server) in nfs_submount()
|
A 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() 500 struct nfs_server *seq_server; 676 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_llseek() 744 struct nfs_server *server = NFS_SERVER(inode); in nfs42_layoutstat_prepare() 912 struct nfs_server *server = NFS_SERVER(inode); in nfs42_layouterror_prepare() 1166 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_removexattr() 1192 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_setxattr() [all …]
|
A D | nfs4proc.c | 702 const struct nfs_server *seq_server; 1138 struct nfs_server *server, in nfs4_do_call_sync() 1162 struct nfs_server *server, in nfs4_call_sync_sequence() 1176 struct nfs_server *server, in nfs4_call_sync() 3035 struct nfs_server *server = sp->so_server; in _nfs4_open_and_get_state() 3952 struct nfs_server *server) in test_fs_location_for_trunking() 6837 struct nfs_server *server; 7061 struct nfs_server *server; 7614 struct nfs_server *server; 9779 struct nfs_server *server; in nfs4_layoutreturn_done() [all …]
|
A 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()
|
A D | nfs4state.c | 234 struct nfs_server *server; in nfs4_get_renew_cred() 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() 612 struct nfs_server *server = sp->so_server; in nfs4_put_state_owner() 934 struct nfs_server *server; in nfs4_put_lock_state() 1285 &((struct nfs_server *)server)->mig_status); in nfs4_schedule_migration_recovery() 1782 struct nfs_server *server; in nfs4_state_mark_reclaim_helper() 1834 struct nfs_server *server; in nfs4_state_clear_reclaim_reboot() 1914 struct nfs_server *server; in nfs4_do_reclaim() 2184 struct nfs_server *server; in nfs4_handle_migration() [all …]
|
A 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()
|
A 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()
|
A 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-6.3-rc2/include/linux/ |
A D | nfs_xdr.h | 311 const struct nfs_server *server; 444 const struct nfs_server *server; 492 const struct nfs_server *server; 542 const struct nfs_server *server; 624 struct nfs_server *server; 697 const struct nfs_server *server; 711 struct nfs_server *server; 729 struct nfs_server *server; 755 struct nfs_server * server; 1226 const struct nfs_server *server; [all …]
|
A D | nfs_fs.h | 290 static inline struct nfs_server *NFS_SB(const struct super_block *s) in NFS_SB() 292 return (struct nfs_server *)(s->s_fs_info); in NFS_SB() 300 static inline struct nfs_server *NFS_SERVER(const struct inode *inode) in NFS_SERVER() 317 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MINATTRTIMEO() 323 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MAXATTRTIMEO() 403 extern int __nfs_revalidate_inode(struct nfs_server *, struct inode *); 426 extern struct nfs_fattr *nfs_alloc_fattr_with_label(struct nfs_server *server);
|
A D | nfs_fs_sb.h | 20 struct nfs_server; 130 struct nfs_server { struct 244 void (*destroy)(struct nfs_server *); argument
|
/linux-6.3-rc2/fs/nfs/blocklayout/ |
A 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()
|