Lines Matching refs:hostname
719 kfree(ctx->mount_server.hostname);
720 ctx->mount_server.hostname = param->string;
793 * Split fc->source into "hostname:export_path".
795 * The leftmost colon demarks the split between the server's hostname
796 * and the export path. If the hostname starts with a left square
799 * Note: caller frees hostname and export path, even on error.
830 /* kill possible hostname list: not supported */
839 kfree(ctx->nfs_server.hostname);
841 /* N.B. caller will free nfs_server.hostname in all cases */
842 ctx->nfs_server.hostname = kmemdup_nul(dev_name, len, GFP_KERNEL);
843 if (!ctx->nfs_server.hostname)
861 nfs_errorf(fc, "NFS: server hostname too long");
974 /* N.B. caller will free nfs_server.hostname in all cases */
975 ctx->nfs_server.hostname = kstrdup(data->hostname, GFP_KERNEL);
976 if (!ctx->nfs_server.hostname)
1080 struct compat_nfs_string hostname;
1099 compat_nfs_string(&data->hostname, &compat->hostname);
1163 c = strndup_user(data->hostname.data, NFS4_MAXNAMLEN);
1166 ctx->nfs_server.hostname = c;
1387 ctx->mount_server.hostname = NULL;
1389 ctx->nfs_server.hostname = NULL;
1406 kfree(ctx->mount_server.hostname);
1408 kfree(ctx->nfs_server.hostname);