kstrndup           32 arch/powerpc/platforms/pseries/of_helpers.c 		parent_path = kstrndup(path, tail - path, GFP_KERNEL);
kstrndup          490 crypto/asymmetric_keys/asymmetric_type.c 	parse_buf = kstrndup(restriction, PAGE_SIZE, GFP_KERNEL);
kstrndup          107 drivers/amba/bus.c 	driver_override = kstrndup(buf, count, GFP_KERNEL);
kstrndup          980 drivers/base/platform.c 	driver_override = kstrndup(buf, count, GFP_KERNEL);
kstrndup          359 drivers/block/null_blk_main.c 	orig = kstrndup(page, count, GFP_KERNEL);
kstrndup         1121 drivers/block/rbd.c 		object_prefix = kstrndup(ondisk->object_prefix,
kstrndup          660 drivers/cdrom/gdrom.c 	model_name = kstrndup(id->modname, 16, GFP_KERNEL);
kstrndup          663 drivers/cdrom/gdrom.c 	manuf_name = kstrndup(id->mname, 16, GFP_KERNEL);
kstrndup          666 drivers/cdrom/gdrom.c 	firmw_ver = kstrndup(id->firmver, 16, GFP_KERNEL);
kstrndup          981 drivers/clk/sunxi/clk-sunxi.c 			derived_name = kstrndup(clk_name, endp - clk_name,
kstrndup          114 drivers/firmware/google/vpd.c 	info->key = kstrndup(key, key_len, GFP_KERNEL);
kstrndup           84 drivers/gpu/drm/nouveau/nvkm/core/option.c 	if (optstr && (s = kstrndup(optstr, arglen, GFP_KERNEL))) {
kstrndup          187 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c 	source = optarg ? kstrndup(optarg, optlen, GFP_KERNEL) : NULL;
kstrndup          581 drivers/hv/vmbus_drv.c 	driver_override = kstrndup(buf, count, GFP_KERNEL);
kstrndup         1856 drivers/hwtracing/intel_th/msu.c 	mode = kstrndup(buf, len, GFP_KERNEL);
kstrndup         1972 drivers/hwtracing/intel_th/msu.c 		s = kstrndup(p, end ? end - p : len, GFP_KERNEL);
kstrndup          466 drivers/input/misc/uinput.c 	dev->name = kstrndup(setup.name, UINPUT_MAX_NAME_SIZE, GFP_KERNEL);
kstrndup          541 drivers/input/misc/uinput.c 	dev->name = kstrndup(user_dev->name, UINPUT_MAX_NAME_SIZE,
kstrndup          524 drivers/input/mouse/psmouse-base.c 	fw_id_copy = kstrndup(&serio->firmware_id[5],
kstrndup         2395 drivers/md/bcache/super.c 	path = kstrndup(buffer, size, GFP_KERNEL);
kstrndup          143 drivers/md/dm-init.c 	dev->target_args_array[n] = kstrndup(field[3], DM_MAX_STR_SIZE,
kstrndup          278 drivers/md/dm-init.c 	str = kstrndup(create, DM_MAX_STR_SIZE, GFP_KERNEL);
kstrndup          617 drivers/md/dm-log-writes.c 	block->data = kstrndup(data, maxsize - 1, GFP_KERNEL);
kstrndup          142 drivers/mtd/maps/pmcmsp-flash.c 		msp_maps[i].name = kstrndup(flash_name, 7, GFP_KERNEL);
kstrndup           61 drivers/mtd/sm_ftl.c 	vendor = kstrndup(ftl->cis_buffer + SM_CIS_VENDOR_OFFSET,
kstrndup          153 drivers/net/bonding/bond_sysfs.c 	buffer_clone = kstrndup(buffer, count, GFP_KERNEL);
kstrndup         3578 drivers/net/wireless/mac80211_hwsim.c 		hwname = kstrndup((char *)nla_data(info->attrs[HWSIM_ATTR_RADIO_NAME]),
kstrndup         3600 drivers/net/wireless/mac80211_hwsim.c 		hwname = kstrndup((char *)nla_data(info->attrs[HWSIM_ATTR_RADIO_NAME]),
kstrndup          147 drivers/nvdimm/claim.c 	name = kstrndup(buf, len, GFP_KERNEL);
kstrndup          269 drivers/nvdimm/namespace_devs.c 	input = kstrndup(buf, len, GFP_KERNEL);
kstrndup          330 drivers/nvme/target/configfs.c 	ns->device_path = kstrndup(page, len, GFP_KERNEL);
kstrndup         1417 drivers/nvme/target/core.c 	subsys->subsysnqn = kstrndup(subsysnqn, NVMF_NQN_SIZE,
kstrndup          265 drivers/pci/endpoint/pci-epf-core.c 	epf->name = kstrndup(name, len, GFP_KERNEL);
kstrndup          564 drivers/pci/pci-sysfs.c 	driver_override = kstrndup(buf, count, GFP_KERNEL);
kstrndup         6308 drivers/pci/pci.c 	char *param = kstrndup(buf, count, GFP_KERNEL);
kstrndup           49 drivers/remoteproc/remoteproc_sysfs.c 	p = kstrndup(buf, len, GFP_KERNEL);
kstrndup          337 drivers/rpmsg/rpmsg_core.c 	new = kstrndup(buf, sz, GFP_KERNEL);				\
kstrndup          343 drivers/s390/cio/css.c 	driver_override = kstrndup(buf, count, GFP_KERNEL);
kstrndup          240 drivers/soc/ti/knav_qmss_queue.c 		inst->name = kstrndup(name, KNAV_NAME_SIZE - 1, GFP_KERNEL);
kstrndup          808 drivers/soc/ti/knav_qmss_queue.c 	pool->name = kstrndup(name, KNAV_NAME_SIZE - 1, GFP_KERNEL);
kstrndup         1703 drivers/soc/ti/knav_qmss_queue.c 	inst->irq_name = kstrndup(irq_name, sizeof(irq_name), GFP_KERNEL);
kstrndup           86 drivers/spi/spi.c 	driver_override = kstrndup(buf, len, GFP_KERNEL);
kstrndup          966 drivers/staging/greybus/light.c 	channel->color_name = kstrndup(conf.color_name, NAMES_MAX, GFP_KERNEL);
kstrndup          969 drivers/staging/greybus/light.c 	channel->mode_name = kstrndup(conf.mode_name, NAMES_MAX, GFP_KERNEL);
kstrndup         1028 drivers/staging/greybus/light.c 	light->name = kstrndup(conf.name, NAMES_MAX, GFP_KERNEL);
kstrndup          489 drivers/staging/greybus/power_supply.c 	gbpsy->manufacturer = kstrndup(resp.manufacturer, PROP_MAX, GFP_KERNEL);
kstrndup          492 drivers/staging/greybus/power_supply.c 	gbpsy->model_name = kstrndup(resp.model, PROP_MAX, GFP_KERNEL);
kstrndup          495 drivers/staging/greybus/power_supply.c 	gbpsy->serial_number = kstrndup(resp.serial_number, PROP_MAX,
kstrndup          314 drivers/thunderbolt/eeprom.c 		sw->vendor_name = kstrndup(entry->data,
kstrndup          321 drivers/thunderbolt/eeprom.c 		sw->device_name = kstrndup(entry->data,
kstrndup         1166 drivers/usb/gadget/function/f_midi.c 	c = kstrndup(page, len, GFP_KERNEL);
kstrndup         1195 drivers/usb/gadget/function/f_printer.c 	new_pnp = kstrndup(page, len, GFP_KERNEL);
kstrndup          889 drivers/usb/gadget/function/f_uac1_legacy.c 	tmp = kstrndup(page, len, GFP_KERNEL);				\
kstrndup           61 drivers/vfio/mdev/mdev_sysfs.c 	str = kstrndup(buf, count, GFP_KERNEL);
kstrndup          485 fs/ceph/export.c 		last_name = kstrndup(rde->name, rde->name_len, GFP_KERNEL);
kstrndup          939 fs/ceph/inode.c 			sym = kstrndup(iinfo->symlink, symlen, GFP_NOFS);
kstrndup          264 fs/ceph/super.c 		fsopt->snapdir_name = kstrndup(argstr[0].from,
kstrndup          272 fs/ceph/super.c 		fsopt->mds_namespace = kstrndup(argstr[0].from,
kstrndup          292 fs/ceph/super.c 		fsopt->fscache_uniq = kstrndup(argstr[0].from,
kstrndup           80 fs/cifs/cache.c 	dst = kstrndup(delim, len, GFP_KERNEL);
kstrndup          272 fs/cifs/cifs_dfs_ref.c 	devname = kstrndup(fullpath, strlen(fullpath), GFP_KERNEL);
kstrndup          801 fs/cifs/cifsfs.c 	cifs_sb->mountdata = kstrndup(data, PAGE_SIZE, GFP_KERNEL);
kstrndup         1611 fs/cifs/connect.c 	vol->UNC = kstrndup(devname, pos - devname, GFP_KERNEL);
kstrndup         1713 fs/cifs/connect.c 	mountdata_copy = kstrndup(mountdata, PAGE_SIZE, GFP_KERNEL);
kstrndup         3160 fs/cifs/connect.c 	vol->username = kstrndup(payload, len, GFP_KERNEL);
kstrndup         3179 fs/cifs/connect.c 	vol->password = kstrndup(delim, len, GFP_KERNEL);
kstrndup         3194 fs/cifs/connect.c 		vol->domainname = kstrndup(ses->domainName,
kstrndup         4824 fs/cifs/connect.c 	origin_mountdata = kstrndup(cifs_sb->mountdata,
kstrndup         4930 fs/cifs/connect.c 	cifs_sb->origin_fullpath = kstrndup(tcon->dfs_path,
kstrndup           89 fs/cifs/dfs_cache.c 		*npath = kstrndup(path, strlen(path), GFP_KERNEL);
kstrndup          356 fs/cifs/dfs_cache.c 	t->t_name = kstrndup(name, strlen(name), GFP_KERNEL);
kstrndup          578 fs/cifs/dfs_cache.c 		th = kstrndup(s, strlen(s), GFP_KERNEL);
kstrndup          735 fs/cifs/dfs_cache.c 	ref->path_name = kstrndup(path, strlen(path), GFP_KERNEL);
kstrndup          741 fs/cifs/dfs_cache.c 	ref->node_name = kstrndup(tgt, strlen(tgt), GFP_KERNEL);
kstrndup          778 fs/cifs/dfs_cache.c 		it->it_name = kstrndup(t->t_name, strlen(t->t_name),
kstrndup         1087 fs/cifs/dfs_cache.c 		new->username = kstrndup(vol->username, strlen(vol->username),
kstrndup         1093 fs/cifs/dfs_cache.c 		new->password = kstrndup(vol->password, strlen(vol->password),
kstrndup         1100 fs/cifs/dfs_cache.c 		new->UNC = kstrndup(vol->UNC, strlen(vol->UNC), GFP_KERNEL);
kstrndup         1105 fs/cifs/dfs_cache.c 		new->domainname = kstrndup(vol->domainname,
kstrndup         1111 fs/cifs/dfs_cache.c 		new->iocharset = kstrndup(vol->iocharset,
kstrndup         1118 fs/cifs/dfs_cache.c 		new->prepath = kstrndup(vol->prepath, strlen(vol->prepath),
kstrndup         1164 fs/cifs/dfs_cache.c 	vi->vi_fullpath = kstrndup(fullpath, strlen(fullpath), GFP_KERNEL);
kstrndup         1305 fs/cifs/dfs_cache.c 	npath = kstrndup(path, s - path, GFP_KERNEL);
kstrndup          114 fs/cifs/link.c 		*_link_str = kstrndup(link_str, link_len, GFP_KERNEL);
kstrndup          929 fs/cifs/smb1ops.c 		*symlinkinfo = kstrndup(referral.node_name,
kstrndup         3863 fs/ext4/super.c 		char *s_mount_opts = kstrndup(sbi->s_es->s_mount_opts,
kstrndup           96 fs/nfs/dns_resolve.c 	new->hostname = kstrndup(key->hostname, key->namelen, GFP_KERNEL);
kstrndup          456 fs/nfs/nfs4namespace.c 		hostname = kstrndup(buf->data, buf->len, GFP_KERNEL);
kstrndup         1960 fs/nfs/super.c 	*hostname = kstrndup(dev_name, len, GFP_KERNEL);
kstrndup         1966 fs/nfs/super.c 	*export_path = kstrndup(end, len, GFP_KERNEL);
kstrndup          910 fs/overlayfs/dir.c 		ret = kstrndup(dentry->d_name.name, dentry->d_name.len,
kstrndup          173 fs/xfs/xfs_super.c 	mp->m_fsname = kstrndup(sb->s_id, MAXNAMELEN, GFP_KERNEL);
kstrndup          184 include/linux/string.h extern char *kstrndup(const char *s, size_t len, gfp_t gfp);
kstrndup         1066 kernel/power/hibernate.c 	name = kstrndup(buf, len, GFP_KERNEL);
kstrndup          185 kernel/power/wakelock.c 	wl->name = kstrndup(name, len, GFP_KERNEL);
kstrndup         1913 kernel/trace/trace_events_filter.c 	str = kstrndup(buf, len, GFP_KERNEL);
kstrndup          348 kernel/trace/trace_probe.c 	*pbuf = kstrndup(str, len - 1, GFP_KERNEL);
kstrndup           67 lib/argv_split.c 	argv_str = kstrndup(str, KMALLOC_MAX_SIZE - 1, gfp);
kstrndup          167 lib/test_firmware.c 	*dst = kstrndup(name, count, gfp);
kstrndup          484 lib/test_firmware.c 	name = kstrndup(buf, count, GFP_KERNEL);
kstrndup          525 lib/test_firmware.c 	name = kstrndup(buf, count, GFP_KERNEL);
kstrndup          568 lib/test_firmware.c 	name = kstrndup(buf, count, GFP_KERNEL);
kstrndup          606 lib/test_kmod.c 	*dst = kstrndup(name, count, gfp);
kstrndup          112 mm/util.c      EXPORT_SYMBOL(kstrndup);
kstrndup          373 mm/vmpressure.c 	spec_orig = spec = kstrndup(args, MAX_VMPRESSURE_ARGS_LEN, GFP_KERNEL);
kstrndup          322 net/bridge/br_sysfs_if.c 		buf_copy = kstrndup(buf, count, GFP_KERNEL);
kstrndup          447 net/ceph/ceph_common.c 			opt->name = kstrndup(argstr[0].from,
kstrndup          908 net/ceph/osdmap.c 			char *name = kstrndup(*p, len, GFP_NOFS);
kstrndup          178 net/sunrpc/addr.c 	p = kstrndup(delim + 1, len, GFP_KERNEL);
kstrndup          226 net/sunrpc/auth_gss/gss_rpc_upcall.c 	return kstrndup(netobj->data, netobj->len, GFP_KERNEL);
kstrndup          357 net/wimax/op-msg.c 		pipe_name = kstrndup(nla_data(attr), attr_len + 1, GFP_KERNEL);
kstrndup          696 security/apparmor/policy_unpack.c 		*ns_name = kstrndup(tmpns, ns_len, GFP_KERNEL);
kstrndup          156 sound/pci/hda/hda_sysfs.c 	char *s = kstrndup(src, len, GFP_KERNEL);