Lines Matching refs:hostname
296 * terminating char and also a buffer big enough to hold the hostname
306 kfree(ctx->nfs_server.hostname);
307 ctx->nfs_server.hostname = kmalloc(len + 1, GFP_KERNEL);
308 if (!ctx->nfs_server.hostname)
342 memcpy(ctx->nfs_server.hostname, buf->data, buf->len);
343 ctx->nfs_server.hostname[buf->len] = '\0';
495 char *hostname;
510 hostname = kmemdup_nul(buf->data, buf->len, GFP_KERNEL);
511 if (hostname == NULL)
514 error = nfs4_update_server(server, hostname, sap, salen, net);
515 kfree(hostname);