Lines Matching refs:mmaps
2293 char *mmaps[NUM_MMAPS];
2310 char **mmaps = rd->mmaps;
2322 memset(mmaps, 0, sizeof(rd->mmaps));
2342 char *buf, **mmaps = rd->mmaps;
2355 if (mmaps[rd->mmap_idx]) {
2356 munmap(mmaps[rd->mmap_idx], rd->mmap_size);
2357 mmaps[rd->mmap_idx] = NULL;
2370 mmaps[rd->mmap_idx] = rd->mmap_cur = buf;
2371 rd->mmap_idx = (rd->mmap_idx + 1) & (ARRAY_SIZE(rd->mmaps) - 1);