Searched refs:SWI_buf_index (Results 1 – 3 of 3) sorted by relevance
129 SWI_buf_index++; in alloc_ring_buf()130 if (SWI_buf_index == SWI_BUF_RINGS) in alloc_ring_buf()131 SWI_buf_index = 0; in alloc_ring_buf()132 if (SWI_buffers_sz[SWI_buf_index+1] == 0) { in alloc_ring_buf()137 SWI_buffers_sz[SWI_buf_index+1] = 512; in alloc_ring_buf()138 SWI_buffers[SWI_buf_index+1] = new; in alloc_ring_buf()140 return SWI_buffers[SWI_buf_index+1]; in alloc_ring_buf()
158 #define SWI_buf_index WL->SWI_buf_index_ macro
174 int SWI_buf_index_ SWI_buf_index =0