/linux/fs/nfs/ |
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 | fs_context.c | 333 switch (ctx->nfs_server.protocol) { in nfs_validate_transport_protocol() 342 ctx->nfs_server.protocol = XPRT_TRANSPORT_TCP; in nfs_validate_transport_protocol() 346 switch (ctx->nfs_server.protocol) { in nfs_validate_transport_protocol() 348 ctx->nfs_server.protocol = XPRT_TRANSPORT_TCP_TLS; in nfs_validate_transport_protocol() 370 switch (ctx->nfs_server.protocol) { in nfs_set_mount_transport_protocol() 622 ctx->nfs_server.protocol = XPRT_TRANSPORT_UDP; in nfs_fs_context_parse_param() 630 ctx->nfs_server.protocol = ret; in nfs_fs_context_parse_param() 684 ctx->nfs_server.port = result.uint_32; in nfs_fs_context_parse_param() 781 ctx->nfs_server.protocol = XPRT_TRANSPORT_UDP; in nfs_fs_context_parse_param() 788 ctx->nfs_server.protocol = XPRT_TRANSPORT_TCP; in nfs_fs_context_parse_param() [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 *, void *), in __nfs_list_for_each_server() argument 219 struct nfs_server *server, *last = NULL; in __nfs_list_for_each_server() 244 int (*fn)(struct nfs_server *, void *), in nfs_client_for_each_server() argument 256 struct nfs_server *server = NFS_SB(dentry->d_sb); in nfs_statfs() 347 static void nfs_show_mountd_netid(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mountd_netid() 379 static void nfs_show_mountd_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mountd_options() 414 static void nfs_show_nfsv4_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_nfsv4_options() 422 static void nfs_show_nfsv4_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_nfsv4_options() [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 | 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 | 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 *, 112 struct nfs_server *so_server; 267 int (*get_locations)(struct nfs_server *, struct nfs_fh *, 284 int nfs4_submount(struct fs_context *, struct nfs_server *); 285 int nfs4_replace_transport(struct nfs_server *server, 290 extern int nfs4_handle_exception(struct nfs_server *, int, struct nfs4_exception *); 292 struct nfs_server *server, 294 extern int nfs4_call_sync(struct rpc_clnt *, struct nfs_server *, [all …]
|
H A D | nfs4client.c | 795 static void nfs4_destroy_server(struct nfs_server *server) in nfs4_destroy_server() 895 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.hostname, 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 | 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 | delegation.c | 78 static void nfs_mark_return_delegation(struct nfs_server *server, in nfs_mark_return_delegation() 371 struct nfs_server *server) in nfs_detach_delegation() 385 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_detach_delegation() 442 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_set_delegation() 612 static int nfs_server_return_marked_delegations(struct nfs_server *server, in nfs_server_return_marked_delegations() 682 static bool nfs_server_clear_delayed_delegations(struct nfs_server *server) in nfs_server_clear_delayed_delegations() 699 struct nfs_server *server; in nfs_client_clear_delayed_delegations() 881 static void nfs_mark_return_if_closed_delegation(struct nfs_server *server, in nfs_mark_return_if_closed_delegation() 888 static bool nfs_server_mark_return_all_delegations(struct nfs_server *server) in nfs_server_mark_return_all_delegations() 902 struct nfs_server *server; in nfs_client_mark_return_all_delegations() [all …]
|
H A D | pnfs.h | 138 int (*set_layoutdriver) (struct nfs_server *, const struct nfs_fh *); 139 int (*clear_layoutdriver) (struct nfs_server *); 170 (struct nfs_server *server, struct pnfs_device *pdev, 251 extern size_t max_response_pages(struct nfs_server *server); 252 extern int nfs4_proc_getdeviceinfo(struct nfs_server *server, 265 void set_pnfs_layoutdriver(struct nfs_server *, const struct nfs_fh *, struct nfs_fsinfo *); 266 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 *, 421 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 | 48 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_fallocate() 103 struct nfs_server *server = NFS_SERVER(inode); in nfs42_proc_fallocate() 177 struct nfs_server *dst_server, in handle_async_copy() 178 struct nfs_server *src_server, in handle_async_copy() 326 struct nfs_server *dst_server = NFS_SERVER(dst_inode); in _nfs42_proc_copy() 327 struct nfs_server *src_server = NFS_SERVER(src_inode); in _nfs42_proc_copy() 417 struct nfs_server *server = NFS_SERVER(file_inode(dst)); in nfs42_proc_copy() 502 struct nfs_server *seq_server; 542 struct nfs_server *dst_server = NFS_SERVER(file_inode(dst)); in nfs42_do_offload_cancel_async() 589 struct nfs_server *src_serve in _nfs42_proc_copy_notify() [all...] |
H 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() 267 struct nfs_server *server; in nfs_do_submount() 303 int nfs_submount(struct fs_context *fc, struct nfs_server *server) in nfs_submount()
|
H A D | nfs4super.c | 142 static int do_nfs4_mount(struct nfs_server *server, in do_nfs4_mount() 251 fc, ctx->nfs_server.hostname, in nfs4_try_get_tree() 252 ctx->nfs_server.export_path); in nfs4_try_get_tree() 274 fc, ctx->nfs_server.hostname, in nfs4_get_referral_tree() 275 ctx->nfs_server.export_path); in nfs4_get_referral_tree()
|
H A 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 *, const nfs4_stateid *, 108 static int nfs41_free_stateid(struct nfs_server *, const nfs4_stateid *, 153 static inline u32 *nfs4_bitmask(struct nfs_server *server, struct nfs4_label *label) in nfs4_bitmask() 169 nfs4_bitmask(struct nfs_server *server, struct nfs4_label *label) in nfs4_bitmask() 401 static void nfs4_test_and_free_stateid(struct nfs_server *server, in nfs4_test_and_free_stateid() 410 static void __nfs4_free_revoked_stateid(struct nfs_server *server, in __nfs4_free_revoked_stateid() 418 static void nfs4_free_revoked_stateid(struct nfs_server *server, in nfs4_free_revoked_stateid() 490 static int nfs4_do_handle_exception(struct nfs_server *server, in nfs4_do_handle_exception() [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()
|
H A D | pnfs_dev.c | 97 nfs4_get_device_info(struct nfs_server *server, in nfs4_get_device_info() 170 __nfs4_find_get_deviceid(struct nfs_server *server, in __nfs4_find_get_deviceid() 185 nfs4_find_get_deviceid(struct nfs_server *server, in nfs4_find_get_deviceid() 251 nfs4_init_deviceid_node(struct nfs4_deviceid_node *d, struct nfs_server *server, in nfs4_init_deviceid_node()
|
H 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()
|
H A D | fscache.h | 141 static inline const char *nfs_server_fscache_state(struct nfs_server *server) in nfs_server_fscache_state() 192 static inline const char *nfs_server_fscache_state(struct nfs_server *server) in nfs_server_fscache_state()
|
H A D | fscache.c | 91 struct nfs_server *nfss = NFS_SB(sb); in nfs_fscache_get_super_cookie() 153 struct nfs_server *nfss = NFS_SB(sb); in nfs_fscache_release_super_cookie() 166 struct nfs_server *nfss = NFS_SERVER(inode); in nfs_fscache_init_inode()
|
/linux/include/linux/ |
H A D | nfs_xdr.h | 311 const struct nfs_server *server; 444 const struct nfs_server *server; 490 const struct nfs_server *server; /* Needed for ID mapping */ 508 const struct nfs_server *server; 555 const struct nfs_server *server; 645 struct nfs_server *server; 700 const struct nfs_server *server; /* used by write */ 721 const struct nfs_server *server; 735 struct nfs_server *server; 753 struct nfs_server *server; [all …]
|
H A D | nfs_fs_sb.h | 21 struct nfs_server; 58 struct list_head cl_superblocks; /* List of nfs_server structs */ 141 struct nfs_server { 143 struct list_head client_link; /* List of other nfs_server structs 260 void (*destroy)(struct nfs_server *); 142 struct nfs_server { global() struct 144 client_linknfs_server global() argument 147 master_linknfs_server global() argument 148 clientnfs_server global() argument 149 client_aclnfs_server global() argument 150 nlm_hostnfs_server global() argument 151 io_statsnfs_server global() argument 152 write_congestion_waitnfs_server global() argument 153 writebacknfs_server global() argument 154 write_congestednfs_server global() argument 155 flagsnfs_server global() argument 172 fattr_validnfs_server global() argument 173 capsnfs_server global() argument 174 rsizenfs_server global() argument 175 rpagesnfs_server global() argument 176 wsizenfs_server global() argument 177 wpagesnfs_server global() argument 178 wtmultnfs_server global() argument 179 dtsizenfs_server global() argument 180 portnfs_server global() argument 181 bsizenfs_server global() argument 183 gxasizenfs_server global() argument 184 sxasizenfs_server global() argument 185 lxasizenfs_server global() argument 187 acregminnfs_server global() argument 188 acregmaxnfs_server global() argument 189 acdirminnfs_server global() argument 190 acdirmaxnfs_server global() argument 191 namelennfs_server global() argument 192 optionsnfs_server global() argument 193 clone_blksizenfs_server global() argument 198 change_attr_typenfs_server global() argument 200 fsidnfs_server global() argument 201 s_sysfs_idnfs_server global() argument 202 maxfilesizenfs_server global() argument 203 time_deltanfs_server global() argument 204 mount_timenfs_server global() argument 205 supernfs_server global() argument 206 s_devnfs_server global() argument 207 auth_infonfs_server global() argument 210 fscachenfs_server global() argument 211 fscache_uniqnfs_server global() argument 214 pnfs_blksizenfs_server global() argument 216 attr_bitmasknfs_server global() argument 219 attr_bitmask_nlnfs_server global() argument 224 exclcreat_bitmasknfs_server global() argument 229 cache_consistency_bitmasknfs_server global() argument 234 acl_bitmasknfs_server global() argument 237 fh_expire_typenfs_server global() argument 261 destroynfs_server global() argument 263 activenfs_server global() argument 266 mountd_addressnfs_server global() argument 267 mountd_addrlennfs_server global() argument 268 mountd_versionnfs_server global() argument 269 mountd_portnfs_server global() argument 270 mountd_protocolnfs_server global() argument 271 uoc_rpcwaitqnfs_server global() argument 274 read_hdrsizenfs_server global() argument 277 crednfs_server global() argument 278 has_sec_mnt_optsnfs_server global() argument 279 kobjnfs_server global() argument 280 rcunfs_server global() argument
|
/linux/fs/nfs/blocklayout/ |
H A D | dev.c | 288 bl_parse_deviceid(struct nfs_server *server, struct pnfs_block_dev *d, 293 bl_parse_simple(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_simple() 384 bl_parse_scsi(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_scsi() 438 bl_parse_slice(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_slice() 454 bl_parse_concat(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_concat() 483 bl_parse_stripe(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_stripe() 512 bl_parse_deviceid(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_deviceid() 535 bl_alloc_deviceid_node(struct nfs_server *server, struct pnfs_device *pdev, in bl_alloc_deviceid_node()
|
H A D | blocklayout.h | 182 struct nfs4_deviceid_node *bl_alloc_deviceid_node(struct nfs_server *server, 199 dev_t bl_resolve_deviceid(struct nfs_server *server,
|