| /linux/drivers/gpu/drm/nouveau/nvkm/nvfw/ |
| H A D | ls.c | 39 date = kstrndup(hdr->date, sizeof(hdr->date), GFP_KERNEL); in nvfw_ls_desc_head() 123 date = kstrndup(hdr->date, sizeof(hdr->date), GFP_KERNEL); in nvfw_ls_desc_v2()
|
| /linux/lib/ |
| H A D | argv_split.c | 67 argv_str = kstrndup(str, KMALLOC_MAX_SIZE - 1, gfp); in argv_split()
|
| H A D | test_firmware.c | 216 *dst = kstrndup(name, count, gfp); in __kstrncpy() 673 name = kstrndup(buf, count, GFP_KERNEL); in trigger_request_store() 721 name = kstrndup(buf, count, GFP_KERNEL); in trigger_request_platform_store() 774 name = kstrndup(buf, count, GFP_KERNEL); in trigger_async_request_store() 819 name = kstrndup(buf, count, GFP_KERNEL); in trigger_custom_fallback_store() 1301 name = kstrndup(buf, count, GFP_KERNEL); in upload_register_store()
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | of_helpers.c | 32 parent_path = kstrndup(path, tail - path, GFP_KERNEL); in pseries_of_derive_parent()
|
| /linux/security/ipe/ |
| H A D | digest.c | 42 alg = kstrndup(valstr, sep - valstr, GFP_KERNEL); in ipe_digest_parse()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/core/ |
| H A D | option.c | 84 if (optstr && (s = kstrndup(optstr, arglen, GFP_KERNEL))) { in nvkm_longopt()
|
| /linux/drivers/cdrom/ |
| H A D | gdrom.c | 663 model_name = kstrndup(id->modname, 16, GFP_KERNEL); in gdrom_outputversion() 666 manuf_name = kstrndup(id->mname, 16, GFP_KERNEL); in gdrom_outputversion() 669 firmw_ver = kstrndup(id->firmver, 16, GFP_KERNEL); in gdrom_outputversion()
|
| /linux/security/smack/ |
| H A D | smack_access.c | 495 smack = kstrndup(string, i, GFP_NOFS); in smk_parse_smack() 655 char *smack = kstrndup(label, label_len, gfp); in smk_import_valid_label()
|
| /linux/drivers/thunderbolt/ |
| H A D | eeprom.c | 335 sw->vendor_name = kstrndup(entry->data, in tb_drom_parse_entry_generic() 342 sw->device_name = kstrndup(entry->data, in tb_drom_parse_entry_generic()
|
| /linux/kernel/power/ |
| H A D | wakelock.c | 185 wl->name = kstrndup(name, len, GFP_KERNEL); in wakelock_lookup_add()
|
| /linux/drivers/staging/greybus/ |
| H A D | power_supply.c | 489 gbpsy->manufacturer = kstrndup(resp.manufacturer, PROP_MAX, GFP_KERNEL); in gb_power_supply_description_get() 492 gbpsy->model_name = kstrndup(resp.model, PROP_MAX, GFP_KERNEL); in gb_power_supply_description_get() 495 gbpsy->serial_number = kstrndup(resp.serial_number, PROP_MAX, in gb_power_supply_description_get()
|
| H A D | light.c | 949 channel->color_name = kstrndup(conf.color_name, NAMES_MAX, GFP_KERNEL); in gb_lights_channel_config() 952 channel->mode_name = kstrndup(conf.mode_name, NAMES_MAX, GFP_KERNEL); in gb_lights_channel_config() 1010 light->name = kstrndup(conf.name, NAMES_MAX, GFP_KERNEL); in gb_lights_light_config()
|
| /linux/fs/smb/server/mgmt/ |
| H A D | share_config.c | 168 share->path = kstrndup(ksmbd_share_config_path(resp), path_len, in share_config_request()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
| H A D | shadow.c | 193 source = optarg ? kstrndup(optarg, optlen, GFP_KERNEL) : NULL; in nvbios_shadow()
|
| /linux/mm/ |
| H A D | vmpressure.c | 385 spec_orig = spec = kstrndup(args, MAX_VMPRESSURE_ARGS_LEN, GFP_KERNEL); in vmpressure_register_event()
|
| H A D | util.c | 118 char *kstrndup(const char *s, size_t max, gfp_t gfp) in kstrndup() function 122 EXPORT_SYMBOL(kstrndup);
|
| /linux/drivers/nvdimm/ |
| H A D | claim.c | 129 name = kstrndup(buf, len, GFP_KERNEL); in nd_namespace_store()
|
| /linux/lib/kunit/ |
| H A D | executor.c | 101 parsed->suite_glob = kstrndup(filter_glob, period - filter_glob, GFP_KERNEL); in kunit_parse_glob_filter()
|
| /linux/fs/smb/client/ |
| H A D | cifs_unicode.c | 347 dst = kstrndup(src, maxlen, GFP_KERNEL); in cifs_strndup_from_utf16()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | devlink.c | 57 str = kstrndup(vpd_data + start, kw_len, GFP_KERNEL); in mlx5_devlink_serial_numbers_put() 72 str = kstrndup(vpd_data + start, kw_len, GFP_KERNEL); in mlx5_devlink_serial_numbers_put()
|
| /linux/drivers/input/misc/ |
| H A D | uinput.c | 502 dev->name = kstrndup(setup.name, UINPUT_MAX_NAME_SIZE, GFP_KERNEL); in uinput_dev_setup() 577 dev->name = kstrndup(user_dev->name, UINPUT_MAX_NAME_SIZE, in uinput_setup_device_legacy()
|
| /linux/net/dsa/ |
| H A D | conduit.c | 364 name = kstrndup(buf, len, GFP_KERNEL); in dsa_conduit_reset_mtu()
|
| /linux/drivers/virt/coco/guest/ |
| H A D | report.c | 145 sp = kstrndup(buf, sp_len, GFP_KERNEL); in tsm_report_service_provider_store()
|
| /linux/crypto/asymmetric_keys/ |
| H A D | asymmetric_type.c | 520 parse_buf = kstrndup(restriction, PAGE_SIZE, GFP_KERNEL); in asymmetric_lookup_restriction()
|
| /linux/drivers/clk/ti/ |
| H A D | clkctrl.c | 488 name = kstrndup(output, len, GFP_KERNEL); in clkctrl_get_name()
|