Home
last modified time | relevance | path

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

12

/openbmc/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()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_managed.c153 dr->node.name = kstrdup_const(name, GFP_KERNEL); in __drmm_add_action()
199 dr->node.name = kstrdup_const("kmalloc", gfp); in drmm_kmalloc()
/openbmc/linux/tools/power/pm-graph/config/
H A Dcgskip.txt40 kstrdup_const
/openbmc/linux/drivers/soc/amlogic/
H A Dmeson-mx-socinfo.c98 return kstrdup_const(soc_id, GFP_KERNEL); in meson_mx_socinfo_soc_id()
/openbmc/linux/drivers/pmdomain/samsung/
H A Dexynos-pm-domains.c101 return kstrdup_const(name, GFP_KERNEL); in exynos_get_domain_name()
/openbmc/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()
H A Dremoteproc_core.c2385 p = kstrdup_const(firmware, GFP_KERNEL); in rproc_alloc_firmware()
2475 rproc->name = kstrdup_const(name, GFP_KERNEL); in rproc_alloc()
/openbmc/linux/drivers/net/ethernet/ti/
H A Dk3-cppi-desc-pool.c62 pool_name = kstrdup_const(name ? name : dev_name(pool->dev), in k3_cppi_desc_pool_create_name()
/openbmc/linux/drivers/power/reset/
H A Dreboot-mode.c89 info->mode = kstrdup_const(prop->name + len, GFP_KERNEL); in reboot_mode_register()
/openbmc/linux/drivers/soc/renesas/
H A Drenesas-soc.c482 soc_dev_attr->family = kstrdup_const(family->name, GFP_KERNEL); in renesas_soc_init()
483 soc_dev_attr->soc_id = kstrdup_const(soc_id, GFP_KERNEL); in renesas_soc_init()
/openbmc/linux/drivers/base/firmware_loader/
H A Dmain.c133 fw_priv->fw_name = kstrdup_const(fw_name, GFP_ATOMIC); in __allocate_fw_priv()
667 fwn->name = kstrdup_const(name, GFP_KERNEL); in fw_add_devm_name()
1235 fw_work->name = kstrdup_const(name, gfp); in request_firmware_nowait()
1348 fce->name = kstrdup_const(name, GFP_ATOMIC); in alloc_fw_cache_entry()
/openbmc/linux/drivers/dax/
H A Dkmem.c250 kmem_name = kstrdup_const("System RAM (kmem)", GFP_KERNEL); in dax_kmem_init()
/openbmc/linux/mm/
H A Dutil.c80 const char *kstrdup_const(const char *s, gfp_t gfp) in kstrdup_const() function
87 EXPORT_SYMBOL(kstrdup_const);
/openbmc/linux/include/linux/
H A Dstring.h217 extern const char *kstrdup_const(const char *s, gfp_t gfp);
/openbmc/linux/drivers/pinctrl/
H A Ddevicetree.c76 devname = kstrdup_const(dev_name(p->dev), GFP_KERNEL); in dt_remember_or_free_map()
/openbmc/linux/drivers/clk/x86/
H A Dclk-pmc-atom.c298 parent_names[i] = kstrdup_const(clks[i].name, GFP_KERNEL); in plt_clk_register_parents()
/openbmc/linux/drivers/firmware/arm_scmi/
H A Dbus.c364 scmi_dev->name = kstrdup_const(name ?: "unknown", GFP_KERNEL); in __scmi_device_create()
/openbmc/linux/drivers/leds/
H A Dled-class.c354 provider = kstrdup_const(lookup->provider, GFP_KERNEL); in led_get()
/openbmc/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()
/openbmc/linux/Documentation/core-api/
H A Dkernel-api.rst49 :functions: kstrdup kstrdup_const kstrndup kmemdup kmemdup_nul memdup_user
/openbmc/linux/kernel/trace/
H A Dtrace_events_hist.c1994 hist_field->type = kstrdup_const("unsigned long[]", GFP_KERNEL); in create_hist_field()
2008 hist_field->type = kstrdup_const(hist_field->operands[0]->type, GFP_KERNEL); in create_hist_field()
2037 hist_field->type = kstrdup_const(field->type, GFP_KERNEL); in create_hist_field()
2053 hist_field->type = kstrdup_const(field->type, GFP_KERNEL); in create_hist_field()
2139 ref_field->type = kstrdup_const(var_field->type, GFP_KERNEL); in init_var_ref()
2604 expr->type = kstrdup_const(operand1->type, GFP_KERNEL); in parse_unary()
2822 expr->type = kstrdup_const(operand1->type, GFP_KERNEL); in parse_expr()
3224 var->type = kstrdup_const(type, GFP_KERNEL); in create_var()
/openbmc/linux/drivers/nvmem/
H A Dcore.c483 cell->name = kstrdup_const(info->name, GFP_KERNEL); in nvmem_cell_info_to_nvmem_cell_entry()
1274 name = kstrdup_const(id, GFP_KERNEL); in nvmem_create_cell()
/openbmc/linux/drivers/base/power/
H A Dwakeup.c90 ws_name = kstrdup_const(name, GFP_KERNEL); in wakeup_source_create()
/openbmc/linux/drivers/hte/
H A Dhte.c747 name = kstrdup_const(name, GFP_KERNEL); in hte_init_line_attr()

12