/linux/lib/ |
A D | kasprintf.c | 46 return kstrdup_const(fmt, gfp); in kvasprintf_const() 48 return kstrdup_const(va_arg(ap, const char*), gfp); in kvasprintf_const()
|
A D | genalloc.c | 840 pool_name = kstrdup_const(name, GFP_KERNEL); in devm_gen_pool_create()
|
A D | kobject.c | 520 name = dup_name = kstrdup_const(new_name, GFP_KERNEL); in kobject_rename()
|
/linux/drivers/gpu/drm/ |
A D | drm_managed.c | 152 dr->node.name = kstrdup_const(name, GFP_KERNEL); in __drmm_add_action() 198 dr->node.name = kstrdup_const("kmalloc", GFP_KERNEL); in drmm_kmalloc()
|
/linux/tools/power/pm-graph/config/ |
A D | cgskip.txt | 40 kstrdup_const
|
/linux/drivers/soc/renesas/ |
A D | renesas-soc.c | 427 soc_dev_attr->family = kstrdup_const(family->name, GFP_KERNEL); in renesas_soc_init() 428 soc_dev_attr->soc_id = kstrdup_const(strchr(match->compatible, ',') + 1, in renesas_soc_init()
|
/linux/drivers/soc/amlogic/ |
A D | meson-mx-socinfo.c | 98 return kstrdup_const(soc_id, GFP_KERNEL); in meson_mx_socinfo_soc_id()
|
/linux/drivers/remoteproc/ |
A D | qcom_common.c | 222 glink->ssr_name = kstrdup_const(ssr_name, GFP_KERNEL); in qcom_add_glink_subdev() 362 info->name = kstrdup_const(name, GFP_KERNEL); in qcom_ssr_get_subsys()
|
A D | remoteproc_core.c | 2450 p = kstrdup_const(firmware, GFP_KERNEL); in rproc_alloc_firmware() 2533 rproc->name = kstrdup_const(name, GFP_KERNEL); in rproc_alloc()
|
/linux/drivers/soc/samsung/ |
A D | pm_domains.c | 100 return kstrdup_const(name, GFP_KERNEL); in exynos_get_domain_name()
|
/linux/drivers/base/firmware_loader/ |
A D | main.c | 132 fw_priv->fw_name = kstrdup_const(fw_name, GFP_ATOMIC); in __allocate_fw_priv() 595 fwn->name = kstrdup_const(name, GFP_KERNEL); in fw_add_devm_name() 1066 fw_work->name = kstrdup_const(name, gfp); in request_firmware_nowait() 1179 fce->name = kstrdup_const(name, GFP_ATOMIC); in alloc_fw_cache_entry()
|
/linux/drivers/net/ethernet/ti/ |
A D | k3-cppi-desc-pool.c | 61 pool_name = kstrdup_const(name ? name : dev_name(pool->dev), in k3_cppi_desc_pool_create_name()
|
/linux/drivers/power/reset/ |
A D | reboot-mode.c | 89 info->mode = kstrdup_const(prop->name + len, GFP_KERNEL); in reboot_mode_register()
|
/linux/drivers/dax/ |
A D | kmem.c | 227 kmem_name = kstrdup_const("System RAM (kmem)", GFP_KERNEL); in dax_kmem_init()
|
/linux/include/linux/ |
A D | string.h | 177 extern const char *kstrdup_const(const char *s, gfp_t gfp);
|
/linux/mm/ |
A D | util.c | 78 const char *kstrdup_const(const char *s, gfp_t gfp) in kstrdup_const() function 85 EXPORT_SYMBOL(kstrdup_const);
|
/linux/drivers/firmware/arm_scmi/ |
A D | bus.c | 178 scmi_dev->name = kstrdup_const(name ?: "unknown", GFP_KERNEL); in scmi_device_create()
|
/linux/drivers/pinctrl/ |
A D | devicetree.c | 76 devname = kstrdup_const(dev_name(p->dev), GFP_KERNEL); in dt_remember_or_free_map()
|
/linux/drivers/clk/x86/ |
A D | clk-pmc-atom.c | 298 parent_names[i] = kstrdup_const(clks[i].name, GFP_KERNEL); in plt_clk_register_parents()
|
/linux/fs/kernfs/ |
A D | dir.c | 581 name = kstrdup_const(name, GFP_KERNEL); in __kernfs_new_node() 1591 new_name = kstrdup_const(new_name, GFP_KERNEL); in kernfs_rename_ns()
|
/linux/Documentation/core-api/ |
A D | kernel-api.rst | 46 :functions: kstrdup kstrdup_const kstrndup kmemdup kmemdup_nul memdup_user
|
/linux/drivers/nvmem/ |
A D | core.c | 493 cell->name = kstrdup_const(info->name, GFP_KERNEL); in nvmem_cell_info_to_nvmem_cell_entry() 1159 name = kstrdup_const(id, GFP_KERNEL); in nvmem_create_cell()
|
/linux/drivers/base/power/ |
A D | wakeup.c | 94 ws_name = kstrdup_const(name, GFP_KERNEL); in wakeup_source_create()
|
/linux/kernel/trace/ |
A D | trace_events_hist.c | 1923 hist_field->type = kstrdup_const(hist_field->operands[0]->type, GFP_KERNEL); in create_hist_field() 1952 hist_field->type = kstrdup_const(field->type, GFP_KERNEL); in create_hist_field() 1966 hist_field->type = kstrdup_const(field->type, GFP_KERNEL); in create_hist_field() 2052 ref_field->type = kstrdup_const(var_field->type, GFP_KERNEL); in init_var_ref() 2492 expr->type = kstrdup_const(operand1->type, GFP_KERNEL); in parse_unary() 2708 expr->type = kstrdup_const(operand1->type, GFP_KERNEL); in parse_expr() 3093 var->type = kstrdup_const(type, GFP_KERNEL); in create_var()
|
/linux/drivers/media/v4l2-core/ |
A D | v4l2-fwnode.c | 681 connector->label = err ? NULL : kstrdup_const(label, GFP_KERNEL); in v4l2_fwnode_connector_parse()
|