• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/nfs/

Lines Matching refs:nfs_client

116 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_client(const struct sockaddr *addr, u32 nfsversion)
368 struct nfs_client *clp;
379 /* Different NFS versions cannot share the same nfs_client */
399 struct nfs_client *nfs_find_client_next(struct nfs_client *clp)
412 /* Different NFS versions cannot share the same nfs_client */
429 * Find an nfs_client on the list that matches the initialisation data
432 static struct nfs_client *nfs_match_client(const struct nfs_client_initdata *data)
434 struct nfs_client *clp;
443 /* Different NFS versions cannot share the same nfs_client */
466 static struct nfs_client *nfs_get_client(const struct nfs_client_initdata *cl_init)
468 struct nfs_client *clp, *new = NULL;
531 void nfs_mark_client_ready(struct nfs_client *clp, int state)
544 int nfs4_check_client_ready(struct nfs_client *clp)
597 static int nfs_create_rpc_client(struct nfs_client *clp,
648 struct nfs_client *clp = server->nfs_client;
686 if (server->nfs_client->rpc_ops->version != 3)
717 struct nfs_client *clp = server->nfs_client;
749 static int nfs_init_client(struct nfs_client *clp,
792 struct nfs_client *clp;
815 server->nfs_client = clp;
862 server->nfs_client = NULL;
926 struct nfs_client *clp = server->nfs_client;
1033 nfs_put_client(server->nfs_client);
1067 BUG_ON(!server->nfs_client);
1068 BUG_ON(!server->nfs_client->rpc_ops);
1069 BUG_ON(!server->nfs_client->rpc_ops->file_inode_ops);
1075 if (server->nfs_client->rpc_ops->version == 3) {
1086 error = server->nfs_client->rpc_ops->getattr(server, mntfh, fattr);
1099 list_add_tail(&server->client_link, &server->nfs_client->cl_superblocks);
1117 static int nfs4_init_callback(struct nfs_client *clp)
1145 static int nfs4_init_client_minor_version(struct nfs_client *clp)
1164 * nfs_client struct
1176 static int nfs4_init_client(struct nfs_client *clp,
1241 struct nfs_client *clp;
1257 server->nfs_client = clp;
1281 if (!nfs4_has_session(server->nfs_client))
1283 sess = server->nfs_client->cl_session;
1300 BUG_ON(!server->nfs_client);
1301 BUG_ON(!server->nfs_client->rpc_ops);
1302 BUG_ON(!server->nfs_client->rpc_ops->file_inode_ops);
1333 list_add_tail(&server->client_link, &server->nfs_client->cl_superblocks);
1436 struct nfs_client *parent_client;
1447 parent_client = parent_server->nfs_client;
1510 server->nfs_client = source->nfs_client;
1511 atomic_inc(&server->nfs_client->cl_count);
1541 list_add_tail(&server->client_link, &server->nfs_client->cl_superblocks);
1653 struct nfs_client *clp;
1662 clp = list_entry(v, struct nfs_client, cl_share_link);
1724 struct nfs_client *clp;
1734 clp = server->nfs_client;