Home
last modified time | relevance | path

Searched refs:strscpy (Results 1 – 25 of 1319) sorted by relevance

12345678910>>...53

/Linux-v6.1/net/wireless/
Dethtool.c13 strscpy(info->driver, pdev->driver->name, in cfg80211_get_drvinfo()
16 strscpy(info->driver, "N/A", sizeof(info->driver)); in cfg80211_get_drvinfo()
18 strscpy(info->version, init_utsname()->release, sizeof(info->version)); in cfg80211_get_drvinfo()
21 strscpy(info->fw_version, wdev->wiphy->fw_version, in cfg80211_get_drvinfo()
24 strscpy(info->fw_version, "N/A", sizeof(info->fw_version)); in cfg80211_get_drvinfo()
26 strscpy(info->bus_info, dev_name(wiphy_dev(wdev->wiphy)), in cfg80211_get_drvinfo()
/Linux-v6.1/drivers/misc/lkdtm/
Dfortify.c47 strscpy(src, "over ten bytes", size); in lkdtm_FORTIFY_STR_MEMBER()
112 strscpy(src, "over ten bytes", size); in lkdtm_FORTIFY_MEM_MEMBER()
157 if (strscpy(dst, src, 0) != -E2BIG) in lkdtm_FORTIFY_STRSCPY()
161 if (strscpy(dst, src, sizeof(dst)) != -E2BIG) in lkdtm_FORTIFY_STRSCPY()
176 if (strscpy(dst, src, sizeof(dst)) != 3) in lkdtm_FORTIFY_STRSCPY()
185 strscpy(weird_dst, weird.src, sizeof(weird_dst)); in lkdtm_FORTIFY_STRSCPY()
198 strscpy(dst, src, strlen(src)); in lkdtm_FORTIFY_STRSCPY()
/Linux-v6.1/crypto/
Dcrypto_user_stat.c37 strscpy(raead.type, "aead", sizeof(raead.type)); in crypto_report_aead()
54 strscpy(rcipher.type, "cipher", sizeof(rcipher.type)); in crypto_report_cipher()
71 strscpy(rcomp.type, "compression", sizeof(rcomp.type)); in crypto_report_comp()
87 strscpy(racomp.type, "acomp", sizeof(racomp.type)); in crypto_report_acomp()
103 strscpy(rakcipher.type, "akcipher", sizeof(rakcipher.type)); in crypto_report_akcipher()
122 strscpy(rkpp.type, "kpp", sizeof(rkpp.type)); in crypto_report_kpp()
138 strscpy(rhash.type, "ahash", sizeof(rhash.type)); in crypto_report_ahash()
153 strscpy(rhash.type, "shash", sizeof(rhash.type)); in crypto_report_shash()
168 strscpy(rrng.type, "rng", sizeof(rrng.type)); in crypto_report_rng()
184 strscpy(ualg->cru_name, alg->cra_name, sizeof(ualg->cru_name)); in crypto_reportstat_one()
[all …]
Dcrypto_user_base.c78 strscpy(rcipher.type, "cipher", sizeof(rcipher.type)); in crypto_report_cipher()
94 strscpy(rcomp.type, "compression", sizeof(rcomp.type)); in crypto_report_comp()
104 strscpy(ualg->cru_name, alg->cra_name, sizeof(ualg->cru_name)); in crypto_report_one()
105 strscpy(ualg->cru_driver_name, alg->cra_driver_name, in crypto_report_one()
107 strscpy(ualg->cru_module_name, module_name(alg->cra_module), in crypto_report_one()
121 strscpy(rl.type, "larval", sizeof(rl.type)); in crypto_report_one()
/Linux-v6.1/sound/aoa/core/
Dalsa.c31 strscpy(alsa_card->driver, "AppleOnbdAudio", sizeof(alsa_card->driver)); in aoa_alsa_init()
32 strscpy(alsa_card->shortname, name, sizeof(alsa_card->shortname)); in aoa_alsa_init()
33 strscpy(alsa_card->longname, name, sizeof(alsa_card->longname)); in aoa_alsa_init()
34 strscpy(alsa_card->mixername, name, sizeof(alsa_card->mixername)); in aoa_alsa_init()
/Linux-v6.1/drivers/staging/rtl8192e/rtl8192e/
Drtl_ethtool.c21 strscpy(info->driver, DRV_NAME, sizeof(info->driver)); in _rtl92e_ethtool_get_drvinfo()
22 strscpy(info->version, DRV_VERSION, sizeof(info->version)); in _rtl92e_ethtool_get_drvinfo()
23 strscpy(info->bus_info, pci_name(priv->pdev), sizeof(info->bus_info)); in _rtl92e_ethtool_get_drvinfo()
/Linux-v6.1/arch/mips/kernel/
Dprom.c29 strscpy(mips_machine_name, name, sizeof(mips_machine_name)); in mips_set_machine_name()
55 strscpy(of_ids[0].compatible, bus0, sizeof(of_ids[0].compatible)); in __dt_register_buses()
57 strscpy(of_ids[1].compatible, bus1, in __dt_register_buses()
/Linux-v6.1/drivers/media/mc/
Dmc-device.c65 strscpy(info->driver, dev->driver_name, sizeof(info->driver)); in media_device_get_info()
67 strscpy(info->driver, dev->dev->driver->name, in media_device_get_info()
70 strscpy(info->model, dev->model, sizeof(info->model)); in media_device_get_info()
71 strscpy(info->serial, dev->serial, sizeof(info->serial)); in media_device_get_info()
72 strscpy(info->bus_info, dev->bus_info, sizeof(info->bus_info)); in media_device_get_info()
111 strscpy(entd->name, ent->name, sizeof(entd->name)); in media_device_enum_entities()
264 strscpy(kentity.name, entity->name, in media_device_get_topology()
847 strscpy(mdev->model, name, sizeof(mdev->model)); in media_device_pci_init()
849 strscpy(mdev->model, pci_name(pci_dev), sizeof(mdev->model)); in media_device_pci_init()
870 strscpy(mdev->driver_name, driver_name, in __media_device_usb_init()
[all …]
/Linux-v6.1/drivers/net/ethernet/toshiba/
Dspider_net_ethtool.c66 strscpy(drvinfo->driver, spider_net_driver_name, in spider_net_ethtool_get_drvinfo()
68 strscpy(drvinfo->version, VERSION, sizeof(drvinfo->version)); in spider_net_ethtool_get_drvinfo()
69 strscpy(drvinfo->fw_version, "no information", in spider_net_ethtool_get_drvinfo()
71 strscpy(drvinfo->bus_info, pci_name(card->pdev), in spider_net_ethtool_get_drvinfo()
/Linux-v6.1/drivers/media/radio/
Dradio-timb.c34 strscpy(v->driver, DRIVER_NAME, sizeof(v->driver)); in timbradio_vidioc_querycap()
35 strscpy(v->card, "Timberdale Radio", sizeof(v->card)); in timbradio_vidioc_querycap()
108 strscpy(tr->video_dev.name, "Timberdale Radio", in timbradio_probe()
117 strscpy(tr->v4l2_dev.name, DRIVER_NAME, sizeof(tr->v4l2_dev.name)); in timbradio_probe()
Dradio-sf16fmi.c133 strscpy(v->driver, "radio-sf16fmi", sizeof(v->driver)); in vidioc_querycap()
134 strscpy(v->card, "SF16-FMI/FMP/FMD radio", sizeof(v->card)); in vidioc_querycap()
135 strscpy(v->bus_info, "ISA:radio-sf16fmi", sizeof(v->bus_info)); in vidioc_querycap()
147 strscpy(v->name, "FM", sizeof(v->name)); in vidioc_g_tuner()
317 strscpy(v4l2_dev->name, "sf16fmi", sizeof(v4l2_dev->name)); in fmi_init()
341 strscpy(fmi->vdev.name, v4l2_dev->name, sizeof(fmi->vdev.name)); in fmi_init()
/Linux-v6.1/drivers/staging/media/atomisp/pci/
Datomisp_trace_event.h47 strscpy(__entry->name, name, 24);
77 strscpy(__entry->name, name, 24);
78 strscpy(__entry->info, info, 24);
/Linux-v6.1/drivers/media/platform/samsung/exynos4-is/
Dcommon.c42 strscpy(cap->driver, dev->driver->name, sizeof(cap->driver)); in __fimc_vidioc_querycap()
43 strscpy(cap->card, dev->driver->name, sizeof(cap->card)); in __fimc_vidioc_querycap()
/Linux-v6.1/drivers/net/ethernet/qualcomm/
Dqca_debug.c167 strscpy(p->driver, QCASPI_DRV_NAME, sizeof(p->driver)); in qcaspi_get_drvinfo()
168 strscpy(p->version, QCASPI_DRV_VERSION, sizeof(p->version)); in qcaspi_get_drvinfo()
169 strscpy(p->fw_version, "QCA7000", sizeof(p->fw_version)); in qcaspi_get_drvinfo()
170 strscpy(p->bus_info, dev_name(&qca->spi_dev->dev), in qcaspi_get_drvinfo()
/Linux-v6.1/drivers/input/serio/
Dolpc_apsp.c202 strscpy(kb_serio->name, "sp keyboard", sizeof(kb_serio->name)); in olpc_apsp_probe()
203 strscpy(kb_serio->phys, "sp/serio0", sizeof(kb_serio->phys)); in olpc_apsp_probe()
219 strscpy(pad_serio->name, "sp touchpad", sizeof(pad_serio->name)); in olpc_apsp_probe()
220 strscpy(pad_serio->phys, "sp/serio1", sizeof(pad_serio->phys)); in olpc_apsp_probe()
/Linux-v6.1/drivers/staging/octeon/
Dethernet-mdio.c24 strscpy(info->driver, KBUILD_MODNAME, sizeof(info->driver)); in cvm_oct_get_drvinfo()
25 strscpy(info->version, UTS_RELEASE, sizeof(info->version)); in cvm_oct_get_drvinfo()
26 strscpy(info->bus_info, "Builtin", sizeof(info->bus_info)); in cvm_oct_get_drvinfo()
/Linux-v6.1/drivers/hwmon/
Demc1403.c332 strscpy(info->type, "emc1402", I2C_NAME_SIZE); in emc1403_detect()
335 strscpy(info->type, "emc1403", I2C_NAME_SIZE); in emc1403_detect()
338 strscpy(info->type, "emc1422", I2C_NAME_SIZE); in emc1403_detect()
341 strscpy(info->type, "emc1423", I2C_NAME_SIZE); in emc1403_detect()
344 strscpy(info->type, "emc1404", I2C_NAME_SIZE); in emc1403_detect()
347 strscpy(info->type, "emc1424", I2C_NAME_SIZE); in emc1403_detect()
/Linux-v6.1/drivers/media/pci/cx23885/
Dcx23885-dvb.c1158 strscpy(info.type, "sp2", I2C_NAME_SIZE); in dvb_register_ci_mac()
1825 strscpy(info.type, "tda10071_cx24118", I2C_NAME_SIZE); in dvb_register()
1842 strscpy(info.type, "a8293", I2C_NAME_SIZE); in dvb_register()
1863 strscpy(info.type, "si2165", I2C_NAME_SIZE); in dvb_register()
1896 strscpy(info.type, "tda10071_cx24118", I2C_NAME_SIZE); in dvb_register()
1913 strscpy(info.type, "a8293", I2C_NAME_SIZE); in dvb_register()
1946 strscpy(info.type, "ts2020", I2C_NAME_SIZE); in dvb_register()
1982 strscpy(info.type, "si2168", I2C_NAME_SIZE); in dvb_register()
2000 strscpy(info.type, "si2157", I2C_NAME_SIZE); in dvb_register()
2027 strscpy(info.type, "si2168", I2C_NAME_SIZE); in dvb_register()
[all …]
Dcx23885-ioctl.c24 strscpy(chip->name, "cx23417", sizeof(chip->name)); in cx23885_g_chip_info()
26 strscpy(chip->name, dev->v4l2_dev.name, sizeof(chip->name)); in cx23885_g_chip_info()
/Linux-v6.1/drivers/media/radio/si4713/
Dradio-platform-si4713.c61 strscpy(capability->driver, "radio-si4713", sizeof(capability->driver)); in radio_si4713_querycap()
62 strscpy(capability->card, "Silicon Labs Si4713 Modulator", in radio_si4713_querycap()
64 strscpy(capability->bus_info, "platform:radio-si4713", in radio_si4713_querycap()
/Linux-v6.1/drivers/dma-buf/
Dsync_file.c135 strscpy(buf, sync_file->user_name, len); in sync_file_get_name()
175 strscpy(sync_file->user_name, name, sizeof(sync_file->user_name)); in sync_file_merge()
265 strscpy(info->obj_name, fence->ops->get_timeline_name(fence), in sync_fill_fence_info()
267 strscpy(info->driver_name, fence->ops->get_driver_name(fence), in sync_fill_fence_info()
/Linux-v6.1/drivers/pci/hotplug/
Drpadlpar_sysfs.c37 strscpy(drc_name, buf, nbytes + 1); in add_slot_store()
67 strscpy(drc_name, buf, nbytes + 1); in remove_slot_store()
/Linux-v6.1/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch-ethtool.c41 strscpy(drvinfo->driver, KBUILD_MODNAME, sizeof(drvinfo->driver)); in dpaa2_switch_get_drvinfo()
47 strscpy(drvinfo->fw_version, "N/A", in dpaa2_switch_get_drvinfo()
53 strscpy(drvinfo->bus_info, dev_name(netdev->dev.parent->parent), in dpaa2_switch_get_drvinfo()
/Linux-v6.1/sound/usb/hiface/
Dchip.c66 strscpy(card->driver, DRIVER_NAME, sizeof(card->driver)); in hiface_chip_create()
69 strscpy(card->shortname, quirk->device_name, sizeof(card->shortname)); in hiface_chip_create()
71 strscpy(card->shortname, "M2Tech generic audio", sizeof(card->shortname)); in hiface_chip_create()
/Linux-v6.1/drivers/md/
Ddm-init.c137 strscpy(sp->target_type, field[2], sizeof(sp->target_type)); in dm_parse_table_entry()
205 strscpy(dev->dmi.name, field[0], sizeof(dev->dmi.name)); in dm_parse_device_entry()
207 strscpy(dev->dmi.uuid, field[1], sizeof(dev->dmi.uuid)); in dm_parse_device_entry()

12345678910>>...53