Searched refs:buf_size_bytes (Results 1 – 2 of 2) sorted by relevance
| /linux/tools/testing/vsock/ |
| H A D | vsock_perf.c | 35 static unsigned long buf_size_bytes = DEFAULT_BUF_SIZE_BYTES; variable 164 printf("RX buffer %lu bytes\n", buf_size_bytes); in run_receiver() 191 data = malloc(buf_size_bytes); in run_receiver() 223 bytes_read = read(fds.fd, data, buf_size_bytes); in run_receiver() 280 printf("TX buffer %lu bytes\n", buf_size_bytes); in run_sender() 290 data = mmap(NULL, buf_size_bytes, PROT_READ | PROT_WRITE, in run_sender() 297 data = malloc(buf_size_bytes); in run_sender() 305 memset(data, 0, buf_size_bytes); in run_sender() 318 sent = send(fd, data, (rest_bytes > buf_size_bytes) ? in run_sender() 319 buf_size_bytes : rest_bytes, in run_sender() [all …]
|
| /linux/drivers/firmware/cirrus/test/ |
| H A D | cs_dsp_mock_wmfw.c | 26 size_t buf_size_bytes; member 465 builder->buf_size_bytes = CS_DSP_MOCK_WMFW_BUF_SIZE; in cs_dsp_mock_wmfw_init()
|