Lines Matching defs:hostname
297 * terminating char and also a buffer big enough to hold the hostname
307 kfree(ctx->nfs_server.hostname);
308 ctx->nfs_server.hostname = kmalloc(len + 1, GFP_KERNEL);
309 if (!ctx->nfs_server.hostname)
343 memcpy(ctx->nfs_server.hostname, buf->data, buf->len);
344 ctx->nfs_server.hostname[buf->len] = '\0';
500 char *hostname;
515 hostname = kmemdup_nul(buf->data, buf->len, GFP_KERNEL);
516 if (hostname == NULL)
519 error = nfs4_update_server(server, hostname, sap, salen, net);
520 kfree(hostname);