Searched refs:name_copy (Results 1 – 5 of 5) sorted by relevance
/linux/arch/m68k/emu/ |
A D | natfeat.c | 43 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()
|
/linux/drivers/dma/qcom/ |
A D | hidma_mgmt_sys.c | 188 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()
|
A D | hidma.c | 635 char *name_copy; in hidma_create_sysfs_entry() local 642 name_copy = devm_kstrdup(dev->ddev.dev, name, GFP_KERNEL); in hidma_create_sysfs_entry() 643 if (!name_copy) in hidma_create_sysfs_entry() 646 attrs->attr.name = name_copy; in hidma_create_sysfs_entry()
|
/linux/drivers/firmware/ |
A D | qemu_fw_cfg.c | 499 char *name_copy, *p, *tok; in fw_cfg_build_symlink() local 505 name_copy = p = kstrdup(name, GFP_KERNEL); in fw_cfg_build_symlink() 506 if (!name_copy) in fw_cfg_build_symlink() 558 kfree(name_copy); in fw_cfg_build_symlink()
|
/linux/net/tipc/ |
A D | bearer.c | 140 char name_copy[TIPC_MAX_BEARER_NAME]; in bearer_name_validate() local 147 if (strscpy(name_copy, name, TIPC_MAX_BEARER_NAME) < 0) in bearer_name_validate() 151 media_name = name_copy; in bearer_name_validate()
|
Completed in 17 milliseconds