Searched refs:tbuf (Results 1 – 3 of 3) sorted by relevance
/tools/testing/selftests/net/ |
D | psock_snd.c | 52 static char tbuf[TEST_SZ], rbuf[TEST_SZ]; variable 157 off += build_vnet_header(tbuf); in build_packet() 158 off += build_eth_header(tbuf + off); in build_packet() 159 off += build_ipv4_header(tbuf + off, payload_len); in build_packet() 160 off += build_udp_header(tbuf + off, payload_len); in build_packet() 162 if (off + payload_len > sizeof(tbuf)) in build_packet() 165 memset(tbuf + off, DATA_CHAR, payload_len); in build_packet() 243 do_send(fd, tbuf, len); in do_tx() 374 tbuf + sizeof(struct virtio_net_hdr)); in run_test() 376 do_rx(fdr, cfg_payload_len, tbuf + total_len - cfg_payload_len); in run_test()
|
/tools/perf/ui/browsers/ |
D | res_sample.c | 48 char tbuf[64]; in res_sample_browse() local 50 timestamp__scnprintf_nsec(res_samples[i].time, tbuf, sizeof tbuf); in res_sample_browse() 51 if (asprintf(&names[i], "%s: CPU %d tid %d", tbuf, in res_sample_browse()
|
/tools/perf/util/ |
D | stat-display.c | 290 char tbuf[1024]; in print_metric_only_csv() local 294 unit = fixunit(tbuf, os->evsel, unit); in print_metric_only_csv() 314 char tbuf[1024]; in print_metric_header() local 323 unit = fixunit(tbuf, os->evsel, unit); in print_metric_header()
|