Home
last modified time | relevance | path

Searched refs:strlcpy (Results 1 – 25 of 1249) sorted by relevance

12345678910>>...50

/OK3568_Linux_fs/kernel/drivers/hwmon/pmbus/
H A Dmax20730.c151 len = strlcpy(tbuf, "2000\n", DEBUG_FS_DATA_MAX); in max20730_debugfs_read()
153 len = strlcpy(tbuf, "125\n", DEBUG_FS_DATA_MAX); in max20730_debugfs_read()
155 len = strlcpy(tbuf, "62.5\n", DEBUG_FS_DATA_MAX); in max20730_debugfs_read()
157 len = strlcpy(tbuf, "32\n", DEBUG_FS_DATA_MAX); in max20730_debugfs_read()
166 len = strlcpy(tbuf, "0.8\n", DEBUG_FS_DATA_MAX); in max20730_debugfs_read()
168 len = strlcpy(tbuf, "3.2\n", DEBUG_FS_DATA_MAX); in max20730_debugfs_read()
170 len = strlcpy(tbuf, "1.6\n", DEBUG_FS_DATA_MAX); in max20730_debugfs_read()
172 len = strlcpy(tbuf, "6.4\n", DEBUG_FS_DATA_MAX); in max20730_debugfs_read()
176 len = strlcpy(tbuf, "0.9\n", DEBUG_FS_DATA_MAX); in max20730_debugfs_read()
178 len = strlcpy(tbuf, "3.6\n", DEBUG_FS_DATA_MAX); in max20730_debugfs_read()
[all …]
/OK3568_Linux_fs/kernel/net/wireless/
H A Dethtool.c13 strlcpy(info->driver, pdev->driver->name, in cfg80211_get_drvinfo()
16 strlcpy(info->driver, "N/A", sizeof(info->driver)); in cfg80211_get_drvinfo()
18 strlcpy(info->version, init_utsname()->release, sizeof(info->version)); in cfg80211_get_drvinfo()
21 strlcpy(info->fw_version, wdev->wiphy->fw_version, in cfg80211_get_drvinfo()
24 strlcpy(info->fw_version, "N/A", sizeof(info->fw_version)); in cfg80211_get_drvinfo()
26 strlcpy(info->bus_info, dev_name(wiphy_dev(wdev->wiphy)), in cfg80211_get_drvinfo()
/OK3568_Linux_fs/yocto/poky/meta/recipes-connectivity/openssh/openssh/
H A Dfix-potential-signed-overflow-in-pointer-arithmatic.patch7 type, so that 's - src' in strlcpy and others may trigger signed overflow.
19 openbsd-compat/strlcpy.c | 8 ++++++--
58 diff --git a/openbsd-compat/strlcpy.c b/openbsd-compat/strlcpy.c
60 --- a/openbsd-compat/strlcpy.c
61 +++ b/openbsd-compat/strlcpy.c
70 @@ -51,8 +52,11 @@ strlcpy(char *dst, const char *src, size_t siz)
/OK3568_Linux_fs/kernel/sound/aoa/core/
H A Dalsa.c31 strlcpy(alsa_card->driver, "AppleOnbdAudio", sizeof(alsa_card->driver)); in aoa_alsa_init()
32 strlcpy(alsa_card->shortname, name, sizeof(alsa_card->shortname)); in aoa_alsa_init()
33 strlcpy(alsa_card->longname, name, sizeof(alsa_card->longname)); in aoa_alsa_init()
34 strlcpy(alsa_card->mixername, name, sizeof(alsa_card->mixername)); in aoa_alsa_init()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dwldev_common.c101 strlcpy(ifr.ifr_name, dev->name, sizeof(ifr.ifr_name)); in wldev_ioctl()
481 strlcpy(cap, "n", caplen); in wldev_get_mode()
483 strlcpy(cap, "bg", caplen); in wldev_get_mode()
486 strlcpy(cap, "ac", caplen); in wldev_get_mode()
489 strlcpy(cap, "n|ac", caplen); in wldev_get_mode()
491 strlcpy(cap, "n", caplen); in wldev_get_mode()
493 strlcpy(cap, "ac", caplen); in wldev_get_mode()
495 strlcpy(cap, "a", caplen); in wldev_get_mode()
519 strlcpy(cspec.country_abbrev, country_code, WL_CCODE_LEN + 1); in wldev_set_country()
520 strlcpy(cspec.ccode, country_code, WL_CCODE_LEN + 1); in wldev_set_country()
/OK3568_Linux_fs/kernel/arch/mips/kernel/
H A Dprom.c29 strlcpy(mips_machine_name, name, sizeof(mips_machine_name)); in mips_set_machine_name()
55 strlcpy(of_ids[0].compatible, bus0, sizeof(of_ids[0].compatible)); in __dt_register_buses()
57 strlcpy(of_ids[1].compatible, bus1, in __dt_register_buses()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8192e/rtl8192e/
H A Drtl_ethtool.c21 strlcpy(info->driver, DRV_NAME, sizeof(info->driver)); in _rtl92e_ethtool_get_drvinfo()
22 strlcpy(info->version, DRV_VERSION, sizeof(info->version)); in _rtl92e_ethtool_get_drvinfo()
23 strlcpy(info->bus_info, pci_name(priv->pdev), sizeof(info->bus_info)); in _rtl92e_ethtool_get_drvinfo()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-connectivity/samba/samba/
H A D0004-Add-options-to-configure-the-use-of-libbsd.patch43 - # libbsd on some platforms provides strlcpy and strlcat
44 - if not conf.CHECK_FUNCS('strlcpy strlcat'):
45 - if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
58 + # libbsd on some platforms provides strlcpy and strlcat
59 + if not conf.CHECK_FUNCS('strlcpy strlcat'):
60 + if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dkyber.h34 strlcpy(__entry->domain, domain, sizeof(__entry->domain));
35 strlcpy(__entry->type, type, sizeof(__entry->type));
63 strlcpy(__entry->domain, domain, sizeof(__entry->domain));
85 strlcpy(__entry->domain, domain, sizeof(__entry->domain));
H A Dwbt.h36 strlcpy(__entry->name, bdi_dev_name(bdi),
71 strlcpy(__entry->name, bdi_dev_name(bdi),
108 strlcpy(__entry->name, bdi_dev_name(bdi),
144 strlcpy(__entry->name, bdi_dev_name(bdi),
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-protocols/openflow/openflow/
H A D0001-Check-and-use-strlcpy-from-libc-before-defining-own.patch4 Subject: [PATCH 1/2] Check and use strlcpy from libc before defining own
26 +AC_CHECK_FUNCS([strlcpy strsignal])
40 strlcpy(char *dst, const char *src, size_t size)
42 @@ -148,6 +149,7 @@ strlcpy(char *dst, const char *src, size_t size)
/OK3568_Linux_fs/u-boot/board/ti/common/
H A Dboard_detect.c225 strlcpy(ep->name, am_ep.name, TI_EEPROM_HDR_NAME_LEN + 1); in ti_i2c_eeprom_am_get()
231 strlcpy(ep->version, "BBG1", TI_EEPROM_HDR_REV_LEN + 1); in ti_i2c_eeprom_am_get()
233 strlcpy(ep->version, am_ep.version, TI_EEPROM_HDR_REV_LEN + 1); in ti_i2c_eeprom_am_get()
235 strlcpy(ep->serial, am_ep.serial, TI_EEPROM_HDR_SERIAL_LEN + 1); in ti_i2c_eeprom_am_get()
237 strlcpy(ep->config, am_ep.config, TI_EEPROM_HDR_CONFIG_LEN + 1); in ti_i2c_eeprom_am_get()
273 strlcpy(ep->name, dra7_ep.name, TI_EEPROM_HDR_NAME_LEN + 1); in ti_i2c_eeprom_dra7_get()
286 strlcpy(ep->config, dra7_ep.config, TI_EEPROM_HDR_CONFIG_LEN + 1); in ti_i2c_eeprom_dra7_get()
/OK3568_Linux_fs/kernel/arch/hexagon/kernel/
H A Dsetup.c69 strlcpy(boot_command_line, p, COMMAND_LINE_SIZE); in setup_arch()
71 strlcpy(boot_command_line, default_command_line, in setup_arch()
79 strlcpy(cmd_line, boot_command_line, COMMAND_LINE_SIZE); in setup_arch()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/toshiba/
H A Dspider_net_ethtool.c66 strlcpy(drvinfo->driver, spider_net_driver_name, in spider_net_ethtool_get_drvinfo()
68 strlcpy(drvinfo->version, VERSION, sizeof(drvinfo->version)); in spider_net_ethtool_get_drvinfo()
69 strlcpy(drvinfo->fw_version, "no information", in spider_net_ethtool_get_drvinfo()
71 strlcpy(drvinfo->bus_info, pci_name(card->pdev), in spider_net_ethtool_get_drvinfo()
/OK3568_Linux_fs/external/xserver/hw/dmx/config/
H A DMakefile.in126 am_libdmxconfig_a_OBJECTS = $(am__objects_1) strlcpy.$(OBJEXT)
161 ./$(DEPDIR)/strlcpy.Po ./$(DEPDIR)/vdltodmx.Po \
648 libdmxconfig_a_SOURCES = $(LIBSRCS) $(top_srcdir)/os/strlcpy.c
806 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strlcpy.Po@am__quote@ # am--include-marker
839 strlcpy.o: $(top_srcdir)/os/strlcpy.c
840 … -MT strlcpy.o -MD -MP -MF $(DEPDIR)/strlcpy.Tpo -c -o strlcpy.o `test -f '$(top_srcdir)/os/strlcp…
841 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/strlcpy.Tpo $(DEPDIR)/strlcpy.Po
844 … $(AM_CFLAGS) $(CFLAGS) -c -o strlcpy.o `test -f '$(top_srcdir)/os/strlcpy.c' || echo '$(srcdir)/'…
846 strlcpy.obj: $(top_srcdir)/os/strlcpy.c
847 …PFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT strlcpy.obj -MD -MP -MF $(DEPDIR)/strlcpy.Tpo -c -o…
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dwldev_common.c101 strlcpy(ifr.ifr_name, dev->name, sizeof(ifr.ifr_name)); in wldev_ioctl()
481 strlcpy(cap, "n", caplen); in wldev_get_mode()
483 strlcpy(cap, "bg", caplen); in wldev_get_mode()
486 strlcpy(cap, "ac", caplen); in wldev_get_mode()
489 strlcpy(cap, "n|ac", caplen); in wldev_get_mode()
491 strlcpy(cap, "n", caplen); in wldev_get_mode()
493 strlcpy(cap, "ac", caplen); in wldev_get_mode()
495 strlcpy(cap, "a", caplen); in wldev_get_mode()
/OK3568_Linux_fs/kernel/arch/nios2/kernel/
H A Dsetup.c126 strlcpy(cmdline_passed, (char *)r7, COMMAND_LINE_SIZE); in nios2_boot_init()
134 strlcpy(boot_command_line, cmdline_passed, COMMAND_LINE_SIZE); in nios2_boot_init()
137 strlcpy(boot_command_line, CONFIG_CMDLINE, COMMAND_LINE_SIZE); in nios2_boot_init()
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/nasm/nasm/
H A D0001-stdlib-Add-strlcat.patch26 LIBOBJ = stdlib/snprintf.$(O) stdlib/vsnprintf.$(O) stdlib/strlcpy.$(O) \
38 AC_CHECK_FUNCS([strlcpy])
45 AC_CHECK_DECLS(strlcpy)
56 @@ -169,6 +169,10 @@ size_t strlcpy(char *, const char *, size_t);
111 + return strlcpy(&dest[n], src, size - n) + n;
/OK3568_Linux_fs/external/recovery/
H A Drecovery.c161 extern size_t strlcpy(char *dst, const char *src, size_t dsize);
272 strlcpy(boot.command, "boot-recovery", sizeof(boot.command)); in get_args()
273 strlcpy(boot.recovery, "recovery\n", sizeof(boot.recovery)); in get_args()
287 strlcpy(boot.command, "boot-recovery", sizeof(boot.command)); in set_sdcard_update_bootloader_message()
288 strlcpy(boot.recovery, "recovery\n", sizeof(boot.recovery)); in set_sdcard_update_bootloader_message()
349 strlcpy(boot.systemFlag, systemFlag, sizeof(boot.systemFlag)); in finish_recovery()
628 strlcpy(new_path, path, PATH_MAX); in sdcard_directory()
638 strlcpy(new_path, path, PATH_MAX); in sdcard_directory()
941 strlcpy(imageFile, EX_SDCARD_ROOT, sizeof(imageFile)); in main()
954 strlcpy(imageFile, EX_UDISK_ROOT, sizeof(imageFile)); in main()
[all …]
/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/
H A Dstrlcpy.c28 strlcpy(char *dst, const char *src, size_t dsize) in strlcpy() function
51 DEF_WEAK(strlcpy);
/OK3568_Linux_fs/external/xserver/hw/xquartz/mach-startup/
H A Dbundle-main.c274 strlcpy(servaddr_un.sun_path, filename_out, in create_socket()
338 strlcpy(filename, handoff_data->filename, STRING_T_SIZE); in do_request_fd_handoff_socket()
432 strlcpy(newargv[i], argv[i], STRING_T_SIZE); in startup_trigger()
435 strlcpy(newenvp[i], envp[i], STRING_T_SIZE); in startup_trigger()
565 strlcpy(bundle_id_prefix, server_bootstrap_name, len - 3); in setup_env()
589 strlcpy(temp, bundle_id_prefix, len); in setup_env()
636 strlcpy(__crashreporter_info_buff__, __crashreporter_info__base, in main()
/OK3568_Linux_fs/buildroot/package/samba4/
H A D0001-libreplace-disable-libbsd-support.patch26 - # libbsd on some platforms provides strlcpy and strlcat
27 - if not conf.CHECK_FUNCS('strlcpy strlcat'):
28 - if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
/OK3568_Linux_fs/kernel/drivers/input/serio/
H A Dolpc_apsp.c202 strlcpy(kb_serio->name, "sp keyboard", sizeof(kb_serio->name)); in olpc_apsp_probe()
203 strlcpy(kb_serio->phys, "sp/serio0", sizeof(kb_serio->phys)); in olpc_apsp_probe()
219 strlcpy(pad_serio->name, "sp touchpad", sizeof(pad_serio->name)); in olpc_apsp_probe()
220 strlcpy(pad_serio->phys, "sp/serio1", sizeof(pad_serio->phys)); in olpc_apsp_probe()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qualcomm/
H A Dqca_debug.c166 strlcpy(p->driver, QCASPI_DRV_NAME, sizeof(p->driver)); in qcaspi_get_drvinfo()
167 strlcpy(p->version, QCASPI_DRV_VERSION, sizeof(p->version)); in qcaspi_get_drvinfo()
168 strlcpy(p->fw_version, "QCA7000", sizeof(p->fw_version)); in qcaspi_get_drvinfo()
169 strlcpy(p->bus_info, dev_name(&qca->spi_dev->dev), in qcaspi_get_drvinfo()
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Demc1403.c332 strlcpy(info->type, "emc1402", I2C_NAME_SIZE); in emc1403_detect()
335 strlcpy(info->type, "emc1403", I2C_NAME_SIZE); in emc1403_detect()
338 strlcpy(info->type, "emc1422", I2C_NAME_SIZE); in emc1403_detect()
341 strlcpy(info->type, "emc1423", I2C_NAME_SIZE); in emc1403_detect()
344 strlcpy(info->type, "emc1404", I2C_NAME_SIZE); in emc1403_detect()
347 strlcpy(info->type, "emc1424", I2C_NAME_SIZE); in emc1403_detect()

12345678910>>...50