Searched refs:mmap_sz (Results 1 – 1 of 1) sorted by relevance
27 size_t mmap_sz; member72 (void) posix_madvise(fmd->mmap_ptr, fmd->mmap_sz, FIO_MADV_FREE); in fio_mmap_file()96 fmd->mmap_sz = mmap_map_size; in fio_mmapio_prep_limited()97 if (fmd->mmap_sz > f->io_size) in fio_mmapio_prep_limited()98 fmd->mmap_sz = f->io_size; in fio_mmapio_prep_limited()102 return fio_mmap_file(td, f, fmd->mmap_sz, fmd->mmap_off); in fio_mmapio_prep_limited()122 fmd->mmap_sz = f->io_size; in fio_mmapio_prep_full()125 ret = fio_mmap_file(td, f, fmd->mmap_sz, fmd->mmap_off); in fio_mmapio_prep_full()142 io_u->offset + io_u->buflen < fmd->mmap_off + fmd->mmap_sz) in fio_mmapio_prep()149 if (munmap(fmd->mmap_ptr, fmd->mmap_sz) < 0) in fio_mmapio_prep()[all …]