Home
last modified time | relevance | path

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

123

/linux-6.15/fs/nfs/
H 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);
H 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 …]
H 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()
1184 struct nfs_server *server2) in nfs_compare_super_address()
1226 const struct nfs_server *new) in nfs_compare_userns()
1263 struct nfs_server *nfss = NFS_SB(sb); in nfs_get_cache_cookie()
[all …]
H 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()
390 void nfs_sysfs_add_server(struct nfs_server *server) in nfs_sysfs_add_server()
413 struct nfs_server *server = s->s_fs_info; in nfs_sysfs_move_server_to_sb()
422 void nfs_sysfs_move_sb_to_server(struct nfs_server *server) in nfs_sysfs_move_sb_to_server()
[all …]
H 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()
H A Dfs_context.c656 ctx->nfs_server.protocol = ret; in nfs_fs_context_parse_param()
840 ctx->nfs_server.protocol = ret; in nfs_fs_context_parse_param()
881 ctx->nfs_server.addrlen = len; in nfs_fs_context_parse_param()
1058 kfree(ctx->nfs_server.hostname); in nfs_parse_source()
1062 if (!ctx->nfs_server.hostname) in nfs_parse_source()
1068 if (!ctx->nfs_server.export_path) in nfs_parse_source()
1199 if (!ctx->nfs_server.hostname) in nfs23_parse_monolithic()
1393 ctx->nfs_server.hostname = c; in nfs4_parse_monolithic()
1398 ctx->nfs_server.export_path = c; in nfs4_parse_monolithic()
1608 ctx->nfs_server.hostname = NULL; in nfs_fs_context_dup()
[all …]
H 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 *,
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,
292 struct nfs_server *server,
294 extern int nfs4_call_sync(struct rpc_clnt *, struct nfs_server *,
310 extern int nfs4_proc_get_locations(struct nfs_server *, struct nfs_fh *,
[all …]
H A Dinternal.h144 } nfs_server; member
147 struct nfs_server *server;
219 int nfs_probe_server(struct nfs_server *, struct nfs_fh *);
220 void nfs_server_insert_lists(struct nfs_server *);
221 void nfs_server_remove_lists(struct nfs_server *);
225 struct nfs_server *nfs_alloc_server(void);
226 void nfs_server_copy_userdata(struct nfs_server *, struct nfs_server *);
235 extern void nfs4_server_set_init_caps(struct nfs_server *);
241 extern void nfs_free_server(struct nfs_server *server);
242 extern struct nfs_server *nfs_clone_server(struct nfs_server *,
[all …]
H 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);
H A Dnfs4client.c1179 ctx->nfs_server.hostname, in nfs4_init_server()
1180 &ctx->nfs_server._address, in nfs4_init_server()
1181 ctx->nfs_server.addrlen, in nfs4_init_server()
1183 ctx->nfs_server.protocol, in nfs4_init_server()
1186 ctx->nfs_server.nconnect, in nfs4_init_server()
1215 struct nfs_server *server; in nfs4_create_server()
1270 ctx->nfs_server.hostname, in nfs4_create_referral_server()
1271 &ctx->nfs_server._address, in nfs4_create_referral_server()
1272 ctx->nfs_server.addrlen, in nfs4_create_referral_server()
1290 ctx->nfs_server.hostname, in nfs4_create_referral_server()
[all …]
H A Ddelegation.c335 struct nfs_server *server, int err) in nfs_abort_delegation_return()
375 struct nfs_server *server) in nfs_detach_delegation()
389 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_detach_delegation()
700 struct nfs_server *server; in nfs_client_clear_delayed_delegations()
917 struct nfs_server *server; in nfs_client_mark_return_all_delegations()
981 struct nfs_server *server; in nfs_client_mark_return_unused_delegation_types()
1102 struct nfs_server *server; in nfs_expire_unreferenced_delegations()
1189 struct nfs_server *server; in nfs_delegation_find_inode()
1226 struct nfs_server *server; in nfs_delegation_mark_reclaim()
1328 struct nfs_server *server; in nfs_mark_test_expired_all_delegations()
[all …]
H A Dclient.c695 .addr = &ctx->nfs_server._address, in nfs_init_server()
696 .addrlen = ctx->nfs_server.addrlen, in nfs_init_server()
698 .proto = ctx->nfs_server.protocol, in nfs_init_server()
757 server->port = ctx->nfs_server.port; in nfs_init_server()
930 void nfs_server_copy_userdata(struct nfs_server *target, struct nfs_server *source) in nfs_server_copy_userdata()
986 struct nfs_server *server; in nfs_alloc_server()
1033 struct nfs_server *server = container_of(p, struct nfs_server, rcu); in delayed_free()
1075 struct nfs_server *server; in nfs_create_server()
1140 struct nfs_server *nfs_clone_server(struct nfs_server *source, in nfs_clone_server()
1145 struct nfs_server *server; in nfs_clone_server()
[all …]
H 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 …]
H 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 *,
H 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()
179 struct nfs_server *src_server, in nfs4_copy_dequeue_callback()
193 struct nfs_server *dst_server, in handle_async_copy()
194 struct nfs_server *src_server, in handle_async_copy()
552 struct nfs_server *seq_server;
699 struct nfs_server *server = NFS_SERVER(inode); in nfs42_proc_offload_status()
830 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_llseek()
898 struct nfs_server *server = NFS_SERVER(inode); in nfs42_layoutstat_prepare()
1066 struct nfs_server *server = NFS_SERVER(inode); in nfs42_layouterror_prepare()
[all …]
H 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()
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 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()
H 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()
H A Dnfs4proc.c766 const struct nfs_server *seq_server;
1203 struct nfs_server *server, in nfs4_do_call_sync()
1227 struct nfs_server *server, in nfs4_call_sync_sequence()
1241 struct nfs_server *server, in nfs4_call_sync()
3144 struct nfs_server *server = sp->so_server; in _nfs4_open_and_get_state()
4096 struct nfs_server *server) in test_fs_location_for_trunking()
7074 struct nfs_server *server;
7307 struct nfs_server *server;
7866 struct nfs_server *server;
10043 struct nfs_server *server; in nfs4_layoutreturn_done()
[all …]
H 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 …]
H 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()
/linux-6.15/include/linux/
H A Dnfs_xdr.h311 const struct nfs_server *server;
444 const struct nfs_server *server;
508 const struct nfs_server *server;
555 const struct nfs_server *server;
645 struct nfs_server *server;
721 const struct nfs_server *server;
735 struct nfs_server *server;
753 struct nfs_server *server;
779 struct nfs_server * server;
1259 const struct nfs_server *server;
[all …]
H A Dnfs_fs.h345 static inline struct nfs_server *NFS_SB(const struct super_block *s) in NFS_SB()
347 return (struct nfs_server *)(s->s_fs_info); in NFS_SB()
355 static inline struct nfs_server *NFS_SERVER(const struct inode *inode) in NFS_SERVER()
372 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MINATTRTIMEO()
378 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MAXATTRTIMEO()
449 extern int __nfs_revalidate_inode(struct nfs_server *, struct inode *);
472 extern struct nfs_fattr *nfs_alloc_fattr_with_label(struct nfs_server *server);
H A Dnfs_fs_sb.h21 struct nfs_server;
142 struct nfs_server { struct
273 void (*destroy)(struct nfs_server *); argument
/linux-6.15/fs/nfs/blocklayout/
H A Ddev.c288 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()

123