/kernel/linux/linux-6.6/fs/hmdfs/comm/ |
H A D | message_verify.c | 281 strnlen(msg + pos, PATH_MAX) != str_len[i]) in is_str_msg_valid()
|
/kernel/linux/linux-6.6/fs/jffs2/ |
H A D | write.c | 226 if (strnlen(name, namelen) != namelen) { in jffs2_write_dirent()
|
/kernel/linux/linux-6.6/drivers/platform/x86/ |
H A D | uv_sysfs.c | 669 len = strnlen(pci_top_str, sz); in pci_topology_init()
|
/kernel/linux/linux-6.6/drivers/firmware/tegra/ |
H A D | bpmp-debugfs.c | 59 seqbuf->pos += strnlen(*str, seqbuf_avail(seqbuf)); in seqbuf_read_str()
|
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | firmware.c | 832 mp_path_len = strnlen(mp_path, BRCMF_FW_ALTPATH_LEN); in brcmf_fw_alloc_request()
|
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/p54/ |
H A D | fwio.c | 76 if (strnlen((unsigned char *) bootrec->data, 24) < 24) in p54_parse_firmware()
|
/kernel/linux/linux-6.6/drivers/of/ |
H A D | overlay.c | 213 if (strnlen(prop->value, prop->length) >= prop->length) in dup_and_fixup_symbol_prop()
|
/kernel/linux/linux-6.6/net/rds/ |
H A D | connection.c | 287 strnlen(trans->t_name, sizeof(trans->t_name)) ? in __rds_conn_create()
|
/kernel/linux/linux-6.6/net/netrom/ |
H A D | nr_route.c | 651 if (strnlen(nr_route.mnemonic, 7) == 7) { in nr_rt_ioctl()
|
/third_party/libcoap/src/ |
H A D | coap_debug.c | 160 strnlen(const char *s, size_t maxlen) { in strnlen() function
|
/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/ |
H A D | commands.c | 84 return nextarg ? nextarg + strspn(nextarg, whitespace) : args + strnlen(args, CMDBUFSZ); in get_next_arg()
|
/third_party/libwebsockets/lib/tls/openssl/ |
H A D | openssl-client.c | 27 /* Before glibc 2.10, strnlen required _GNU_SOURCE */ 313 strnlen(hostname, sizeof(hostname))); in lws_ssl_client_bio_create()
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_string.cpp | 114 c += strnlen(bmstrnlenAligned, limitsize); in Bm_function_Strnlen()
|
/third_party/rust/crates/libc/src/windows/ |
H A D | mod.rs | 368 pub fn strnlen(cs: *const c_char, maxlen: size_t) -> size_t; in strnlen() functions
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/ |
H A D | MachOYAML.cpp | 39 auto Len = strnlen(&Val[0], 16); in output()
|
/kernel/linux/linux-5.10/drivers/scsi/libfc/ |
H A D | fc_lport.c | 1357 len = strnlen(fc_host_symbolic_name(lport->host), 255); in fc_lport_enter_ns() 1365 len = strnlen(fc_host_symbolic_name(lport->host), 255); in fc_lport_enter_ns()
|
/kernel/linux/linux-5.10/scripts/dtc/ |
H A D | checks.c | 231 l = strnlen(str, rem); in check_is_string_list() 939 str += strnlen(str, end - str) + 1) { in node_is_compatible()
|
/kernel/linux/linux-5.10/net/x25/ |
H A D | af_x25.c | 691 strnlen(addr->sx25_addr.x25_addr, X25_ADDR_LEN) == X25_ADDR_LEN) { in x25_bind() 786 strnlen(addr->sx25_addr.x25_addr, X25_ADDR_LEN) == X25_ADDR_LEN) in x25_connect()
|
/kernel/linux/linux-5.10/sound/core/ |
H A D | control.c | 1390 name_len = strnlen(p, buf_len); in snd_ctl_elem_init_enum_names() 1428 if (strnlen(info->id.name, sizeof(info->id.name)) >= sizeof(info->id.name)) in snd_ctl_elem_add()
|
/kernel/linux/linux-6.6/drivers/usb/gadget/ |
H A D | composite.c | 900 if (strnlen(cdev->landing_page, sizeof(cdev->landing_page)) > 0) in bos_desc() 2184 landing_page_length = strnlen(cdev->landing_page, in composite_setup()
|
/kernel/linux/linux-6.6/drivers/bluetooth/ |
H A D | hci_bcm4377.c | 2046 idx += strnlen(chip_params, size - idx) + 1; in bcm4377_parse_otp_sys_vendor() 2053 idx += strnlen(board_params, size - idx); in bcm4377_parse_otp_sys_vendor()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | atom.c | 1345 name_size = strnlen(c_ptr, STRLEN_LONG - 1); in atom_get_vbios_name() 1389 str_len = strnlen(str, maxlen); in atom_find_str_in_rom()
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-ioctl.c | 574 pfx_len = strnlen(pfx_name, DM_NAME_LEN); in filter_device() 582 pfx_len = strnlen(pfx_uuid, DM_UUID_LEN); in filter_device()
|
/kernel/linux/linux-6.6/net/x25/ |
H A D | af_x25.c | 681 strnlen(addr->sx25_addr.x25_addr, X25_ADDR_LEN) == X25_ADDR_LEN) { in x25_bind() 781 strnlen(addr->sx25_addr.x25_addr, X25_ADDR_LEN) == X25_ADDR_LEN) in x25_connect()
|
/kernel/linux/linux-6.6/drivers/scsi/libfc/ |
H A D | fc_lport.c | 1366 len = strnlen(fc_host_symbolic_name(lport->host), 255); in fc_lport_enter_ns() 1374 len = strnlen(fc_host_symbolic_name(lport->host), 255); in fc_lport_enter_ns()
|