Home
last modified time | relevance | path

Searched refs:expect_len (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/tools/testing/selftests/net/mptcp/
Dmptcp_inq.c328 size_t expect_len; in process_one_client() local
347 ret = read(unixfd, &expect_len, sizeof(expect_len)); in process_one_client()
348 assert(ret == (ssize_t)sizeof(expect_len)); in process_one_client()
350 if (expect_len > sizeof(buf)) in process_one_client()
351 xerror("expect len %zu exceeds buffer size", expect_len); in process_one_client()
360 if (queued > expect_len) in process_one_client()
362 queued, expect_len); in process_one_client()
363 if (queued == expect_len) in process_one_client()
381 assert((size_t)tcp_inq == (expect_len - 1)); in process_one_client()
399 ret = read(unixfd, &expect_len, sizeof(expect_len)); in process_one_client()
[all …]
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dbtf.c7751 size_t test_len, expect_len; in do_test_dedup() local
7762 expect_len = strlen(expect_str_cur); in do_test_dedup()
7763 if (CHECK(test_len != expect_len, in do_test_dedup()
7766 test_len, expect_len, test_str_cur, expect_str_cur)) { in do_test_dedup()
7776 expect_str_cur += expect_len + 1; in do_test_dedup()
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dwmi.c559 u16 expect_len; in ath11k_wmi_tlv_svc_rdy_parse() local
569 expect_len = WMI_SERVICE_BM_SIZE * sizeof(u32); in ath11k_wmi_tlv_svc_rdy_parse()
570 if (len < expect_len) { in ath11k_wmi_tlv_svc_rdy_parse()