Searched refs:ring_cnt (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/tools/lib/bpf/ |
D | ringbuf.c | 40 int ring_cnt; member 100 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()
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_main.c | 624 static int qlcnic_max_rings(struct qlcnic_adapter *adapter, u8 ring_cnt, in qlcnic_max_rings() argument 637 if (ring_cnt > num_rings) in qlcnic_max_rings() 640 return ring_cnt; in qlcnic_max_rings() 3954 int qlcnic_validate_rings(struct qlcnic_adapter *adapter, __u32 ring_cnt, in qlcnic_validate_rings() argument 3965 if (!is_power_of_2(ring_cnt)) { in qlcnic_validate_rings() 3977 if (ring_cnt > num_online_cpus()) { in qlcnic_validate_rings()
|
/linux-6.1.9/arch/mips/include/asm/octeon/ |
D | cvmx-lmcx-defs.h | 2764 uint64_t ring_cnt:32; member 2766 uint64_t ring_cnt:32;
|