Searched refs:mmaped_area (Results 1 – 1 of 1) sorted by relevance
18 static char *mmaped_area; variable52 mmaped_area = SAFE_MMAP(NULL, pagesize, PROT_READ | PROT_WRITE, in test_msync()55 mmaped_area[8] = 'B'; in test_msync()56 dirty = get_dirty_bit(mmaped_area); in test_msync()62 if (msync(mmaped_area, pagesize, MS_SYNC) < 0) { in test_msync()66 dirty = get_dirty_bit(mmaped_area); in test_msync()74 SAFE_MUNMAP(mmaped_area, pagesize); in test_msync()75 mmaped_area = NULL; in test_msync()85 if (mmaped_area) in cleanup()86 SAFE_MUNMAP(mmaped_area, pagesize); in cleanup()