Searched refs:mmap_idx (Results 1 – 1 of 1) sorted by relevance
2252 int mmap_idx; member2312 if (mmaps[rd->mmap_idx]) { in reader__mmap()2313 munmap(mmaps[rd->mmap_idx], rd->mmap_size); in reader__mmap()2314 mmaps[rd->mmap_idx] = NULL; in reader__mmap()2327 mmaps[rd->mmap_idx] = rd->mmap_cur = buf; in reader__mmap()2328 rd->mmap_idx = (rd->mmap_idx + 1) & (ARRAY_SIZE(rd->mmaps) - 1); in reader__mmap()