Searched refs:avail_data (Results 1 – 3 of 3) sorted by relevance
31 long avail_data = 0; variable72 avail_data = bpf_ringbuf_query(&ringbuf, BPF_RB_AVAIL_DATA); in test_ringbuf()
410 unsigned char *source, unsigned int avail_data) in usbatm_extract_cells() argument423 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()
166 CHECK(skel->bss->avail_data != 3 * rec_sz, in ringbuf_subtest()168 3L * rec_sz, skel->bss->avail_data); in ringbuf_subtest()
Completed in 12 milliseconds