Home
last modified time | relevance | path

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

123

/linux/fs/nfs/
A Dnfs4namespace.c199 struct nfs_server *server, in nfs_find_best_sec()
301 kfree(ctx->nfs_server.hostname); in try_location()
303 if (!ctx->nfs_server.hostname) in try_location()
307 &ctx->nfs_server.export_path_len); in try_location()
311 kfree(ctx->nfs_server.export_path); in try_location()
312 ctx->nfs_server.export_path = export_path; in try_location()
327 ctx->nfs_server.addrlen = in try_location()
329 &ctx->nfs_server.address, in try_location()
332 if (ctx->nfs_server.addrlen == 0) in try_location()
344 memcpy(p, ctx->nfs_server.export_path, ctx->nfs_server.export_path_len); in try_location()
[all …]
A Dsuper.c185 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()
858 ctx->nfs_server.addrlen); in nfs_request_mount()
1131 struct nfs_server *server2) in nfs_compare_super_address()
1173 const struct nfs_server *new) in nfs_compare_userns()
1210 struct nfs_server *nfss = NFS_SB(sb); in nfs_get_cache_cookie()
[all …]
A Dfs_context.c556 ctx->nfs_server.protocol = ret; in nfs_fs_context_parse_param()
713 ctx->nfs_server.protocol = ret; in nfs_fs_context_parse_param()
750 ctx->nfs_server.addrlen = len; in nfs_fs_context_parse_param()
903 kfree(ctx->nfs_server.hostname); in nfs_parse_source()
907 if (!ctx->nfs_server.hostname) in nfs_parse_source()
913 if (!ctx->nfs_server.export_path) in nfs_parse_source()
1041 if (!ctx->nfs_server.hostname) in nfs23_parse_monolithic()
1236 ctx->nfs_server.hostname = c; in nfs4_parse_monolithic()
1241 ctx->nfs_server.export_path = c; in nfs4_parse_monolithic()
1451 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.c25 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 Dinternal.h127 } nfs_server; member
130 struct nfs_server *server;
196 int nfs_probe_server(struct nfs_server *, struct nfs_fh *);
197 void nfs_server_insert_lists(struct nfs_server *);
198 void nfs_server_remove_lists(struct nfs_server *);
202 struct nfs_server *nfs_alloc_server(void);
203 void nfs_server_copy_userdata(struct nfs_server *, struct nfs_server *);
212 extern void nfs4_server_set_init_caps(struct nfs_server *);
218 extern void nfs_free_server(struct nfs_server *server);
219 extern struct nfs_server *nfs_clone_server(struct nfs_server *,
[all …]
A Dnfs4_fs.h63 int (*find_root_sec)(struct nfs_server *, struct nfs_fh *,
65 void (*free_lock_state)(struct nfs_server *,
67 int (*test_and_free_expired)(struct nfs_server *,
109 struct nfs_server *so_server;
280 int nfs4_submount(struct fs_context *, struct nfs_server *);
281 int nfs4_replace_transport(struct nfs_server *server,
287 struct nfs_server *server,
289 extern int nfs4_call_sync(struct rpc_clnt *, struct nfs_server *,
457 extern void nfs4_renewd_prepare_shutdown(struct nfs_server *);
488 extern void nfs4_purge_state_owners(struct nfs_server *, struct list_head *);
[all …]
A Dclient.c672 .hostname = ctx->nfs_server.hostname, in nfs_init_server()
674 .addrlen = ctx->nfs_server.addrlen, in nfs_init_server()
676 .proto = ctx->nfs_server.protocol, in nfs_init_server()
680 .nconnect = ctx->nfs_server.nconnect, in nfs_init_server()
729 server->port = ctx->nfs_server.port; in nfs_init_server()
893 void nfs_server_copy_userdata(struct nfs_server *target, struct nfs_server *source) in nfs_server_copy_userdata()
947 struct nfs_server *server; in nfs_alloc_server()
1015 struct nfs_server *server; in nfs_create_server()
1078 struct nfs_server *nfs_clone_server(struct nfs_server *source, in nfs_clone_server()
1083 struct nfs_server *server; in nfs_clone_server()
[all …]
A Dnfs4client.c1150 ctx->nfs_server.hostname, in nfs4_init_server()
1151 &ctx->nfs_server.address, in nfs4_init_server()
1152 ctx->nfs_server.addrlen, in nfs4_init_server()
1154 ctx->nfs_server.protocol, in nfs4_init_server()
1157 ctx->nfs_server.nconnect, in nfs4_init_server()
1185 struct nfs_server *server; in nfs4_create_server()
1240 ctx->nfs_server.hostname, in nfs4_create_referral_server()
1241 &ctx->nfs_server.address, in nfs4_create_referral_server()
1242 ctx->nfs_server.addrlen, in nfs4_create_referral_server()
1256 ctx->nfs_server.hostname, in nfs4_create_referral_server()
[all …]
A Ddelegation.c364 struct nfs_server *server) in nfs_detach_delegation()
378 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_detach_delegation()
435 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_set_delegation()
684 struct nfs_server *server; in nfs_client_clear_delayed_delegations()
850 struct nfs_server *server; in nfs_client_mark_return_all_delegations()
914 struct nfs_server *server; in nfs_client_mark_return_unused_delegation_types()
1030 struct nfs_server *server; in nfs_expire_unreferenced_delegations()
1117 struct nfs_server *server; in nfs_delegation_find_inode()
1154 struct nfs_server *server; in nfs_delegation_mark_reclaim()
1256 struct nfs_server *server; in nfs_mark_test_expired_all_delegations()
[all …]
A Dfscache.c115 struct nfs_server *nfss = NFS_SB(sb); in nfs_fscache_get_super_cookie()
132 key->key.nfs_server.flags = nfss->flags; in nfs_fscache_get_super_cookie()
133 key->key.nfs_server.rsize = nfss->rsize; in nfs_fscache_get_super_cookie()
134 key->key.nfs_server.wsize = nfss->wsize; in nfs_fscache_get_super_cookie()
135 key->key.nfs_server.acregmin = nfss->acregmin; in nfs_fscache_get_super_cookie()
136 key->key.nfs_server.acregmax = nfss->acregmax; in nfs_fscache_get_super_cookie()
137 key->key.nfs_server.acdirmin = nfss->acdirmin; in nfs_fscache_get_super_cookie()
138 key->key.nfs_server.acdirmax = nfss->acdirmax; in nfs_fscache_get_super_cookie()
139 key->key.nfs_server.fsid = nfss->fsid; in nfs_fscache_get_super_cookie()
211 struct nfs_server *nfss = NFS_SB(sb); in nfs_fscache_release_super_cookie()
[all …]
A Dpnfs.h132 int (*clear_layoutdriver) (struct nfs_server *);
163 (struct nfs_server *server, struct pnfs_device *pdev,
239 extern size_t max_response_pages(struct nfs_server *server);
240 extern int nfs4_proc_getdeviceinfo(struct nfs_server *server,
251 void unset_pnfs_layoutdriver(struct nfs_server *);
362 nfs4_find_get_deviceid(struct nfs_server *server,
456 static inline int pnfs_enabled_sb(struct nfs_server *nfss) in pnfs_enabled_sb()
602 struct nfs_server *nfss = NFS_SERVER(ino); in pnfs_return_layout()
614 struct nfs_server *nfss) in pnfs_use_threshold()
790 static inline void set_pnfs_layoutdriver(struct nfs_server *s, in set_pnfs_layoutdriver()
[all …]
A Dnfs3_fs.h31 struct nfs_server *nfs3_create_server(struct fs_context *);
32 struct nfs_server *nfs3_clone_server(struct nfs_server *, struct nfs_fh *,
A Dnfs42proc.c48 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_fallocate()
98 struct nfs_server *server = NFS_SERVER(inode); in nfs42_proc_fallocate()
172 struct nfs_server *dst_server, in handle_async_copy()
173 struct nfs_server *src_server, in handle_async_copy()
496 struct nfs_server *seq_server;
669 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_llseek()
737 struct nfs_server *server = NFS_SERVER(inode); in nfs42_layoutstat_prepare()
905 struct nfs_server *server = NFS_SERVER(inode); in nfs42_layouterror_prepare()
1152 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_removexattr()
1177 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_setxattr()
[all …]
A Dnfs4super.c142 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 Dnfs4proc.c113 struct nfs_server *server,
692 const struct nfs_server *seq_server;
1130 struct nfs_server *server, in nfs4_do_call_sync()
1154 struct nfs_server *server, in nfs4_call_sync_sequence()
1168 struct nfs_server *server, in nfs4_call_sync()
3034 struct nfs_server *server = sp->so_server; in _nfs4_open_and_get_state()
6675 struct nfs_server *server;
6900 struct nfs_server *server;
7454 struct nfs_server *server;
9539 struct nfs_server *server; in nfs4_layoutreturn_done()
[all …]
A Dnamespace.c150 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()
A Dnfs4state.c233 struct nfs_server *server; in nfs4_get_renew_cred()
431 struct nfs_server *server = new->so_server; in nfs4_insert_state_owner_locked()
461 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()
1275 &((struct nfs_server *)server)->mig_status); in nfs4_schedule_migration_recovery()
1767 struct nfs_server *server; in nfs4_state_mark_reclaim_helper()
1818 struct nfs_server *server; in nfs4_state_clear_reclaim_reboot()
1898 struct nfs_server *server; in nfs4_do_reclaim()
2150 struct nfs_server *server; in nfs4_handle_migration()
[all …]
A Dfscache.h42 } nfs_server; member
185 static inline const char *nfs_server_fscache_state(struct nfs_server *server) in nfs_server_fscache_state()
236 static inline const char *nfs_server_fscache_state(struct nfs_server *server) in nfs_server_fscache_state()
A Diostat.h26 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 Dpnfs_dev.c97 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()
/linux/include/linux/
A Dnfs_xdr.h311 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;
756 struct nfs_server * server;
1215 const struct nfs_server *server;
[all …]
A Dnfs_fs.h290 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()
405 extern int __nfs_revalidate_inode(struct nfs_server *, struct inode *);
428 extern struct nfs_fattr *nfs_alloc_fattr_with_label(struct nfs_server *server);
A Dnfs_fs_sb.h20 struct nfs_server;
135 struct nfs_server { struct
247 void (*destroy)(struct nfs_server *); argument
/linux/fs/nfs/blocklayout/
A Ddev.c230 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()
352 bl_parse_scsi(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_scsi()
401 bl_parse_slice(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_slice()
417 bl_parse_concat(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_concat()
446 bl_parse_stripe(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_stripe()
475 bl_parse_deviceid(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_deviceid()
496 bl_alloc_deviceid_node(struct nfs_server *server, struct pnfs_device *pdev, in bl_alloc_deviceid_node()

Completed in 81 milliseconds

123