Home
last modified time | relevance | path

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

12

/Linux-v4.19/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.c711 pool_name = kstrdup_const(name, GFP_KERNEL); in devm_gen_pool_create()
Ddynamic_debug.c855 new_name = kstrdup_const(name, GFP_KERNEL); in ddebug_add_module()
Dkobject.c498 name = dup_name = kstrdup_const(new_name, GFP_KERNEL); in kobject_rename()
/Linux-v4.19/drivers/soc/renesas/
Drenesas-soc.c302 soc_dev_attr->family = kstrdup_const(family->name, GFP_KERNEL); in renesas_soc_init()
303 soc_dev_attr->soc_id = kstrdup_const(strchr(match->compatible, ',') + 1, in renesas_soc_init()
/Linux-v4.19/tools/power/pm-graph/config/
Dcgskip.txt39 kstrdup_const
/Linux-v4.19/drivers/soc/amlogic/
Dmeson-mx-socinfo.c98 return kstrdup_const(soc_id, GFP_KERNEL); in meson_mx_socinfo_soc_id()
/Linux-v4.19/drivers/soc/samsung/
Dpm_domains.c101 return kstrdup_const(name, GFP_KERNEL); in exynos_get_domain_name()
/Linux-v4.19/drivers/base/firmware_loader/
Dmain.c177 fw_priv->fw_name = kstrdup_const(fw_name, GFP_ATOMIC); in __allocate_fw_priv()
428 fwn->name = kstrdup_const(name, GFP_KERNEL); in fw_add_devm_name()
829 fw_work->name = kstrdup_const(name, gfp); in request_firmware_nowait()
942 fce->name = kstrdup_const(name, GFP_ATOMIC); in alloc_fw_cache_entry()
/Linux-v4.19/drivers/power/reset/
Dreboot-mode.c93 info->mode = kstrdup_const(prop->name + len, GFP_KERNEL); in reboot_mode_register()
/Linux-v4.19/mm/
Dutil.c72 const char *kstrdup_const(const char *s, gfp_t gfp) in kstrdup_const() function
79 EXPORT_SYMBOL(kstrdup_const);
Dslab_common.c481 cache_name = kstrdup_const(name, GFP_KERNEL); in kmem_cache_create_usercopy()
/Linux-v4.19/drivers/clk/x86/
Dclk-pmc-atom.c297 parent_names[i] = kstrdup_const(clks[i].name, GFP_KERNEL); in plt_clk_register_parents()
/Linux-v4.19/drivers/mailbox/
Dtegra-hsp.c203 db->name = kstrdup_const(name, GFP_KERNEL); in tegra_hsp_doorbell_create()
/Linux-v4.19/include/linux/
Dstring.h169 extern const char *kstrdup_const(const char *s, gfp_t gfp);
/Linux-v4.19/fs/kernfs/
Ddir.c630 name = kstrdup_const(name, GFP_KERNEL); in __kernfs_new_node()
1559 new_name = kstrdup_const(new_name, GFP_KERNEL); in kernfs_rename_ns()
/Linux-v4.19/drivers/base/power/
Dwakeup.c104 wakeup_source_prepare(ws, name ? kstrdup_const(name, GFP_KERNEL) : NULL); in wakeup_source_create()
/Linux-v4.19/Documentation/core-api/
Dkernel-api.rst43 :functions: kstrdup kstrdup_const kstrndup kmemdup kmemdup_nul memdup_user
/Linux-v4.19/drivers/clk/
Dclk.c3125 clk->con_id = kstrdup_const(con_id, GFP_KERNEL); in __clk_create_clk()
3168 core->name = kstrdup_const(hw->init->name, GFP_KERNEL); in clk_register()
3203 core->parent_names[i] = kstrdup_const(hw->init->parent_names[i], in clk_register()
/Linux-v4.19/arch/sparc/kernel/
Dmdesc.c359 node_info->vdev_port.name = kstrdup_const(name, GFP_KERNEL); in get_vdev_port_node_info()
/Linux-v4.19/drivers/acpi/
Dscan.c1181 id->id = kstrdup_const(dev_id, GFP_KERNEL); in acpi_add_id()
/Linux-v4.19/drivers/base/regmap/
Dregmap.c687 map->name = kstrdup_const(config->name, GFP_KERNEL); in __regmap_init()
/Linux-v4.19/kernel/trace/
Dtrace_events.c1864 system->name = kstrdup_const(name, GFP_KERNEL); in create_new_subsystem()
/Linux-v4.19/fs/
Dnamespace.c188 mnt->mnt_devname = kstrdup_const(name, GFP_KERNEL); in alloc_vfsmnt()
/Linux-v4.19/drivers/gpio/
Dgpiolib.c1301 gdev->label = kstrdup_const(chip->label ?: "unknown", GFP_KERNEL); in gpiochip_add_data_with_key()

12