Home
last modified time | relevance | path

Searched refs:nfs_server (Results 1 – 25 of 53) sorted by relevance

123

/fs/nfs/
A Dsysfs.c238 struct nfs_server *server; in shutdown_nfs_client()
255 struct nfs_server *server = container_of(kobj, struct nfs_server, kobj); in shutdown_show()
264 struct nfs_server *server; in shutdown_store()
267 server = container_of(kobj, struct nfs_server, kobj); in shutdown_store()
300 struct nfs_server *server = container_of(kobj, struct nfs_server, kobj); in implid_domain_show()
315 struct nfs_server *server = container_of(kobj, struct nfs_server, kobj); in implid_name_show()
329 void nfs_sysfs_link_rpc_client(struct nfs_server *server, in nfs_sysfs_link_rpc_client()
396 struct nfs_server *server = container_of(kobj, struct nfs_server, kobj); in localio_show()
417 void nfs_sysfs_add_server(struct nfs_server *server) in nfs_sysfs_add_server()
441 struct nfs_server *server = s->s_fs_info; in nfs_sysfs_move_server_to_sb()
[all …]
A Dnfs4namespace.c205 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 Dsuper.c196 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
756 struct nfs_server *server; in nfs_umount_begin()
883 ctx->nfs_server.addrlen); in nfs_request_mount()
1194 struct nfs_server *server2) in nfs_compare_super_address()
1236 const struct nfs_server *new) in nfs_compare_userns()
1273 struct nfs_server *nfss = NFS_SB(sb); in nfs_get_cache_cookie()
[all …]
A Dfs_context.c686 ctx->nfs_server.protocol = ret; in nfs_fs_context_parse_param()
882 ctx->nfs_server.protocol = ret; in nfs_fs_context_parse_param()
923 ctx->nfs_server.addrlen = len; in nfs_fs_context_parse_param()
1100 kfree(ctx->nfs_server.hostname); in nfs_parse_source()
1104 if (!ctx->nfs_server.hostname) in nfs_parse_source()
1110 if (!ctx->nfs_server.export_path) in nfs_parse_source()
1241 if (!ctx->nfs_server.hostname) in nfs23_parse_monolithic()
1435 ctx->nfs_server.hostname = c; in nfs4_parse_monolithic()
1440 ctx->nfs_server.export_path = c; in nfs4_parse_monolithic()
1650 ctx->nfs_server.hostname = NULL; in nfs_fs_context_dup()
[all …]
A Dnfs4idmap.h45 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 Dnfs3client.c27 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()
A Dinternal.h144 } nfs_server; member
147 struct nfs_server *server;
218 int nfs_probe_server(struct nfs_server *, struct nfs_fh *);
219 void nfs_server_insert_lists(struct nfs_server *);
220 void nfs_server_remove_lists(struct nfs_server *);
224 struct nfs_server *nfs_alloc_server(void);
225 void nfs_server_copy_userdata(struct nfs_server *, struct nfs_server *);
234 extern void nfs_server_set_init_caps(struct nfs_server *);
240 extern void nfs_free_server(struct nfs_server *server);
241 extern struct nfs_server *nfs_clone_server(struct nfs_server *,
[all …]
A Dnfs4_fs.h65 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 *,
299 extern int nfs4_proc_get_rootfh(struct nfs_server *, struct nfs_fh *,
[all …]
A Dclient.c733 .addr = &ctx->nfs_server._address, in nfs_init_server()
734 .addrlen = ctx->nfs_server.addrlen, in nfs_init_server()
736 .proto = ctx->nfs_server.protocol, in nfs_init_server()
794 server->port = ctx->nfs_server.port; in nfs_init_server()
967 void nfs_server_copy_userdata(struct nfs_server *target, struct nfs_server *source) in nfs_server_copy_userdata()
1022 struct nfs_server *server; in nfs_alloc_server()
1070 struct nfs_server *server = container_of(p, struct nfs_server, rcu); in delayed_free()
1112 struct nfs_server *server; in nfs_create_server()
1177 struct nfs_server *nfs_clone_server(struct nfs_server *source, in nfs_clone_server()
1182 struct nfs_server *server; in nfs_clone_server()
[all …]
A Ddelegation.c344 struct nfs_server *server, int err) in nfs_abort_delegation_return()
387 struct nfs_server *server) in nfs_detach_delegation()
401 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_detach_delegation()
717 struct nfs_server *server; in nfs_client_clear_delayed_delegations()
935 struct nfs_server *server; in nfs_client_mark_return_all_delegations()
999 struct nfs_server *server; in nfs_client_mark_return_unused_delegation_types()
1131 struct nfs_server *server; in nfs_expire_unreferenced_delegations()
1219 struct nfs_server *server; in nfs_delegation_find_inode()
1256 struct nfs_server *server; in nfs_delegation_mark_reclaim()
1358 struct nfs_server *server; in nfs_mark_test_expired_all_delegations()
[all …]
A Dnfs4client.c1131 .hostname = ctx->nfs_server.hostname, in nfs4_init_server()
1132 .addr = &ctx->nfs_server._address, in nfs4_init_server()
1133 .addrlen = ctx->nfs_server.addrlen, in nfs4_init_server()
1135 .proto = ctx->nfs_server.protocol, in nfs4_init_server()
1140 .nconnect = ctx->nfs_server.nconnect, in nfs4_init_server()
1175 server->port = ctx->nfs_server.port; in nfs4_init_server()
1188 struct nfs_server *server; in nfs4_create_server()
1225 .hostname = ctx->nfs_server.hostname, in nfs4_create_referral_server()
1226 .addr = &ctx->nfs_server._address, in nfs4_create_referral_server()
1227 .addrlen = ctx->nfs_server.addrlen, in nfs4_create_referral_server()
[all …]
A Dsysfs.h26 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);
A Dpnfs.h140 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,
267 void unset_pnfs_layoutdriver(struct nfs_server *);
380 nfs4_find_get_deviceid(struct nfs_server *server,
473 static inline int pnfs_enabled_sb(struct nfs_server *nfss) in pnfs_enabled_sb()
608 struct nfs_server *nfss = NFS_SERVER(ino); in pnfs_return_layout()
620 struct nfs_server *nfss) in pnfs_use_threshold()
808 static inline void set_pnfs_layoutdriver(struct nfs_server *s, in set_pnfs_layoutdriver()
[all …]
A Dnfs3_fs.h30 struct nfs_server *nfs3_create_server(struct fs_context *);
31 struct nfs_server *nfs3_clone_server(struct nfs_server *, struct nfs_fh *,
A Dnfs42proc.c50 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_fallocate()
105 struct nfs_server *server = NFS_SERVER(inode); in nfs42_proc_fallocate()
204 struct nfs_server *src_server, in nfs4_copy_dequeue_callback()
218 struct nfs_server *dst_server, in handle_async_copy()
219 struct nfs_server *src_server, in handle_async_copy()
577 struct nfs_server *seq_server;
724 struct nfs_server *server = NFS_SERVER(inode); in nfs42_proc_offload_status()
855 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_llseek()
923 struct nfs_server *server = NFS_SERVER(inode); in nfs42_layoutstat_prepare()
1091 struct nfs_server *server = NFS_SERVER(inode); in nfs42_layouterror_prepare()
[all …]
A Dnfs4proc.c1208 struct nfs_server *server, in nfs4_do_call_sync()
1232 struct nfs_server *server, in nfs4_call_sync_sequence()
1246 struct nfs_server *server, in nfs4_call_sync()
4106 struct nfs_server *server) in test_fs_location_for_trunking()
7091 struct nfs_server *server;
7324 struct nfs_server *server;
7883 struct nfs_server *server;
10060 struct nfs_server *server; in nfs4_layoutreturn_done()
10577 struct nfs_server *server;
10963 static struct nfs_server *nfs4_clone_server(struct nfs_server *source, in nfs4_clone_server()
[all …]
A Dnamespace.c150 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 Dnfs4super.c142 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()
A Dnfs4state.c236 struct nfs_server *server; in nfs4_get_renew_cred()
436 struct nfs_server *server = new->so_server; in nfs4_insert_state_owner_locked()
466 struct nfs_server *server = sp->so_server; in nfs4_remove_state_owner_locked()
610 struct nfs_server *server = sp->so_server; in nfs4_put_state_owner()
926 struct nfs_server *server; in nfs4_put_lock_state()
1285 &((struct nfs_server *)server)->mig_status); in nfs4_schedule_migration_recovery()
1779 struct nfs_server *server; in nfs4_state_mark_reclaim_helper()
1831 struct nfs_server *server; in nfs4_state_clear_reclaim_reboot()
1912 struct nfs_server *server; in nfs4_do_reclaim()
2190 struct nfs_server *server; in nfs4_handle_migration()
[all …]
A Diostat.h23 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()
A Dnfs4idmap.c109 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()
735 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()
752 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()
769 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()
783 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()
A Dpnfs_dev.c97 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()
A Dpnfs.c108 unset_pnfs_layoutdriver(struct nfs_server *nfss) in unset_pnfs_layoutdriver()
844 struct nfs_server *server, in pnfs_layout_bulk_destroy_byserver_locked()
921 struct nfs_server *server; in pnfs_layout_destroy_byfsid()
944 struct nfs_server *server; in pnfs_layout_build_destroy_list_byclient()
990 struct nfs_server *server; in pnfs_layout_build_recover_list_byclient()
1009 struct nfs_server *server; in pnfs_layout_bulk_list_reboot()
1109 static struct nfs_server *
1112 struct nfs_server *server; in pnfs_find_server()
2075 struct nfs_server *server) in _add_to_server_list()
2108 struct nfs_server *server = NFS_SERVER(ino); in pnfs_update_layout()
[all …]
/fs/nfs/blocklayout/
A Ddev.c289 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()
439 bl_parse_slice(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_slice()
455 bl_parse_concat(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_concat()
484 bl_parse_stripe(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_stripe()
513 bl_parse_deviceid(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_deviceid()
536 bl_alloc_deviceid_node(struct nfs_server *server, struct pnfs_device *pdev, in bl_alloc_deviceid_node()
A Dblocklayout.h182 struct nfs4_deviceid_node *bl_alloc_deviceid_node(struct nfs_server *server,
199 dev_t bl_resolve_deviceid(struct nfs_server *server,

Completed in 70 milliseconds

123