Searched refs:nfs_client (Results 1 - 25 of 29) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dnfs_idmap.h66 struct nfs_client;
68 int nfs_idmap_new(struct nfs_client *);
69 void nfs_idmap_delete(struct nfs_client *);
71 int nfs_map_name_to_uid(struct nfs_client *, const char *, size_t, __u32 *);
72 int nfs_map_group_to_gid(struct nfs_client *, const char *, size_t, __u32 *);
73 int nfs_map_uid_to_name(struct nfs_client *, __u32, char *);
74 int nfs_map_gid_to_group(struct nfs_client *, __u32, char *);
H A Dnfs_fs_sb.h21 * The nfs_client identifies our client state to the server.
23 struct nfs_client { struct
96 struct nfs_client * nfs_client; /* shared client and NFS4 state */ member in struct:nfs_server
218 struct nfs_client *clp;
H A Dnfs_xdr.h922 struct nfs_client *client;
941 struct nfs_client *client;
946 struct nfs_client *client;
954 struct nfs_client *client;
H A Dnfs_fs.h248 return NFS_SERVER(inode)->nfs_client->rpc_ops;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/nfs/
H A Dnfs4_fs.h216 int (*establish_clid)(struct nfs_client *, struct rpc_cred *);
217 struct rpc_cred * (*get_clid_cred)(struct nfs_client *);
218 int (*reclaim_complete)(struct nfs_client *);
222 int (*sched_state_renewal)(struct nfs_client *, struct rpc_cred *);
223 struct rpc_cred * (*get_state_renewal_cred_locked)(struct nfs_client *);
224 int (*renew_lease)(struct nfs_client *, struct rpc_cred *);
237 extern int nfs4_proc_setclientid(struct nfs_client *, u32, unsigned short, struct rpc_cred *, struct nfs4_setclientid_res *);
238 extern int nfs4_proc_setclientid_confirm(struct nfs_client *, struct nfs4_setclientid_res *arg, struct rpc_cred *);
239 extern int nfs4_proc_exchange_id(struct nfs_client *clp, struct rpc_cred *cred);
240 extern int nfs4_proc_async_renew(struct nfs_client *, struc
[all...]
H A Ddelegation.h40 struct inode *nfs_delegation_find_inode(struct nfs_client *clp, const struct nfs_fh *fhandle);
42 void nfs_expire_all_delegations(struct nfs_client *clp);
43 void nfs_expire_all_delegation_types(struct nfs_client *clp, fmode_t flags);
44 void nfs_expire_unreferenced_delegations(struct nfs_client *clp);
45 void nfs_handle_cb_pathdown(struct nfs_client *clp);
46 int nfs_client_return_marked_delegations(struct nfs_client *clp);
48 void nfs_delegation_mark_reclaim(struct nfs_client *clp);
49 void nfs_delegation_reap_unclaimed(struct nfs_client *clp);
H A Dnfs4renewd.c58 struct nfs_client *clp =
59 container_of(work, struct nfs_client, cl_renewd.work);
102 nfs4_schedule_state_renewal(struct nfs_client *clp)
120 nfs4_kill_renewd(struct nfs_client *clp)
H A Dnfs4state.c63 int nfs4_init_clientid(struct nfs_client *clp, struct rpc_cred *cred)
85 struct rpc_cred *nfs4_get_machine_cred_locked(struct nfs_client *clp)
94 static void nfs4_clear_machine_cred(struct nfs_client *clp)
106 struct rpc_cred *nfs4_get_renew_cred_locked(struct nfs_client *clp)
124 static int nfs41_setup_state_renewal(struct nfs_client *clp)
143 static void nfs4_end_drain_session(struct nfs_client *clp)
166 static int nfs4_begin_drain_session(struct nfs_client *clp)
182 int nfs41_init_clientid(struct nfs_client *clp, struct rpc_cred *cred)
199 struct rpc_cred *nfs4_get_exchange_id_cred(struct nfs_client *clp)
211 struct rpc_cred *nfs4_get_setclientid_cred(struct nfs_client *cl
[all...]
H A Ddelegation.c183 struct nfs_client *clp)
212 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client;
299 int nfs_client_return_marked_delegations(struct nfs_client *clp)
339 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client;
354 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client;
371 static void nfs_mark_return_delegation(struct nfs_client *clp, struct nfs_delegation *delegation)
382 struct nfs_client *cl
[all...]
H A Dfscache.h27 struct nfs_client *nfs_client; /* the server */ member in struct:nfs_fscache_key
73 extern void nfs_fscache_get_client_cookie(struct nfs_client *);
74 extern void nfs_fscache_release_client_cookie(struct nfs_client *);
172 static inline void nfs_fscache_get_client_cookie(struct nfs_client *clp) {}
173 static inline void nfs_fscache_release_client_cookie(struct nfs_client *clp) {}
H A Dinternal.h18 static inline int nfs4_has_session(const struct nfs_client *clp)
27 static inline int nfs4_has_persistent_session(const struct nfs_client *clp)
119 extern void nfs_put_client(struct nfs_client *);
120 extern struct nfs_client *nfs_find_client(const struct sockaddr *, u32);
121 extern struct nfs_client *nfs_find_client_next(struct nfs_client *);
134 extern void nfs_mark_client_ready(struct nfs_client *clp, int state);
135 extern int nfs4_check_client_ready(struct nfs_client *clp);
367 static inline int nfs_restart_rpc(struct rpc_task *task, const struct nfs_client *clp)
H A Dclient.c116 static struct nfs_client *nfs_alloc_client(const struct nfs_client_initdata *cl_init)
118 struct nfs_client *clp;
171 * Clears/puts all minor version specific parts from an nfs_client struct
174 static void nfs4_clear_client_minor_version(struct nfs_client *clp)
189 static void nfs4_destroy_callback(struct nfs_client *clp)
195 static void nfs4_shutdown_client(struct nfs_client *clp)
207 static void nfs4_shutdown_client(struct nfs_client *clp)
215 static void nfs_free_client(struct nfs_client *clp)
239 void nfs_put_client(struct nfs_client *clp)
366 struct nfs_client *nfs_find_clien
[all...]
H A Dcallback_proc.c22 struct nfs_client *clp;
67 struct nfs_client *clp;
80 struct nfs_client *prev = clp;
188 * Returns a pointer to a held 'struct nfs_client' that matches the server's
195 static struct nfs_client *find_client_with_session(
199 struct nfs_client *clp;
206 struct nfs_client *prev = clp;
228 static bool referring_call_exists(struct nfs_client *clp,
277 struct nfs_client *clp;
325 struct nfs_client *cl
[all...]
H A Dfscache.c37 void nfs_fscache_get_client_cookie(struct nfs_client *clp)
50 void nfs_fscache_release_client_cookie(struct nfs_client *clp)
86 key->nfs_client = nfss->nfs_client;
108 if (key->nfs_client < xkey->nfs_client)
110 if (key->nfs_client > xkey->nfs_client)
143 nfss->fscache = fscache_acquire_cookie(nfss->nfs_client->fscache,
332 nfss->nfs_client
[all...]
H A Dgetroot.c90 error = server->nfs_client->rpc_ops->getroot(server, mntfh, &fsinfo);
123 ret->d_op = server->nfs_client->rpc_ops->dentry_ops;
143 ret = server->nfs_client->rpc_ops->getroot(server, mntfh, &fsinfo);
197 error = server->nfs_client->rpc_ops->getattr(server, mntfh, fattr);
230 ret->d_op = server->nfs_client->rpc_ops->dentry_ops;
H A Didmap.c111 nfs_idmap_new(struct nfs_client *clp)
141 nfs_idmap_delete(struct nfs_client *clp)
492 int nfs_map_name_to_uid(struct nfs_client *clp, const char *name, size_t namelen, __u32 *uid)
499 int nfs_map_group_to_gid(struct nfs_client *clp, const char *name, size_t namelen, __u32 *uid)
506 int nfs_map_uid_to_name(struct nfs_client *clp, __u32 uid, char *buf)
512 int nfs_map_gid_to_group(struct nfs_client *clp, __u32 uid, char *buf)
H A Dfscache-index.c71 const struct nfs_client *clp = cookie_netfs_data;
214 if (NFS_SERVER(&nfsi->vfs_inode)->nfs_client->rpc_ops->version == 4)
246 if (NFS_SERVER(&nfsi->vfs_inode)->nfs_client->rpc_ops->version == 4)
H A Dnfs4proc.c209 static int nfs4_wait_clnt_recover(struct nfs_client *clp)
242 struct nfs_client *clp = server->nfs_client;
303 static void do_renew_lease(struct nfs_client *clp, unsigned long timestamp)
313 do_renew_lease(server->nfs_client, timestamp);
398 struct nfs_client *clp;
691 (server)->nfs_client->cl_mvops->call_sync((server), (msg), &(args)->seq_args, \
762 p->o_arg.clientid = server->nfs_client->cl_clientid;
1245 server->nfs_client);
1251 nfs4_schedule_state_recovery(server->nfs_client);
[all...]
H A Dsuper.c433 error = server->nfs_client->rpc_ops->statfs(server, fh, &res);
588 struct nfs_client *clp = nfss->nfs_client;
623 struct nfs_client *clp = nfss->nfs_client;
685 rpc_peeraddr2str(nfss->nfs_client->cl_rpcclient,
723 if (nfss->nfs_client->rpc_ops->version == 4) {
1954 data->nfs_server.addrlen != nfss->nfs_client->cl_addrlen ||
1956 (struct sockaddr *)&nfss->nfs_client->cl_addr))
1970 u32 nfsvers = nfss->nfs_client
[all...]
H A Dnamespace.c130 err = server->nfs_client->rpc_ops->lookup(parent->d_inode,
210 switch (server->nfs_client->rpc_ops->version) {
H A Dcallback.c326 static int check_gss_callback_principal(struct nfs_client *clp,
351 struct nfs_client *clp;
H A Dnfs3proc.c90 if (status && server->nfs_client->cl_rpcclient != server->client)
91 status = do_proc_get_root(server->nfs_client->cl_rpcclient, fhandle, info);
758 if (status && server->nfs_client->cl_rpcclient != server->client)
759 status = do_proc_fsinfo(server->nfs_client->cl_rpcclient, fhandle, info);
H A Dproc.c101 if (status && server->nfs_client->cl_rpcclient != server->client)
102 status = rpc_call_sync(server->nfs_client->cl_rpcclient, &msg, 0);
111 if (status && server->nfs_client->cl_rpcclient != server->client)
112 status = rpc_call_sync(server->nfs_client->cl_rpcclient, &msg, 0);
H A Dunlink.c87 nfs_restart_rpc(task, NFS_SERVER(dir)->nfs_client);
H A Dnfs4xdr.c819 owner_namelen = nfs_map_uid_to_name(server->nfs_client, iap->ia_uid, owner_name);
830 owner_grouplen = nfs_map_gid_to_group(server->nfs_client, iap->ia_gid, owner_group);
1194 struct nfs_client *clp;
1203 clp = arg->server->nfs_client;
1451 static void encode_renew(struct xdr_stream *xdr, const struct nfs_client *client_stateid, struct compound_hdr *hdr)
1608 struct nfs_client *clp = args->client;
2336 static int nfs4_xdr_enc_renew(struct rpc_rqst *req, __be32 *p, struct nfs_client *clp)
2622 static int decode_ace(struct xdr_stream *xdr, void *ace, struct nfs_client *clp)
3273 struct nfs_client *clp, uint32_t *uid, int may_sleep)
3311 struct nfs_client *cl
[all...]

Completed in 179 milliseconds

12