| /OK3568_Linux_fs/kernel/drivers/char/ |
| H A D | tlclk.c | 341 return strnlen(buf, count); in store_received_ref_clk3a() 363 return strnlen(buf, count); in store_received_ref_clk3b() 385 return strnlen(buf, count); in store_enable_clk3b_output() 406 return strnlen(buf, count); in store_enable_clk3a_output() 427 return strnlen(buf, count); in store_enable_clkb1_output() 449 return strnlen(buf, count); in store_enable_clka1_output() 470 return strnlen(buf, count); in store_enable_clkb0_output() 491 return strnlen(buf, count); in store_enable_clka0_output() 533 return strnlen(buf, count); in store_select_amcb2_transmit_clock() 575 return strnlen(buf, count); in store_select_amcb1_transmit_clock() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-kernel/systemtap/systemtap/ |
| H A D | 0001-PR28778-gcc-warning-tweak-for-sprintf-precision-para.patch | 12 /usr/share/systemtap/runtime/vsprintf.c:341:23: error: 'strnlen' specified bound 4294967295 may exc… 29 - len = strnlen(ptr, precision); 30 + len = strnlen(ptr, clamp_t(size_t, precision, 0, STP_BUFFER_SIZE)); 38 - len = strnlen(ptr, precision); 39 + len = strnlen(ptr, clamp_t(size_t, precision, 0, STP_BUFFER_SIZE));
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-connectivity/openssh/openssh/ |
| H A D | fix-potential-signed-overflow-in-pointer-arithmatic.patch | 20 openbsd-compat/strnlen.c | 8 ++++++-- 84 diff --git a/openbsd-compat/strnlen.c b/openbsd-compat/strnlen.c 86 --- a/openbsd-compat/strnlen.c 87 +++ b/openbsd-compat/strnlen.c 95 strnlen(const char *str, size_t maxlen) 96 @@ -31,7 +32,10 @@ strnlen(const char *str, size_t maxlen)
|
| /OK3568_Linux_fs/kernel/arch/um/kernel/skas/ |
| H A D | uaccess.c | 183 n = strnlen(to, len); in strncpy_chunk_from_user() 198 return strnlen(dst, count); in __strncpy_from_user() 205 return strnlen(dst, count); in __strncpy_from_user() 230 n = strnlen((void *) str, len); in strnlen_chunk() 243 return strnlen((__force char*)str, len) + 1; in __strnlen_user()
|
| /OK3568_Linux_fs/kernel/drivers/net/ |
| H A D | netconsole.c | 364 return strnlen(buf, count); in enabled_store() 396 return strnlen(buf, count); in extended_store() 419 len = strnlen(nt->np.dev_name, IFNAMSIZ); in dev_name_store() 424 return strnlen(buf, count); in dev_name_store() 444 return strnlen(buf, count); in local_port_store() 467 return strnlen(buf, count); in remote_port_store() 503 return strnlen(buf, count); in local_ip_store() 539 return strnlen(buf, count); in remote_ip_store() 565 return strnlen(buf, count); in remote_mac_store() 889 if (strnlen(input, MAX_PARAM_LENGTH)) { in init_netconsole()
|
| /OK3568_Linux_fs/kernel/arch/arm64/lib/ |
| H A D | strnlen.S | 50 SYM_FUNC_START_WEAK_PI(strnlen) 159 SYM_FUNC_END_PI(strnlen) 160 EXPORT_SYMBOL_NOKASAN(strnlen)
|
| /OK3568_Linux_fs/kernel/fs/xfs/scrub/ |
| H A D | symlink.c | 57 len > strnlen(ifp->if_u1.if_data, XFS_IFORK_DSIZE(ip))) in xchk_symlink() 66 if (strnlen(sc->buf, XFS_SYMLINK_MAXLEN) < len) in xchk_symlink()
|
| /OK3568_Linux_fs/kernel/arch/x86/lib/ |
| H A D | string_32.c | 217 size_t strnlen(const char *s, size_t count) in strnlen() function 235 EXPORT_SYMBOL(strnlen);
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/cifs/files/ |
| H A D | CVE-2022-27239.patch | 30 - } else if (strnlen(value, MAX_ADDRESS_LEN) <= 31 + } else if (strnlen(value, MAX_ADDRESS_LEN) <
|
| /OK3568_Linux_fs/external/mpp/osal/ |
| H A D | mpp_log.cpp | 48 size_t len_fmt = strnlen(fmt, MPP_LOG_MAX_LEN); in __mpp_log() 49 size_t len_name = (fname) ? (strnlen(fname, MPP_LOG_MAX_LEN)) : (0); in __mpp_log()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | string.h | 91 extern __kernel_size_t strnlen(const char *,__kernel_size_t); 322 ret = strnlen(p, p_size); in strlen() 328 extern __kernel_size_t __real_strnlen(const char *, __kernel_size_t) __RENAME(strnlen); 329 __FORTIFY_INLINE __kernel_size_t strnlen(const char *p, __kernel_size_t maxlen) in strnlen() function 369 copy_len = strnlen(q, count); in strncat()
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/nasm/nasm/ |
| H A D | 0001-stdlib-Add-strlcat.patch | 27 - stdlib/strnlen.$(O) stdlib/strrchrnul.$(O) \ 28 + stdlib/strnlen.$(O) stdlib/strrchrnul.$(O) stdlib/strlcat.$(O) \ 46 AC_CHECK_DECLS(strnlen)
|
| /OK3568_Linux_fs/kernel/arch/s390/include/asm/ |
| H A D | string.h | 186 static inline size_t strnlen(const char * s, size_t n) in strnlen() function 205 size_t strnlen(const char * s, size_t n);
|
| /OK3568_Linux_fs/kernel/mm/damon/ |
| H A D | dbgfs-test.h | 140 rc = set_init_regions(ctx, input, strnlen(input, 256)); in damon_dbgfs_test_set_init_regions() 152 rc = set_init_regions(ctx, input, strnlen(input, 256)); in damon_dbgfs_test_set_init_regions()
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | gpt.c | 425 if (strnlen(s, max_str_part) == 0) in set_gpt_info() 428 i = strnlen(s, max_str_part) - 1; in set_gpt_info() 465 if (strnlen(p, max_str_part) >= sizeof(parts[i].uuid)) { in set_gpt_info() 480 if (strnlen(p, max_str_part) >= sizeof(parts[i].type_guid)) { in set_gpt_info() 498 if (strnlen(p, max_str_part) >= sizeof(parts[i].name)) { in set_gpt_info()
|
| /OK3568_Linux_fs/u-boot/lib/libfdt/ |
| H A D | fdt_ro.c | 47 return (strnlen(p, len + 1) == len) && (memcmp(p, s, len) == 0); in _fdt_string_eq() 581 length = strnlen(list, end - list) + 1; in fdt_stringlist_count() 608 length = strnlen(list, end - list) + 1; in fdt_stringlist_search() 642 length = strnlen(list, end - list) + 1; in fdt_stringlist_get()
|
| /OK3568_Linux_fs/kernel/arch/s390/lib/ |
| H A D | string.c | 62 size_t strnlen(const char *s, size_t n) in strnlen() function 66 EXPORT_SYMBOL(strnlen);
|
| /OK3568_Linux_fs/kernel/arch/alpha/boot/ |
| H A D | stdio.c | 8 size_t strnlen(const char * s, size_t count) in strnlen() function 204 len = strnlen(s, precision); in vsprintf()
|
| /OK3568_Linux_fs/kernel/sound/soc/ |
| H A D | soc-topology.c | 772 if (strnlen(be->hdr.name, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_dbytes_create() 854 if (strnlen(mc->hdr.name, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_dmixer_create() 950 if (strnlen(ec->texts[i], SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_denum_create_texts() 1031 if (strnlen(ec->hdr.name, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_denum_create() 1245 if (strnlen(elem->source, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_dapm_graph_elems_load() 1250 if (strnlen(elem->sink, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_dapm_graph_elems_load() 1255 if (strnlen(elem->control, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_dapm_graph_elems_load() 1266 if (strnlen(elem->control, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == 0) in soc_tplg_dapm_graph_elems_load() 1329 if (strnlen(mc->hdr.name, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_dapm_widget_dmixer_create() 1420 if (strnlen(ec->hdr.name, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_dapm_widget_denum_create() [all …]
|
| /OK3568_Linux_fs/kernel/arch/riscv/kernel/ |
| H A D | image-vars.h | 32 __efistub_strnlen = strnlen;
|
| /OK3568_Linux_fs/kernel/arch/powerpc/boot/ |
| H A D | stdio.c | 11 size_t strnlen(const char * s, size_t count) in strnlen() function 240 len = strnlen(s, precision); in vsprintf()
|
| H A D | string.h | 14 extern size_t strnlen(const char *s, size_t count);
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/include/ |
| H A D | string.h | 47 size_t strnlen(const char *s, size_t n);
|
| /OK3568_Linux_fs/kernel/arch/m68k/kernel/ |
| H A D | uboot.c | 94 n = strnlen(commandp, size); in process_uboot_commandline()
|
| /OK3568_Linux_fs/kernel/arch/m68k/include/asm/ |
| H A D | string.h | 9 static inline size_t strnlen(const char *s, size_t count) in strnlen() function
|