Lines Matching refs:nfs_server
160 __func__, path, ctx->nfs_server.export_path); in nfs4_validate_fspath()
205 struct nfs_server *server, in nfs_find_best_sec()
307 kfree(ctx->nfs_server.hostname); in try_location()
308 ctx->nfs_server.hostname = kmalloc(len + 1, GFP_KERNEL); in try_location()
309 if (!ctx->nfs_server.hostname) in try_location()
313 &ctx->nfs_server.export_path_len); in try_location()
317 kfree(ctx->nfs_server.export_path); in try_location()
318 ctx->nfs_server.export_path = export_path; in try_location()
320 source = kmalloc(len + 1 + ctx->nfs_server.export_path_len + 1, in try_location()
333 ctx->nfs_server.addrlen = in try_location()
335 &ctx->nfs_server._address, in try_location()
336 sizeof(ctx->nfs_server._address), in try_location()
338 if (ctx->nfs_server.addrlen == 0) in try_location()
341 rpc_set_port(&ctx->nfs_server.address, NFS_PORT); in try_location()
343 memcpy(ctx->nfs_server.hostname, buf->data, buf->len); in try_location()
344 ctx->nfs_server.hostname[buf->len] = '\0'; in try_location()
350 memcpy(p, ctx->nfs_server.export_path, ctx->nfs_server.export_path_len); in try_location()
351 p += ctx->nfs_server.export_path_len; in try_location()
451 int nfs4_submount(struct fs_context *fc, struct nfs_server *server) in nfs4_submount()
483 static int nfs4_try_replacing_one_location(struct nfs_server *server, in nfs4_try_replacing_one_location()
541 int nfs4_replace_transport(struct nfs_server *server, in nfs4_replace_transport()