Home
last modified time | relevance | path

Searched refs:kstrdup_const (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v5.4/lib/
Dkasprintf.c46 return kstrdup_const(fmt, gfp); in kvasprintf_const()
48 return kstrdup_const(va_arg(ap, const char*), gfp); in kvasprintf_const()
Dgenalloc.c832 pool_name = kstrdup_const(name, GFP_KERNEL); in devm_gen_pool_create()
Dkobject.c520 name = dup_name = kstrdup_const(new_name, GFP_KERNEL); in kobject_rename()
/Linux-v5.4/tools/power/pm-graph/config/
Dcgskip.txt40 kstrdup_const
/Linux-v5.4/drivers/soc/renesas/
Drenesas-soc.c358 soc_dev_attr->family = kstrdup_const(family->name, GFP_KERNEL); in renesas_soc_init()
359 soc_dev_attr->soc_id = kstrdup_const(strchr(match->compatible, ',') + 1, in renesas_soc_init()
/Linux-v5.4/drivers/soc/amlogic/
Dmeson-mx-socinfo.c98 return kstrdup_const(soc_id, GFP_KERNEL); in meson_mx_socinfo_soc_id()
/Linux-v5.4/drivers/soc/samsung/
Dpm_domains.c101 return kstrdup_const(name, GFP_KERNEL); in exynos_get_domain_name()
/Linux-v5.4/drivers/power/reset/
Dreboot-mode.c89 info->mode = kstrdup_const(prop->name + len, GFP_KERNEL); in reboot_mode_register()
/Linux-v5.4/drivers/base/firmware_loader/
Dmain.c178 fw_priv->fw_name = kstrdup_const(fw_name, GFP_ATOMIC); in __allocate_fw_priv()
612 fwn->name = kstrdup_const(name, GFP_KERNEL); in fw_add_devm_name()
1019 fw_work->name = kstrdup_const(name, gfp); in request_firmware_nowait()
1132 fce->name = kstrdup_const(name, GFP_ATOMIC); in alloc_fw_cache_entry()
/Linux-v5.4/mm/
Dutil.c77 const char *kstrdup_const(const char *s, gfp_t gfp) in kstrdup_const() function
84 EXPORT_SYMBOL(kstrdup_const);
Dslab_common.c499 cache_name = kstrdup_const(name, GFP_KERNEL); in kmem_cache_create_usercopy()
/Linux-v5.4/drivers/clk/x86/
Dclk-pmc-atom.c298 parent_names[i] = kstrdup_const(clks[i].name, GFP_KERNEL); in plt_clk_register_parents()
/Linux-v5.4/include/linux/
Dstring.h183 extern const char *kstrdup_const(const char *s, gfp_t gfp);
/Linux-v5.4/fs/kernfs/
Ddir.c628 name = kstrdup_const(name, GFP_KERNEL); in __kernfs_new_node()
1560 new_name = kstrdup_const(new_name, GFP_KERNEL); in kernfs_rename_ns()
/Linux-v5.4/Documentation/core-api/
Dkernel-api.rst49 :functions: kstrdup kstrdup_const kstrndup kmemdup kmemdup_nul memdup_user
/Linux-v5.4/drivers/base/power/
Dwakeup.c91 ws_name = kstrdup_const(name, GFP_KERNEL); in wakeup_source_create()
/Linux-v5.4/drivers/clk/
Dclk.c3467 clk->con_id = kstrdup_const(con_id, GFP_KERNEL); in alloc_clk()
3535 *dst_p = dst = kstrdup_const(src, GFP_KERNEL); in clk_cpy_name()
3639 core->name = kstrdup_const(init->name, GFP_KERNEL); in __clk_register()
/Linux-v5.4/drivers/gpio/
Dgpiolib.c1324 gdev->label = kstrdup_const(chip->label ?: "unknown", GFP_KERNEL); in gpiochip_add_data_with_key()
2659 label = kstrdup_const(label, GFP_KERNEL); in gpiod_request_commit()
3792 name = kstrdup_const(name, GFP_KERNEL); in gpiod_set_consumer_name()
/Linux-v5.4/arch/sparc/kernel/
Dmdesc.c358 node_info->vdev_port.name = kstrdup_const(name, GFP_KERNEL); in get_vdev_port_node_info()
/Linux-v5.4/fs/cifs/
Ddfs_cache.c415 ce->ce_path = kstrdup_const(path, GFP_KERNEL); in alloc_cache_entry()
/Linux-v5.4/drivers/acpi/
Dscan.c1179 id->id = kstrdup_const(dev_id, GFP_KERNEL); in acpi_add_id()
/Linux-v5.4/sound/soc/
Dsoc-dapm.c334 w->sname = kstrdup_const(_widget->sname, GFP_KERNEL); in dapm_cnew_widget()
3623 w->name = kstrdup_const(widget->name, GFP_KERNEL); in snd_soc_dapm_new_control_unlocked()
/Linux-v5.4/net/sunrpc/auth_gss/
Dauth_gss.c556 gss_msg->service_name = kstrdup_const(service_name, GFP_NOFS); in gss_alloc_msg()
/Linux-v5.4/drivers/base/regmap/
Dregmap.c704 map->name = kstrdup_const(config->name, GFP_KERNEL); in __regmap_init()
/Linux-v5.4/kernel/trace/
Dtrace_events.c1853 system->name = kstrdup_const(name, GFP_KERNEL); in create_new_subsystem()

12