Lines Matching refs:hostname
839 kfree(ctx->mount_server.hostname);
840 ctx->mount_server.hostname = param->string;
943 * Split fc->source into "hostname:export_path".
945 * The leftmost colon demarks the split between the server's hostname
946 * and the export path. If the hostname starts with a left square
949 * Note: caller frees hostname and export path, even on error.
978 /* kill possible hostname list: not supported */
987 kfree(ctx->nfs_server.hostname);
989 /* N.B. caller will free nfs_server.hostname in all cases */
990 ctx->nfs_server.hostname = kmemdup_nul(dev_name, len, GFP_KERNEL);
991 if (!ctx->nfs_server.hostname)
1009 nfs_errorf(fc, "NFS: server hostname too long");
1123 /* N.B. caller will free nfs_server.hostname in all cases */
1124 ctx->nfs_server.hostname = kstrdup(data->hostname, GFP_KERNEL);
1125 if (!ctx->nfs_server.hostname)
1232 struct compat_nfs_string hostname;
1251 compat_nfs_string(&data->hostname, &compat->hostname);
1316 c = strndup_user(data->hostname.data, NFS4_MAXNAMLEN);
1319 ctx->nfs_server.hostname = c;
1532 ctx->mount_server.hostname = NULL;
1534 ctx->nfs_server.hostname = NULL;
1551 kfree(ctx->mount_server.hostname);
1553 kfree(ctx->nfs_server.hostname);