Lines Matching refs:nfs_server
160 __func__, path, ctx->nfs_server.export_path); in nfs4_validate_fspath()
204 struct nfs_server *server, in nfs_find_best_sec()
306 kfree(ctx->nfs_server.hostname); in try_location()
307 ctx->nfs_server.hostname = kmalloc(len + 1, GFP_KERNEL); in try_location()
308 if (!ctx->nfs_server.hostname) in try_location()
312 &ctx->nfs_server.export_path_len); in try_location()
316 kfree(ctx->nfs_server.export_path); in try_location()
317 ctx->nfs_server.export_path = export_path; in try_location()
319 source = kmalloc(len + 1 + ctx->nfs_server.export_path_len + 1, in try_location()
332 ctx->nfs_server.addrlen = in try_location()
334 &ctx->nfs_server.address, in try_location()
335 sizeof(ctx->nfs_server._address), in try_location()
337 if (ctx->nfs_server.addrlen == 0) in try_location()
340 rpc_set_port(&ctx->nfs_server.address, NFS_PORT); in try_location()
342 memcpy(ctx->nfs_server.hostname, buf->data, buf->len); in try_location()
343 ctx->nfs_server.hostname[buf->len] = '\0'; in try_location()
349 memcpy(p, ctx->nfs_server.export_path, ctx->nfs_server.export_path_len); in try_location()
350 p += ctx->nfs_server.export_path_len; in try_location()
445 int nfs4_submount(struct fs_context *fc, struct nfs_server *server) in nfs4_submount()
477 static int nfs4_try_replacing_one_location(struct nfs_server *server, in nfs4_try_replacing_one_location()
536 int nfs4_replace_transport(struct nfs_server *server, in nfs4_replace_transport()