Home
last modified time | relevance | path

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

12345678910>>...16

/Linux-v5.4/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-v5.4/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()
859 strscpy(mdev->model, name, sizeof(mdev->model)); in media_device_pci_init()
861 strscpy(mdev->model, pci_name(pci_dev), sizeof(mdev->model)); in media_device_pci_init()
882 strscpy(mdev->driver_name, driver_name, in __media_device_usb_init()
[all …]
/Linux-v5.4/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()
Dradio-raremono.c184 strscpy(v->driver, "radio-raremono", sizeof(v->driver)); in vidioc_querycap()
185 strscpy(v->card, "Thanko's Raremono", sizeof(v->card)); in vidioc_querycap()
213 strscpy(v->name, "AM/FM/SW", sizeof(v->name)); in vidioc_g_tuner()
350 strscpy(radio->vdev.name, radio->v4l2_dev.name, in usb_raremono_probe()
Dradio-isa.c37 strscpy(v->driver, isa->drv->driver.driver.name, sizeof(v->driver)); in radio_isa_querycap()
38 strscpy(v->card, isa->drv->card, sizeof(v->card)); in radio_isa_querycap()
52 strscpy(v->name, "FM", sizeof(v->name)); in radio_isa_g_tuner()
190 strscpy(v4l2_dev->name, dev_name(pdev), sizeof(v4l2_dev->name)); in radio_isa_alloc()
235 strscpy(isa->vdev.name, v4l2_dev->name, sizeof(isa->vdev.name)); in radio_isa_common_probe()
Dradio-tea5777.c259 strscpy(v->driver, tea->v4l2_dev->name, sizeof(v->driver)); in vidioc_querycap()
260 strscpy(v->card, tea->card, sizeof(v->card)); in vidioc_querycap()
262 strscpy(v->bus_info, tea->bus_info, sizeof(v->bus_info)); in vidioc_querycap()
294 strscpy(v->name, "AM/FM", sizeof(v->name)); in vidioc_g_tuner()
296 strscpy(v->name, "FM", sizeof(v->name)); in vidioc_g_tuner()
550 strscpy(tea->vd.name, tea->v4l2_dev->name, sizeof(tea->vd.name)); in radio_tea5777_init()
Dradio-cadet.c357 strscpy(v->driver, "ADS Cadet", sizeof(v->driver)); in vidioc_querycap()
358 strscpy(v->card, "ADS Cadet", sizeof(v->card)); in vidioc_querycap()
359 strscpy(v->bus_info, "ISA:radio-cadet", sizeof(v->bus_info)); in vidioc_querycap()
371 strscpy(v->name, "Radio", sizeof(v->name)); in vidioc_g_tuner()
596 strscpy(v4l2_dev->name, "cadet", sizeof(v4l2_dev->name)); in cadet_init()
640 strscpy(dev->vdev.name, v4l2_dev->name, sizeof(dev->vdev.name)); in cadet_init()
Dradio-miropcm20.c204 strscpy(v->driver, "Miro PCM20", sizeof(v->driver)); in vidioc_querycap()
205 strscpy(v->card, "Miro PCM20", sizeof(v->card)); in vidioc_querycap()
233 strscpy(v->name, "FM", sizeof(v->name)); in vidioc_g_tuner()
445 strscpy(v4l2_dev->name, "radio-miropcm20", sizeof(v4l2_dev->name)); in pcm20_init()
476 strscpy(dev->vdev.name, v4l2_dev->name, sizeof(dev->vdev.name)); in pcm20_init()
Ddsbr100.c168 strscpy(v->driver, "dsbr100", sizeof(v->driver)); in vidioc_querycap()
169 strscpy(v->card, "D-Link R-100 USB FM Radio", sizeof(v->card)); in vidioc_querycap()
183 strscpy(v->name, "FM", sizeof(v->name)); in vidioc_g_tuner()
371 strscpy(radio->videodev.name, v4l2_dev->name, in usb_dsbr100_probe()
Dradio-keene.c168 strscpy(v->driver, "radio-keene", sizeof(v->driver)); in vidioc_querycap()
169 strscpy(v->card, "Keene FM Transmitter", sizeof(v->card)); in vidioc_querycap()
182 strscpy(v->name, "FM", sizeof(v->name)); in vidioc_g_modulator()
354 strscpy(radio->vdev.name, radio->v4l2_dev.name, in usb_keene_probe()
Dradio-ma901.c191 strscpy(v->driver, "radio-ma901", sizeof(v->driver)); in vidioc_querycap()
192 strscpy(v->card, "Masterkit MA901 USB FM Radio", sizeof(v->card)); in vidioc_querycap()
214 strscpy(v->name, "FM", sizeof(v->name)); in vidioc_g_tuner()
392 strscpy(radio->vdev.name, radio->v4l2_dev.name, in usb_ma901radio_probe()
/Linux-v5.4/drivers/media/platform/exynos4-is/
Dcommon.c39 strscpy(cap->driver, dev->driver->name, sizeof(cap->driver)); in __fimc_vidioc_querycap()
40 strscpy(cap->card, dev->driver->name, sizeof(cap->card)); in __fimc_vidioc_querycap()
/Linux-v5.4/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()
1897 strscpy(info.type, "tda10071_cx24118", I2C_NAME_SIZE); in dvb_register()
1914 strscpy(info.type, "a8293", I2C_NAME_SIZE); in dvb_register()
1947 strscpy(info.type, "ts2020", I2C_NAME_SIZE); in dvb_register()
1984 strscpy(info.type, "si2168", I2C_NAME_SIZE); in dvb_register()
2003 strscpy(info.type, "si2157", I2C_NAME_SIZE); in dvb_register()
2031 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-v5.4/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-v5.4/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()
/Linux-v5.4/drivers/staging/octeon/
Dethernet.c787 strscpy(dev->name, "pow%d", sizeof(dev->name)); in cvm_oct_probe()
859 strscpy(dev->name, "npi%d", sizeof(dev->name)); in cvm_oct_probe()
864 strscpy(dev->name, "xaui%d", sizeof(dev->name)); in cvm_oct_probe()
869 strscpy(dev->name, "loop%d", sizeof(dev->name)); in cvm_oct_probe()
875 strscpy(dev->name, "eth%d", sizeof(dev->name)); in cvm_oct_probe()
880 strscpy(dev->name, "spi%d", sizeof(dev->name)); in cvm_oct_probe()
886 strscpy(dev->name, "eth%d", sizeof(dev->name)); in cvm_oct_probe()
891 strscpy(dev->name, "eth%d", sizeof(dev->name)); in cvm_oct_probe()
/Linux-v5.4/drivers/media/radio/wl128x/
Dfmdrv_v4l2.c184 strscpy(capability->driver, FM_DRV_NAME, sizeof(capability->driver)); in fm_v4l2_vidioc_querycap()
185 strscpy(capability->card, FM_DRV_CARD_SHORT_NAME, in fm_v4l2_vidioc_querycap()
236 strscpy(audio->name, "Radio", sizeof(audio->name)); in fm_v4l2_vidioc_g_audio()
280 strscpy(tuner->name, "FM", sizeof(tuner->name)); in fm_v4l2_vidioc_g_tuner()
521 strscpy(fmdev->v4l2_dev.name, FM_DRV_NAME, in fm_v4l2_init_video_device()
/Linux-v5.4/drivers/media/platform/sunxi/sun4i-csi/
Dsun4i_v4l2.c58 strscpy(cap->driver, KBUILD_MODNAME, sizeof(cap->driver)); in sun4i_csi_querycap()
59 strscpy(cap->card, "sun4i-csi", sizeof(cap->card)); in sun4i_csi_querycap()
73 strscpy(inp->name, "Camera", sizeof(inp->name)); in sun4i_csi_enum_input()
362 strscpy(vdev->name, KBUILD_MODNAME, sizeof(vdev->name)); in sun4i_csi_v4l2_register()
/Linux-v5.4/drivers/media/pci/solo6x10/
Dsolo6x10-g723.c348 strscpy(pcm->name, card->shortname, sizeof(pcm->name)); in solo_snd_pcm_init()
386 strscpy(card->driver, SOLO6X10_NAME, sizeof(card->driver)); in solo_g723_init()
387 strscpy(card->shortname, "SOLO-6x10 Audio", sizeof(card->shortname)); in solo_g723_init()
396 strscpy(card->mixername, "SOLO-6x10", sizeof(card->mixername)); in solo_g723_init()
/Linux-v5.4/drivers/acpi/
Devent.c134 strscpy(event->device_class, device_class, sizeof(event->device_class)); in acpi_bus_generate_netlink_event()
135 strscpy(event->bus_id, bus_id, sizeof(event->bus_id)); in acpi_bus_generate_netlink_event()
/Linux-v5.4/drivers/media/pci/cx88/
Dcx88-i2c.c133 strscpy(core->i2c_adap.name, core->name, sizeof(core->i2c_adap.name)); in cx88_i2c_init()
140 strscpy(core->i2c_client.name, "cx88xx internal", I2C_NAME_SIZE); in cx88_i2c_init()
/Linux-v5.4/tools/testing/selftests/lib/
DMakefile7 TEST_PROGS := printf.sh bitmap.sh prime_numbers.sh strscpy.sh

12345678910>>...16