Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dtest_ringbuf.c31 long avail_data = 0; variable
71 avail_data = bpf_ringbuf_query(&ringbuf, BPF_RB_AVAIL_DATA); in test_ringbuf()
/Linux-v6.6/drivers/usb/atm/
Dusbatm.c410 unsigned char *source, unsigned int avail_data) in usbatm_extract_cells() argument
423 if (avail_data >= space_left) { in usbatm_extract_cells()
427 avail_data -= space_left; in usbatm_extract_cells()
432 memcpy(cell_buf + buf_usage, source, avail_data); in usbatm_extract_cells()
433 instance->buf_usage = buf_usage + avail_data; in usbatm_extract_cells()
438 for (; avail_data >= stride; avail_data -= stride, source += stride) in usbatm_extract_cells()
441 if (avail_data > 0) { in usbatm_extract_cells()
444 memcpy(instance->cell_buf, source, avail_data); in usbatm_extract_cells()
445 instance->buf_usage = avail_data; in usbatm_extract_cells()
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dringbuf.c166 CHECK(skel->bss->avail_data != 3 * rec_sz, in ringbuf_subtest()
168 3L * rec_sz, skel->bss->avail_data); in ringbuf_subtest()