Searched refs:ring_cnt (Results 1 – 3 of 3) sorted by relevance
40 int ring_cnt; member100 tmp = libbpf_reallocarray(rb->rings, rb->ring_cnt + 1, sizeof(*rb->rings)); in ring_buffer__add()105 tmp = libbpf_reallocarray(rb->events, rb->ring_cnt + 1, sizeof(*rb->events)); in ring_buffer__add()110 r = &rb->rings[rb->ring_cnt]; in ring_buffer__add()148 e = &rb->events[rb->ring_cnt]; in ring_buffer__add()152 e->data.fd = rb->ring_cnt; in ring_buffer__add()161 rb->ring_cnt++; in ring_buffer__add()172 for (i = 0; i < rb->ring_cnt; ++i) in ring_buffer__free()280 for (i = 0; i < rb->ring_cnt; i++) { in ring_buffer__consume()302 cnt = epoll_wait(rb->epoll_fd, rb->events, rb->ring_cnt, timeout_ms); in ring_buffer__poll()
43 unsigned ring_cnt; member
711 msm_ring->seqno = ++to_msm_device(pipe->dev)->ring_cnt; in msm_ringbuffer_new()