/kernel/linux/linux-6.6/net/netfilter/ |
H A D | xt_bpf.c | 57 if (strnlen(path, XT_BPF_PATH_MAX) == XT_BPF_PATH_MAX) in __bpf_mt_check_path()
|
/third_party/eudev/src/shared/ |
H A D | missing.h | 173 size_t __len = strnlen(__old, (n)); \
|
/third_party/musl/src/misc/ |
H A D | realpath.c | 25 l = strnlen(filename, sizeof stack); in realpath()
|
H A D | syslog.c | 69 size_t n = strnlen(ident, sizeof log_ident - 1); in openlog()
|
/third_party/musl/src/network/ |
H A D | dn_comp.c | 63 size_t l = strnlen(src, 255); in dn_comp()
|
/third_party/optimized-routines/string/test/ |
H A D | strnlen.c | 2 * strnlen test. 30 F(strnlen, 0)
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | string_32.h | 214 extern size_t strnlen(const char *s, size_t count);
|
/kernel/linux/linux-5.10/drivers/firmware/efi/ |
H A D | mokvar-table.c | 168 size = strnlen(mokvar_entry->name, in efi_mokvar_table_init()
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
H A D | code-patching.h | 194 if (strnlen(name, KSYM_NAME_LEN) >= KSYM_NAME_LEN) in ppc_kallsyms_lookup_name()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_verifier_log.c | 99 len = strnlen(log, buf_len); in test_log_good()
|
/kernel/linux/linux-6.6/arch/s390/boot/ |
H A D | pgm_check_info.c | 72 p = buf + strnlen(buf, sizeof(buf) - 15); in strsym()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/ |
H A D | omapdss-boot-init.c | 92 if (strnlen(prop->value, prop->length) >= prop->length) in omapdss_omapify_node()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | omapdss-boot-init.c | 92 if (strnlen(prop->value, prop->length) >= prop->length) in omapdss_omapify_node()
|
/kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | omapdss-boot-init.c | 92 if (strnlen(prop->value, prop->length) >= prop->length) in omapdss_omapify_node()
|
/kernel/linux/linux-6.6/drivers/firmware/efi/ |
H A D | mokvar-table.c | 168 size = strnlen(mokvar_entry->name, in efi_mokvar_table_init()
|
/kernel/linux/linux-6.6/crypto/ |
H A D | crypto_user_stat.c | 18 #define null_terminated(x) (strnlen(x, sizeof(x)) < sizeof(x))
|
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | string_32.h | 181 extern size_t strnlen(const char *s, size_t count);
|
/third_party/ltp/testcases/kernel/crypto/ |
H A D | crypto_user01.c | 39 for (i = strnlen(value, vlen); i < vlen; i++) { in do_check_for_leaks()
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | string.h | 67 size_t strnlen (const char *, size_t);
|
/third_party/musl/porting/liteos_a/user/src/misc/ |
H A D | syslog.c | 68 size_t n = strnlen(ident, sizeof log_ident - 1); in openlog()
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | string.h | 69 size_t strnlen (const char *, size_t);
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/src/init/linux/ |
H A D | hifb_init.c | 100 len = strnlen(g_vdata, (VSYNC_LEN - 1)) + 1; in vsync_read() 214 len = strnlen(g_nowdata, (VSYNC_LEN - 1)) + 1; in pts_read()
|
/kernel/linux/linux-5.10/arch/x86/boot/compressed/ |
H A D | kaslr.c | 269 len = strnlen(args, COMMAND_LINE_SIZE-1); in handle_mem_options() 414 cmd_line_size = strnlen((char *)cmd_line, COMMAND_LINE_SIZE-1) + 1; in mem_avoid_init()
|
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
H A D | debug.c | 113 strnlen(vol->name, vol->name_len + 1) == vol->name_len) { in ubi_dump_vol_info() 145 strnlen(&r->name[0], name_len + 1) == name_len) { in ubi_dump_vtbl_record()
|
/kernel/linux/linux-6.6/arch/x86/boot/compressed/ |
H A D | kaslr.c | 265 len = strnlen(args, COMMAND_LINE_SIZE-1); in handle_mem_options() 410 cmd_line_size = strnlen((char *)cmd_line, COMMAND_LINE_SIZE-1) + 1; in mem_avoid_init()
|