Lines Matching refs:mmaps
2250 char *mmaps[NUM_MMAPS];
2267 char **mmaps = rd->mmaps;
2279 memset(mmaps, 0, sizeof(rd->mmaps));
2299 char *buf, **mmaps = rd->mmaps;
2312 if (mmaps[rd->mmap_idx]) {
2313 munmap(mmaps[rd->mmap_idx], rd->mmap_size);
2314 mmaps[rd->mmap_idx] = NULL;
2327 mmaps[rd->mmap_idx] = rd->mmap_cur = buf;
2328 rd->mmap_idx = (rd->mmap_idx + 1) & (ARRAY_SIZE(rd->mmaps) - 1);