Home
last modified time | relevance | path

Searched refs:name_copy (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/arch/m68k/emu/
Dnatfeat.c43 char name_copy[32]; in nf_get_id() local
46 n = strlcpy(name_copy, feature_name, sizeof(name_copy)); in nf_get_id()
47 if (n >= sizeof(name_copy)) in nf_get_id()
50 return nf_get_id_phys(virt_to_phys(name_copy)); in nf_get_id()
/kernel/linux/linux-5.10/drivers/dma/qcom/
Dhidma_mgmt_sys.c188 char *name_copy; in create_sysfs_entry() local
195 name_copy = devm_kstrdup(&dev->pdev->dev, name, GFP_KERNEL); in create_sysfs_entry()
196 if (!name_copy) in create_sysfs_entry()
199 attrs->attr.name = name_copy; in create_sysfs_entry()
213 char *name_copy; in create_sysfs_entry_channel() local
219 name_copy = devm_kstrdup(&mdev->pdev->dev, name, GFP_KERNEL); in create_sysfs_entry_channel()
220 if (!name_copy) in create_sysfs_entry_channel()
225 chattr->attr.attr.name = name_copy; in create_sysfs_entry_channel()
Dhidma.c641 char *name_copy; in hidma_create_sysfs_entry() local
648 name_copy = devm_kstrdup(dev->ddev.dev, name, GFP_KERNEL); in hidma_create_sysfs_entry()
649 if (!name_copy) in hidma_create_sysfs_entry()
652 attrs->attr.name = name_copy; in hidma_create_sysfs_entry()
/kernel/linux/linux-5.10/drivers/firmware/
Dqemu_fw_cfg.c496 char *name_copy, *p, *tok; in fw_cfg_build_symlink() local
502 name_copy = p = kstrdup(name, GFP_KERNEL); in fw_cfg_build_symlink()
503 if (!name_copy) in fw_cfg_build_symlink()
555 kfree(name_copy); in fw_cfg_build_symlink()
/kernel/linux/linux-5.10/net/tipc/
Dbearer.c135 char name_copy[TIPC_MAX_BEARER_NAME]; in bearer_name_validate() local
142 name_copy[TIPC_MAX_BEARER_NAME - 1] = 0; in bearer_name_validate()
144 strncpy(name_copy, name, TIPC_MAX_BEARER_NAME); in bearer_name_validate()
145 if (name_copy[TIPC_MAX_BEARER_NAME - 1] != 0) in bearer_name_validate()
149 media_name = name_copy; in bearer_name_validate()