Searched refs:MAP_LENGTH (Results 1 – 2 of 2) sorted by relevance
35 #define MAP_LENGTH (4UL * hpage_size) macro52 p = SAFE_MMAP(0, MAP_LENGTH + TRUNCATE_POINT, PROT_READ | PROT_WRITE, in run_test()55 SAFE_MUNMAP(p, MAP_LENGTH + TRUNCATE_POINT); in run_test()57 q = SAFE_MMAP((void *)HIGH_ADDR, MAP_LENGTH, PROT_READ | PROT_WRITE, in run_test()61 for (i = 0; i < MAP_LENGTH; i += hpage_size) in run_test()71 SAFE_MUNMAP(q, MAP_LENGTH); in run_test()
90 static const int MAP_LENGTH = 1024; in GetSharedLibraryAddresses() local107 char buffer[MAP_LENGTH]; in GetSharedLibraryAddresses()111 if (bytes_read >= MAP_LENGTH - 1) break; in GetSharedLibraryAddresses()