Home
last modified time | relevance | path

Searched refs:nfs_client (Results 1 – 25 of 52) sorted by relevance

123

/linux/fs/nfs/
A Dnfs4_fs.h59 int (*init_client)(struct nfs_client *);
60 void (*shutdown_client)(struct nfs_client *);
223 int (*detect_trunking)(struct nfs_client *, struct nfs_client **,
252 struct nfs_client *clp;
345 is_ds_only_client(struct nfs_client *clp) in is_ds_only_client()
352 is_ds_client(struct nfs_client *clp) in is_ds_client()
415 is_ds_only_client(struct nfs_client *clp) in is_ds_only_client()
421 is_ds_client(struct nfs_client *clp) in is_ds_client()
449 int nfs40_init_client(struct nfs_client *);
450 int nfs41_init_client(struct nfs_client *);
[all …]
A Dnfs4client.c405 static void nfs4_add_trunk(struct nfs_client *clp, struct nfs_client *old) in nfs4_add_trunk()
440 struct nfs_client *nfs4_init_client(struct nfs_client *clp, in nfs4_init_client()
443 struct nfs_client *old; in nfs4_init_client()
523 static int nfs4_match_client(struct nfs_client *pos, struct nfs_client *new, in nfs4_match_client()
805 struct nfs_client *
808 struct nfs_client *clp; in nfs4_find_client_ident()
849 struct nfs_client *
853 struct nfs_client *clp; in nfs4_find_client_sessionid()
879 struct nfs_client *
968 struct nfs_client *mds_clp = mds_srv->nfs_client; in nfs4_set_ds_client()
[all …]
A Ddelegation.h51 struct inode *nfs_delegation_find_inode(struct nfs_client *clp, const struct nfs_fh *fhandle);
53 void nfs_expire_all_delegations(struct nfs_client *clp);
54 void nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flags);
55 void nfs_expire_unreferenced_delegations(struct nfs_client *clp);
56 int nfs_client_return_marked_delegations(struct nfs_client *clp);
57 int nfs_delegations_present(struct nfs_client *clp);
61 void nfs_delegation_mark_reclaim(struct nfs_client *clp);
62 void nfs_delegation_reap_unclaimed(struct nfs_client *clp);
64 void nfs_mark_test_expired_all_delegations(struct nfs_client *clp);
65 void nfs_test_expired_all_delegations(struct nfs_client *clp);
[all …]
A Dnfs4state.c542 struct nfs_client *clp = server->nfs_client; in nfs4_gc_state_owners()
577 struct nfs_client *clp = server->nfs_client; in nfs4_get_state_owner()
613 struct nfs_client *clp = server->nfs_client; in nfs4_put_state_owner()
636 struct nfs_client *clp = server->nfs_client; in nfs4_purge_state_owners()
948 struct nfs_client *clp = server->nfs_client; in nfs4_put_lock_state()
1257 struct nfs_client *clp = server->nfs_client; in nfs4_schedule_migration_recovery()
1386 struct nfs_client *clp = server->nfs_client; in nfs4_schedule_stateid_recovery()
1431 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_inode_find_state_and_recover()
1743 struct nfs_client *clp = server->nfs_client; in nfs4_reset_seqids()
1794 struct nfs_client *clp = server->nfs_client; in nfs4_clear_reclaim_server()
[all …]
A Dnfs4session.h75 struct nfs_client *clp;
109 static inline struct nfs4_session *nfs4_get_session(const struct nfs_client *clp) in nfs4_get_session()
123 extern struct nfs4_session *nfs4_alloc_session(struct nfs_client *clp);
125 extern int nfs4_init_session(struct nfs_client *clp);
126 extern int nfs4_init_ds_session(struct nfs_client *, unsigned long);
131 static inline int nfs4_has_session(const struct nfs_client *clp) in nfs4_has_session()
138 static inline int nfs4_has_persistent_session(const struct nfs_client *clp) in nfs4_has_persistent_session()
163 static inline int nfs4_init_session(struct nfs_client *clp) in nfs4_init_session()
171 static inline int nfs4_has_session(const struct nfs_client *clp) in nfs4_has_session()
176 static inline int nfs4_has_persistent_session(const struct nfs_client *clp) in nfs4_has_persistent_session()
A Dclient.c151 struct nfs_client *clp; in nfs_alloc_client()
285 struct nfs_client *clp; in nfs_match_client()
564 struct nfs_client *clp = server->nfs_client; in nfs_start_lockd()
609 struct nfs_client *clp = server->nfs_client; in nfs_init_server_rpcclient()
640 struct nfs_client *nfs_init_client(struct nfs_client *clp, in nfs_init_client()
683 struct nfs_client *clp; in nfs_init_server()
834 struct nfs_client *clp = server->nfs_client; in nfs_probe_fsinfo()
911 struct nfs_client *clp = server->nfs_client; in nfs_server_insert_lists()
925 struct nfs_client *clp = server->nfs_client; in nfs_server_remove_lists()
1093 server->nfs_client = source->nfs_client; in nfs_clone_server()
[all …]
A Dpnfs_dev.c80 const struct nfs_client *clp, const struct nfs4_deviceid *id, in _lookup_deviceid()
86 if (d->ld == ld && d->nfs_client == clp && in _lookup_deviceid()
232 const struct nfs_client *clp, const struct nfs4_deviceid *id) in nfs4_delete_deviceid()
260 d->nfs_client = server->nfs_client; in nfs4_init_deviceid_node()
283 nfs4_delete_deviceid(d->ld, d->nfs_client, &d->deviceid); in nfs4_put_deviceid_node()
287 trace_nfs4_deviceid_free(d->nfs_client, &d->deviceid); in nfs4_put_deviceid_node()
331 _deviceid_purge_client(const struct nfs_client *clp, long hash) in _deviceid_purge_client()
339 if (d->nfs_client == clp && atomic_read(&d->ref)) { in _deviceid_purge_client()
358 nfs4_deviceid_purge_client(const struct nfs_client *clp) in nfs4_deviceid_purge_client()
372 nfs4_deviceid_mark_client_invalid(struct nfs_client *clp) in nfs4_deviceid_mark_client_invalid()
[all …]
A Ddelegation.c326 struct nfs_client *clp, int err) in nfs_abort_delegation_return()
341 struct nfs_client *clp) in nfs_detach_delegation_locked()
366 struct nfs_client *clp = server->nfs_client; in nfs_detach_delegation()
436 struct nfs_client *clp = server->nfs_client; in nfs_inode_set_delegation()
532 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_end_delegation_return()
869 void nfs_expire_all_delegations(struct nfs_client *clp) in nfs_expire_all_delegations()
882 struct nfs_client *clp = server->nfs_client; in nfs_server_return_all_delegations()
1051 struct nfs_client *clp = server->nfs_client; in nfs_async_inode_return_delegation()
1321 if (!nfs4_server_rebooted(server->nfs_client)) { in nfs_server_reap_expired_delegations()
1352 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_inode_find_delegation_state_and_recover()
[all …]
A Dinternal.h205 extern void nfs_put_client(struct nfs_client *);
206 extern void nfs_free_client(struct nfs_client *);
208 extern struct nfs_client *
224 extern int nfs_client_init_status(const struct nfs_client *clp);
365 extern struct nfs_client *nfs_init_client(struct nfs_client *clp,
428 extern int nfs_client_for_each_server(struct nfs_client *clp,
588 extern struct nfs_client *nfs4_init_client(struct nfs_client *clp,
590 extern int nfs40_walk_client_list(struct nfs_client *clp,
591 struct nfs_client **result,
593 extern int nfs41_walk_client_list(struct nfs_client *clp,
[all …]
A Dnfs4renewd.c58 struct nfs_client *clp = in nfs4_renew_state()
59 container_of(work, struct nfs_client, cl_renewd.work); in nfs4_renew_state()
114 nfs4_schedule_state_renewal(struct nfs_client *clp) in nfs4_schedule_state_renewal()
131 nfs4_kill_renewd(struct nfs_client *clp) in nfs4_kill_renewd()
142 void nfs4_set_lease_period(struct nfs_client *clp, in nfs4_set_lease_period()
A Dfscache.h23 struct nfs_client *nfs_client; /* the server */ member
86 extern void nfs_fscache_get_client_cookie(struct nfs_client *);
87 extern void nfs_fscache_release_client_cookie(struct nfs_client *);
196 static inline void nfs_fscache_get_client_cookie(struct nfs_client *clp) {} in nfs_fscache_get_client_cookie()
197 static inline void nfs_fscache_release_client_cookie(struct nfs_client *clp) {} in nfs_fscache_release_client_cookie()
A Dsuper.c405 struct nfs_client *clp = nfss->nfs_client; in nfs_show_nfsv4_options()
450 struct nfs_client *clp = nfss->nfs_client; in nfs_show_mount_options()
544 rpc_peeraddr2str(nfss->nfs_client->cl_rpcclient, in nfs_show_options()
555 struct nfs_client *clp = server->nfs_client; in show_lease()
566 if (nfs4_has_session(server->nfs_client)) in show_sessions()
586 if (nfss->nfs_client && nfss->nfs_client->cl_implid) { in show_implementation_id()
663 if (nfss->nfs_client->rpc_ops->version == 4) { in nfs_show_stats()
1050 sb->s_op = server->nfs_client->cl_nfs_mod->sops; in nfs_fill_super()
1054 if (server->nfs_client->rpc_ops->version != 2) { in nfs_fill_super()
1064 if (server->nfs_client->rpc_ops->version != 4) { in nfs_fill_super()
[all …]
A Dnfs42.h35 struct nfs_client *c_in = (NFS_SERVER(file_inode(in)))->nfs_client; in nfs42_files_from_same_server()
36 struct nfs_client *c_out = (NFS_SERVER(file_inode(out)))->nfs_client; in nfs42_files_from_same_server()
A Dfscache.c50 void nfs_fscache_get_client_cookie(struct nfs_client *clp) in nfs_fscache_get_client_cookie()
95 void nfs_fscache_release_client_cookie(struct nfs_client *clp) in nfs_fscache_release_client_cookie()
130 key->nfs_client = nfss->nfs_client; in nfs_fscache_get_super_cookie()
152 if (key->nfs_client < xkey->nfs_client) in nfs_fscache_get_super_cookie()
154 if (key->nfs_client > xkey->nfs_client) in nfs_fscache_get_super_cookie()
187 nfss->fscache = fscache_acquire_cookie(nfss->nfs_client->fscache, in nfs_fscache_get_super_cookie()
237 if (NFS_SERVER(&nfsi->vfs_inode)->nfs_client->rpc_ops->version == 4) in nfs_fscache_update_auxdata()
A Dnfs4idmap.h44 struct nfs_client;
51 int nfs_idmap_new(struct nfs_client *);
52 void nfs_idmap_delete(struct nfs_client *);
A Dnfs3client.c80 struct nfs_client *nfs3_set_ds_client(struct nfs_server *mds_srv, in nfs3_set_ds_client()
85 struct nfs_client *mds_clp = mds_srv->nfs_client; in nfs3_set_ds_client()
97 struct nfs_client *clp; in nfs3_set_ds_client()
A Dnfs4proc.c461 struct nfs_client *clp = server->nfs_client; in nfs4_do_handle_exception()
583 struct nfs_client *clp = server->nfs_client; in nfs4_handle_exception()
611 struct nfs_client *clp = server->nfs_client; in nfs4_async_handle_exception()
685 struct nfs_client *clp = server->nfs_client; in renew_lease()
1136 struct nfs_client *clp = server->nfs_client; in nfs4_do_call_sync()
1797 struct nfs_client *clp = server->nfs_client; in update_open_stateid()
6578 struct nfs_client *clp = server->nfs_client; in _nfs4_proc_getlk()
7302 struct nfs_client *clp = server->nfs_client; in nfs4_retry_setlk()
7942 struct nfs_client *clp = server->nfs_client; in nfs4_proc_get_locations()
8068 struct nfs_client *clp = server->nfs_client; in nfs4_proc_fsid_present()
[all …]
A Dpnfs.h62 struct nfs_client *ds_clp;
268 void pnfs_destroy_all_layouts(struct nfs_client *);
269 int pnfs_destroy_layouts_byfsid(struct nfs_client *clp,
272 int pnfs_destroy_layouts_byclid(struct nfs_client *clp,
332 void nfs4_deviceid_mark_client_invalid(struct nfs_client *clp);
338 void pnfs_layout_return_unused_byclid(struct nfs_client *clp,
353 const struct nfs_client *nfs_client; member
365 void nfs4_delete_deviceid(const struct pnfs_layoutdriver_type *, const struct nfs_client *, const s…
372 void nfs4_deviceid_purge_client(const struct nfs_client *);
702 static inline void pnfs_destroy_all_layouts(struct nfs_client *clp) in pnfs_destroy_all_layouts()
A Dcallback_proc.c127 static struct inode *nfs_layout_find_inode_by_stateid(struct nfs_client *clp, in nfs_layout_find_inode_by_stateid()
163 static struct inode *nfs_layout_find_inode_by_fh(struct nfs_client *clp, in nfs_layout_find_inode_by_fh()
194 static struct inode *nfs_layout_find_inode(struct nfs_client *clp, in nfs_layout_find_inode()
244 static u32 initiate_file_draining(struct nfs_client *clp, in initiate_file_draining()
313 static u32 initiate_bulk_draining(struct nfs_client *clp, in initiate_bulk_draining()
327 static u32 do_callback_layoutrecall(struct nfs_client *clp, in do_callback_layoutrecall()
346 static void pnfs_recall_all_layouts(struct nfs_client *clp) in pnfs_recall_all_layouts()
363 struct nfs_client *clp = cps->clp; in nfs4_callback_devicenotify()
453 static int referring_call_exists(struct nfs_client *clp, in referring_call_exists()
503 struct nfs_client *clp; in nfs4_callback_sequence()
A Dsysfs.c176 netns->nfs_client = clp; in nfs_netns_sysfs_setup()
183 struct nfs_netns_client *clp = netns->nfs_client; in nfs_netns_sysfs_destroy()
189 netns->nfs_client = NULL; in nfs_netns_sysfs_destroy()
A Dnfs42proc.c27 struct nfs_client *clp = (NFS_SERVER(file_inode(filep)))->nfs_client; in nfs42_set_netaddr()
189 spin_lock(&dst_server->nfs_client->cl_lock); in handle_async_copy()
191 &dst_server->nfs_client->pending_cb_stateids, in handle_async_copy()
201 spin_unlock(&dst_server->nfs_client->cl_lock); in handle_async_copy()
213 spin_unlock(&dst_server->nfs_client->cl_lock); in handle_async_copy()
216 spin_lock(&src_server->nfs_client->cl_lock); in handle_async_copy()
218 spin_unlock(&src_server->nfs_client->cl_lock); in handle_async_copy()
222 spin_lock(&dst_server->nfs_client->cl_lock); in handle_async_copy()
224 spin_unlock(&dst_server->nfs_client->cl_lock); in handle_async_copy()
226 spin_lock(&src_server->nfs_client->cl_lock); in handle_async_copy()
[all …]
A Dnfs4idmap.c455 nfs_idmap_new(struct nfs_client *clp) in nfs_idmap_new()
496 nfs_idmap_delete(struct nfs_client *clp) in nfs_idmap_delete()
745 struct idmap *idmap = server->nfs_client->cl_idmap; in nfs_map_name_to_uid()
762 struct idmap *idmap = server->nfs_client->cl_idmap; in nfs_map_group_to_gid()
779 struct idmap *idmap = server->nfs_client->cl_idmap; in nfs_map_uid_to_name()
793 struct idmap *idmap = server->nfs_client->cl_idmap; in nfs_map_gid_to_group()
/linux/include/linux/
A Dnfs_fs_sb.h28 struct nfs_client { struct
136 struct nfs_client * nfs_client; /* shared client and NFS4 state */ argument
A Dnfs_xdr.h345 struct nfs_client *clp;
1163 struct nfs_client *sc_clnt;
1312 struct nfs_client *client;
1337 struct nfs_client *client;
1361 struct nfs_client *client;
1627 struct nfs_client *ds_clp; /* pNFS data server */
1667 struct nfs_client *ds_clp; /* pNFS data server */
1709 struct nfs_client;
1791 struct nfs_client *(*alloc_client) (const struct nfs_client_initdata *);
1792 struct nfs_client *(*init_client) (struct nfs_client *,
[all …]
/linux/Documentation/filesystems/nfs/
A Dpnfs.rst25 struct nfs_client (cl_layouts). Being put on this list does not bump
32 lsegs reference device ids, which are resolved per nfs_client and
41 deviceid's per filesystem, and multiple filesystems per nfs_client.

Completed in 84 milliseconds

123