Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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.c834 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_managed.c152 dr->node.name = kstrdup_const(name, GFP_KERNEL); in __drmm_add_action()
198 dr->node.name = kstrdup_const("kmalloc", GFP_KERNEL); in drmm_kmalloc()
/kernel/linux/linux-5.10/tools/power/pm-graph/config/
Dcgskip.txt40 kstrdup_const
/kernel/linux/linux-5.10/drivers/remoteproc/
Dqcom_common.c76 glink->ssr_name = kstrdup_const(ssr_name, GFP_KERNEL); in qcom_add_glink_subdev()
216 info->name = kstrdup_const(name, GFP_KERNEL); in qcom_ssr_get_subsys()
Dremoteproc_core.c2120 p = kstrdup_const(firmware, GFP_KERNEL); in rproc_alloc_firmware()
2199 rproc->name = kstrdup_const(name, GFP_KERNEL); in rproc_alloc()
/kernel/linux/linux-5.10/drivers/soc/renesas/
Drenesas-soc.c385 soc_dev_attr->family = kstrdup_const(family->name, GFP_KERNEL); in renesas_soc_init()
386 soc_dev_attr->soc_id = kstrdup_const(strchr(match->compatible, ',') + 1, in renesas_soc_init()
/kernel/linux/linux-5.10/drivers/soc/amlogic/
Dmeson-mx-socinfo.c98 return kstrdup_const(soc_id, GFP_KERNEL); in meson_mx_socinfo_soc_id()
/kernel/linux/linux-5.10/drivers/soc/samsung/
Dpm_domains.c101 return kstrdup_const(name, GFP_KERNEL); in exynos_get_domain_name()
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dk3-cppi-desc-pool.c61 pool_name = kstrdup_const(name ? name : dev_name(pool->dev), in k3_cppi_desc_pool_create_name()
/kernel/linux/linux-5.10/drivers/power/reset/
Dreboot-mode.c89 info->mode = kstrdup_const(prop->name + len, GFP_KERNEL); in reboot_mode_register()
/kernel/linux/linux-5.10/drivers/dax/
Dkmem.c207 kmem_name = kstrdup_const("System RAM (kmem)", GFP_KERNEL); in dax_kmem_init()
/kernel/linux/linux-5.10/drivers/base/firmware_loader/
Dmain.c191 fw_priv->fw_name = kstrdup_const(fw_name, GFP_ATOMIC); in __allocate_fw_priv()
653 fwn->name = kstrdup_const(name, GFP_KERNEL); in fw_add_devm_name()
1141 fw_work->name = kstrdup_const(name, gfp); in request_firmware_nowait()
1254 fce->name = kstrdup_const(name, GFP_ATOMIC); in alloc_fw_cache_entry()
/kernel/linux/linux-5.10/drivers/firmware/arm_scmi/
Dbus.c154 scmi_dev->name = kstrdup_const(name ?: "unknown", GFP_KERNEL); in scmi_device_create()
/kernel/linux/linux-5.10/mm/
Dutil.c78 const char *kstrdup_const(const char *s, gfp_t gfp) in kstrdup_const() function
85 EXPORT_SYMBOL(kstrdup_const);
Dslab_common.c344 cache_name = kstrdup_const(name, GFP_KERNEL); in kmem_cache_create_usercopy()
/kernel/linux/linux-5.10/drivers/pinctrl/
Ddevicetree.c76 devname = kstrdup_const(dev_name(p->dev), GFP_KERNEL); in dt_remember_or_free_map()
/kernel/linux/linux-5.10/drivers/clk/x86/
Dclk-pmc-atom.c298 parent_names[i] = kstrdup_const(clks[i].name, GFP_KERNEL); in plt_clk_register_parents()
/kernel/linux/linux-5.10/include/linux/
Dstring.h177 extern const char *kstrdup_const(const char *s, gfp_t gfp);
/kernel/linux/linux-5.10/fs/kernfs/
Ddir.c631 name = kstrdup_const(name, GFP_KERNEL); in __kernfs_new_node()
1573 new_name = kstrdup_const(new_name, GFP_KERNEL); in kernfs_rename_ns()
/kernel/linux/linux-5.10/Documentation/core-api/
Dkernel-api.rst49 :functions: kstrdup kstrdup_const kstrndup kmemdup kmemdup_nul memdup_user
/kernel/linux/linux-5.10/drivers/base/power/
Dwakeup.c95 ws_name = kstrdup_const(name, GFP_KERNEL); in wakeup_source_create()
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-fwnode.c704 connector->label = err ? NULL : kstrdup_const(label, GFP_KERNEL); in v4l2_fwnode_connector_parse()
/kernel/linux/linux-5.10/drivers/acpi/
Dscan.c697 kstrdup_const(acpi_device_hid(device), GFP_KERNEL); in acpi_device_add()
1221 id->id = kstrdup_const(dev_id, GFP_KERNEL); in acpi_add_id()

12