Home
last modified time | relevance | path

Searched refs:strnlen (Results 351 - 375 of 513) sorted by relevance

1...<<1112131415161718192021

/kernel/linux/linux-6.6/net/netrom/
H A Dnr_route.c651 if (strnlen(nr_route.mnemonic, 7) == 7) { in nr_rt_ioctl()
/third_party/libcoap/src/
H A Dcoap_debug.c160 strnlen(const char *s, size_t maxlen) { in strnlen() function
/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/
H A Dcommands.c84 return nextarg ? nextarg + strspn(nextarg, whitespace) : args + strnlen(args, CMDBUFSZ); in get_next_arg()
/third_party/libwebsockets/lib/tls/openssl/
H A Dopenssl-client.c27 /* 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 Dlibc_string.cpp114 c += strnlen(bmstrnlenAligned, limitsize); in Bm_function_Strnlen()
/third_party/rust/crates/libc/src/windows/
H A Dmod.rs368 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 DMachOYAML.cpp39 auto Len = strnlen(&Val[0], 16); in output()
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_lane_link.c1488 if (strnlen(linkInfo->linkInfo.wlan.connInfo.addr, sizeof(linkInfo->linkInfo.wlan.connInfo.addr)) == 0 || in CreateWlanLinkInfo()
1489 strnlen(linkInfo->linkInfo.wlan.connInfo.addr, in CreateWlanLinkInfo()
/kernel/linux/linux-5.10/drivers/scsi/libfc/
H A Dfc_lport.c1357 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 Dchecks.c231 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 Daf_x25.c691 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 Dcontrol.c1390 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 Dcomposite.c900 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 Dhci_bcm4377.c2046 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 Datom.c1345 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 Ddm-ioctl.c574 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 Daf_x25.c681 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 Dfc_lport.c1366 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()
/kernel/linux/linux-6.6/sound/soc/sof/
H A Dtopology.c1463 strnlen(w->sname, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) > 0 ? w->sname : "none"); in sof_widget_ready()
1534 strnlen(tw->sname, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) > 0 in sof_widget_ready()
/kernel/linux/linux-6.6/scripts/dtc/
H A Dchecks.c239 l = strnlen(str, rem); in check_is_string_list()
960 str += strnlen(str, end - str) + 1) { in node_is_compatible()
/third_party/libcoap/examples/
H A Dcoap-client.c1211 size_t len = strnlen(arg, maxlen); in cmdline_read_user()
1223 size_t len = strnlen(arg, maxlen); in cmdline_read_key()
/third_party/lame/frontend/
H A Dparse.c2050 int const arg_n = strnlen(nextArg, PATH_MAX); in parse_args_()
2060 int const arg_n = strnlen(nextArg, PATH_MAX); in parse_args_()
/kernel/linux/linux-6.6/drivers/scsi/lpfc/
H A Dlpfc_debugfs.c490 return strnlen(buf, size); in lpfc_debugfs_multixripools_data()
507 return strnlen(buf, size); in lpfc_debugfs_multixripools_data()
517 return strnlen(buf, size); in lpfc_debugfs_multixripools_data()
522 return strnlen(buf, size); in lpfc_debugfs_multixripools_data()
566 return strnlen(buf, size); in lpfc_debugfs_multixripools_data()
1293 len = strnlen(buf, size); in lpfc_debugfs_scsistat_data()
1798 len = strnlen(buf, size); in lpfc_debugfs_hdwqstat_data()
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
H A Dlpfc_attr.c512 len = strnlen(buf, PAGE_SIZE); in lpfc_nvme_info_show()
520 strnlen(LPFC_NVME_INFO_MORE_STR, PAGE_SIZE - 1), in lpfc_nvme_info_show()
522 strnlen(LPFC_NVME_INFO_MORE_STR, PAGE_SIZE - 1) in lpfc_nvme_info_show()
575 len = strnlen(buf, PAGE_SIZE); in lpfc_scsi_stat_show()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Dsdma.c1084 return ret ? : strnlen(buf, PAGE_SIZE); in sdma_set_cpu_to_sde_map()
1095 return strnlen(buf, PAGE_SIZE); in sdma_get_cpu_to_sde_map()

Completed in 64 milliseconds

1...<<1112131415161718192021