Home
last modified time | relevance | path

Searched refs:MAP_LENGTH (Results 1 – 2 of 2) sorted by relevance

/third_party/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap17.c35 #define MAP_LENGTH (4UL * hpage_size) macro
52 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()
/third_party/node/deps/v8/src/base/platform/
Dplatform-aix.cc90 static const int MAP_LENGTH = 1024; in GetSharedLibraryAddresses() local
107 char buffer[MAP_LENGTH]; in GetSharedLibraryAddresses()
111 if (bytes_read >= MAP_LENGTH - 1) break; in GetSharedLibraryAddresses()