/linux-6.1.9/drivers/md/ |
D | dm-init.c | 143 dev->target_args_array[n] = kstrndup(field[3], DM_MAX_STR_SIZE, in dm_parse_table_entry() 278 str = kstrndup(create, DM_MAX_STR_SIZE, GFP_KERNEL); in dm_init_init()
|
/linux-6.1.9/lib/ |
D | argv_split.c | 67 argv_str = kstrndup(str, KMALLOC_MAX_SIZE - 1, gfp); in argv_split()
|
D | test_firmware.c | 207 *dst = kstrndup(name, count, gfp); in __kstrncpy() 646 name = kstrndup(buf, count, GFP_KERNEL); in trigger_request_store() 692 name = kstrndup(buf, count, GFP_KERNEL); in trigger_request_platform_store() 745 name = kstrndup(buf, count, GFP_KERNEL); in trigger_async_request_store() 788 name = kstrndup(buf, count, GFP_KERNEL); in trigger_custom_fallback_store() 1253 name = kstrndup(buf, count, GFP_KERNEL); in upload_register_store()
|
/linux-6.1.9/arch/powerpc/platforms/pseries/ |
D | of_helpers.c | 32 parent_path = kstrndup(path, tail - path, GFP_KERNEL); in pseries_of_derive_parent()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/core/ |
D | option.c | 84 if (optstr && (s = kstrndup(optstr, arglen, GFP_KERNEL))) { in nvkm_longopt()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/nvfw/ |
D | ls.c | 39 date = kstrndup(hdr->date, sizeof(hdr->date), GFP_KERNEL); in nvfw_ls_desc_head()
|
/linux-6.1.9/drivers/cdrom/ |
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-6.1.9/drivers/base/ |
D | driver.c | 87 new = kstrndup(s, len, GFP_KERNEL); in driver_set_override()
|
/linux-6.1.9/kernel/power/ |
D | wakelock.c | 182 wl->name = kstrndup(name, len, GFP_KERNEL); in wakelock_lookup_add()
|
/linux-6.1.9/drivers/thunderbolt/ |
D | eeprom.c | 333 sw->vendor_name = kstrndup(entry->data, in tb_drom_parse_entry_generic() 340 sw->device_name = kstrndup(entry->data, in tb_drom_parse_entry_generic()
|
/linux-6.1.9/drivers/staging/greybus/ |
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()
|
D | light.c | 965 channel->color_name = kstrndup(conf.color_name, NAMES_MAX, GFP_KERNEL); in gb_lights_channel_config() 968 channel->mode_name = kstrndup(conf.mode_name, NAMES_MAX, GFP_KERNEL); in gb_lights_channel_config() 1027 light->name = kstrndup(conf.name, NAMES_MAX, GFP_KERNEL); in gb_lights_light_config()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | shadow.c | 187 source = optarg ? kstrndup(optarg, optlen, GFP_KERNEL) : NULL; in nvbios_shadow()
|
/linux-6.1.9/mm/ |
D | vmpressure.c | 377 spec_orig = spec = kstrndup(args, MAX_VMPRESSURE_ARGS_LEN, GFP_KERNEL); in vmpressure_register_event()
|
D | util.c | 98 char *kstrndup(const char *s, size_t max, gfp_t gfp) in kstrndup() function 114 EXPORT_SYMBOL(kstrndup);
|
/linux-6.1.9/drivers/firmware/google/ |
D | vpd.c | 114 info->key = kstrndup(key, key_len, GFP_KERNEL); in vpd_section_attrib_add()
|
/linux-6.1.9/include/linux/ |
D | string.h | 178 extern char *kstrndup(const char *s, size_t len, gfp_t gfp);
|
/linux-6.1.9/drivers/vfio/mdev/ |
D | mdev_sysfs.c | 72 str = kstrndup(buf, count, GFP_KERNEL); in create_store()
|
/linux-6.1.9/drivers/nvdimm/ |
D | claim.c | 148 name = kstrndup(buf, len, GFP_KERNEL); in nd_namespace_store()
|
/linux-6.1.9/fs/cifs/ |
D | cifs_unicode.c | 362 dst = kstrndup(src, maxlen, GFP_KERNEL); in cifs_strndup_from_utf16()
|
/linux-6.1.9/net/bridge/ |
D | br_sysfs_if.c | 332 buf_copy = kstrndup(buf, count, GFP_KERNEL); in brport_store()
|
/linux-6.1.9/security/smack/ |
D | smack_access.c | 468 smack = kstrndup(string, i, GFP_NOFS); in smk_parse_smack()
|
/linux-6.1.9/drivers/input/misc/ |
D | uinput.c | 466 dev->name = kstrndup(setup.name, UINPUT_MAX_NAME_SIZE, GFP_KERNEL); in uinput_dev_setup() 541 dev->name = kstrndup(user_dev->name, UINPUT_MAX_NAME_SIZE, in uinput_setup_device_legacy()
|
/linux-6.1.9/drivers/pci/endpoint/ |
D | pci-epf-core.c | 452 epf->name = kstrndup(name, len, GFP_KERNEL); in pci_epf_create()
|
/linux-6.1.9/drivers/rpmsg/ |
D | rpmsg_core.c | 406 new = kstrndup(buf, sz, GFP_KERNEL); \
|