Home
last modified time | relevance | path

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

12

/linux/lib/
H A Dkasprintf.c46 return kstrdup_const(fmt, gfp); in kvasprintf_const()
48 return kstrdup_const(va_arg(ap, const char*), gfp); in kvasprintf_const()
H A Dgenalloc.c840 pool_name = kstrdup_const(name, GFP_KERNEL); in devm_gen_pool_create()
/linux/drivers/gpu/drm/
H A Ddrm_managed.c153 dr->node.name = kstrdup_const(name, GFP_KERNEL); in __drmm_add_action()
238 dr->node.name = kstrdup_const("kmalloc", gfp); in drmm_kmalloc()
/linux/drivers/regulator/
H A Dfixed-helper.c39 data->cfg.supply_name = kstrdup_const(name, GFP_KERNEL); in regulator_register_always_on()
/linux/tools/power/pm-graph/config/
H A Dcgskip.txt40 kstrdup_const
/linux/drivers/soc/amlogic/
H A Dmeson-mx-socinfo.c98 return kstrdup_const(soc_id, GFP_KERNEL); in meson_mx_socinfo_soc_id()
/linux/drivers/pmdomain/samsung/
H A Dexynos-pm-domains.c101 return kstrdup_const(name, GFP_KERNEL); in exynos_get_domain_name()
/linux/net/nfc/hci/
H A Dllc.c56 llc_engine->name = kstrdup_const(name, GFP_KERNEL); in nfc_llc_register()
/linux/sound/synth/emux/
H A Demux.c88 emu->name = kstrdup_const(name, GFP_KERNEL); in snd_emux_register()
/linux/drivers/remoteproc/
H A Dqcom_common.c236 glink->ssr_name = kstrdup_const(ssr_name, GFP_KERNEL); in qcom_add_glink_subdev()
376 info->name = kstrdup_const(name, GFP_KERNEL); in qcom_ssr_get_subsys()
/linux/drivers/power/reset/
H A Dreboot-mode.c89 info->mode = kstrdup_const(prop->name + len, GFP_KERNEL); in reboot_mode_register()
/linux/drivers/net/ethernet/ti/
H A Dk3-cppi-desc-pool.c67 pool_name = kstrdup_const(name ? name : dev_name(pool->dev), in k3_cppi_desc_pool_create_name()
/linux/drivers/soc/renesas/
H A Drenesas-soc.c515 soc_dev_attr->family = kstrdup_const(family->name, GFP_KERNEL); in renesas_soc_init()
516 soc_dev_attr->soc_id = kstrdup_const(soc_id, GFP_KERNEL); in renesas_soc_init()
/linux/drivers/base/firmware_loader/
H A Dmain.c134 fw_priv->fw_name = kstrdup_const(fw_name, GFP_ATOMIC); in __allocate_fw_priv()
672 fwn->name = kstrdup_const(name, GFP_KERNEL); in fw_add_devm_name()
1211 fw_work->name = kstrdup_const(name, gfp); in request_firmware_nowait()
1324 fce->name = kstrdup_const(name, GFP_ATOMIC); in alloc_fw_cache_entry()
/linux/drivers/dax/
H A Dkmem.c277 kmem_name = kstrdup_const("System RAM (kmem)", GFP_KERNEL); in dax_kmem_init()
/linux/sound/soc/intel/avs/
H A Dutils.c253 entry->name = kstrdup_const(name, GFP_KERNEL); in avs_request_firmware()
/linux/mm/
H A Dutil.c70 * kstrdup_const - conditionally duplicate an existing const string
74 * Note: Strings allocated by kstrdup_const should be freed by kfree_const and
80 const char *kstrdup_const(const char *s, gfp_t gfp) in kstrdup_const() function
87 EXPORT_SYMBOL(kstrdup_const);
/linux/drivers/pinctrl/
H A Ddevicetree.c76 devname = kstrdup_const(dev_name(p->dev), GFP_KERNEL); in dt_remember_or_free_map()
/linux/drivers/clk/x86/
H A Dclk-pmc-atom.c287 parent_names[i] = kstrdup_const(clks[i].name, GFP_KERNEL); in plt_clk_register_parents()
/linux/drivers/firmware/arm_scmi/
H A Dbus.c382 scmi_dev->name = kstrdup_const(name ?: "unknown", GFP_KERNEL); in __scmi_device_create()
/linux/include/linux/
H A Dstring.h285 extern const char *kstrdup_const(const char *s, gfp_t gfp);
/linux/drivers/leds/
H A Dled-class.c345 provider = kstrdup_const(lookup->provider, GFP_KERNEL); in led_get()
/linux/fs/kernfs/
H A Ddir.c620 name = kstrdup_const(name, GFP_KERNEL); in __kernfs_new_node()
1747 new_name = kstrdup_const(new_name, GFP_KERNEL); in kernfs_rename_ns()
/linux/Documentation/core-api/
H A Dkernel-api.rst49 :functions: kstrdup kstrdup_const kstrndup kmemdup kmemdup_nul memdup_user
/linux/fs/tracefs/
H A Devent_inode.c433 ei->name = kstrdup_const(name, GFP_KERNEL); in init_ei()

12