Home
last modified time | relevance | path

Searched refs:total_bytes (Results 1 – 4 of 4) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
Dbpf_tcp_ca.c11 static const unsigned int total_bytes = 10 * 1024 * 1024; variable
67 while (bytes < total_bytes && !READ_ONCE(stop)) { in server()
69 min(total_bytes - bytes, sizeof(batch)), 0); in server()
79 CHECK(bytes != total_bytes, "send", "%zd != %u nr_sent:%zd errno:%d\n", in server()
80 bytes, total_bytes, nr_sent, errno); in server()
160 while (bytes < total_bytes && !READ_ONCE(stop)) { in do_test()
162 min(total_bytes - bytes, sizeof(batch)), 0); in do_test()
170 CHECK(bytes != total_bytes, "recv", "%zd != %u nr_recv:%zd errno:%d\n", in do_test()
171 bytes, total_bytes, nr_recv, errno); in do_test()
/tools/testing/selftests/net/
Dpsock_tpacket.c97 static unsigned int total_packets, total_bytes; variable
247 total_bytes += ppd.v1->tp_h.tp_snaplen; in walk_v1_v2_rx()
253 total_bytes += ppd.v2->tp_h.tp_snaplen; in walk_v1_v2_rx()
276 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKETS, total_bytes >> 1); in walk_v1_v2_rx()
433 total_bytes += ppd.v1->tp_h.tp_snaplen; in walk_tx()
443 total_bytes += ppd.v2->tp_h.tp_snaplen; in walk_tx()
455 total_bytes += tx->tp_snaplen; in walk_tx()
572 total_bytes += bytes; in __v3_walk_block()
619 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKETS, total_bytes >> 1); in walk_v3_rx()
705 total_bytes = 0; in setup_ring()
/tools/testing/selftests/bpf/
Dtest_sockmap.c593 float total_bytes, txmsg_pop_total; in msg_loop() local
609 total_bytes = (float)iov_count * (float)iov_length * (float)cnt; in msg_loop()
611 txmsg_pop_total = txmsg_pop * (total_bytes / txmsg_apply); in msg_loop()
614 total_bytes -= txmsg_pop_total; in msg_loop()
618 while (s->bytes_recvd < total_bytes) { in msg_loop()
638 …r, "unexpected timeout: recved %zu/%f pop_total %f\n", s->bytes_recvd, total_bytes, txmsg_pop_tota… in msg_loop()
/tools/perf/
Dbuiltin-timechart.c98 u64 total_bytes; member
113 u64 total_bytes; member
813 c->total_bytes += ret; in pid_end_io_sample()
814 p->total_bytes += ret; in pid_end_io_sample()
1220 bytes = c->total_bytes; in draw_io_bars()
1433 if (c->total_bytes >= threshold) { in determine_display_io_tasks()