Lines Matching refs:nfs_server
160 __func__, path, ctx->nfs_server.export_path); in nfs4_validate_fspath()
199 struct nfs_server *server, in nfs_find_best_sec()
301 kfree(ctx->nfs_server.hostname); in try_location()
302 ctx->nfs_server.hostname = kmalloc(len + 1, GFP_KERNEL); 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()
314 source = kmalloc(len + 1 + ctx->nfs_server.export_path_len + 1, in try_location()
327 ctx->nfs_server.addrlen = in try_location()
329 &ctx->nfs_server.address, in try_location()
330 sizeof(ctx->nfs_server._address), in try_location()
332 if (ctx->nfs_server.addrlen == 0) in try_location()
335 rpc_set_port(&ctx->nfs_server.address, NFS_PORT); in try_location()
337 memcpy(ctx->nfs_server.hostname, buf->data, buf->len); in try_location()
338 ctx->nfs_server.hostname[buf->len] = '\0'; in try_location()
344 memcpy(p, ctx->nfs_server.export_path, ctx->nfs_server.export_path_len); in try_location()
345 p += ctx->nfs_server.export_path_len; in try_location()
440 int nfs4_submount(struct fs_context *fc, struct nfs_server *server) in nfs4_submount()
472 static int nfs4_try_replacing_one_location(struct nfs_server *server, in nfs4_try_replacing_one_location()
531 int nfs4_replace_transport(struct nfs_server *server, in nfs4_replace_transport()