Searched refs:mmap_idx (Results 1 – 1 of 1) sorted by relevance
2248 int mmap_idx; member2308 if (mmaps[rd->mmap_idx]) { in reader__mmap()2309 munmap(mmaps[rd->mmap_idx], rd->mmap_size); in reader__mmap()2310 mmaps[rd->mmap_idx] = NULL; in reader__mmap()2323 mmaps[rd->mmap_idx] = rd->mmap_cur = buf; in reader__mmap()2324 rd->mmap_idx = (rd->mmap_idx + 1) & (ARRAY_SIZE(rd->mmaps) - 1); in reader__mmap()