Home
last modified time | relevance | path

Searched refs:hps (Results 1 – 8 of 8) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/memfd_create/
Dmemfd_create03.c88 long hps; in test_def_pagesize() local
91 SAFE_FILE_LINES_SCANF(MEMINFO_PATH, DEFAULT_HPS, &hps); in test_def_pagesize()
92 hps = hps << 10; in test_def_pagesize()
93 unmap_size = hps / 4; in test_def_pagesize()
94 mem = check_huge_mmapable(fd, hps); in test_def_pagesize()
96 for (i = unmap_size; i < hps; i += unmap_size) { in test_def_pagesize()
117 SAFE_MUNMAP(mem, hps); in test_def_pagesize()
120 "munmap() fails for page sizes less than %ldkB\n", hps/1024); in test_def_pagesize()
126 long hps; in test_max_hugepages() local
132 SAFE_FILE_LINES_SCANF(MEMINFO_PATH, DEFAULT_HPS, &hps); in test_max_hugepages()
[all …]
/third_party/ltp/testcases/kernel/mem/thp/
Dthp02.c45 static long hps, size; variable
59 p1 = SAFE_MEMALIGN(hps, size); in do_child()
60 p2 = SAFE_MEMALIGN(hps, size); in do_child()
108 hps = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
109 size = hps * 4; in setup()
/third_party/node/src/large_pages/
Dnode_large_page.cc114 static const size_t hps = 2L * 1024 * 1024; variable
133 return (((addr) + (hps) - 1) & ~((hps) - 1)); in hugepage_align_up()
137 return ((addr) & ~((hps) - 1)); in hugepage_align_down()
213 size_t pagecount = (to - from) / hps; in FindNodeTextRegion()
255 Debug("Found %d huge pages\n", (nregion.to - nregion.from) / hps); in FindNodeTextRegion()
335 __attribute__((__aligned__(hps)))
/third_party/python/Lib/test/
Dmime.types439 application/vnd.hp-hps hps
/third_party/icu/icu4c/source/data/misc/
DsupplementalData.txt5711 "hps",
/third_party/skia/third_party/externals/icu/source/data/misc/
DsupplementalData.txt5711 "hps",
/third_party/flutter/skia/third_party/externals/icu/source/data/misc/
DsupplementalData.txt5510 "hps",
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/X86/
DX86GenAsmMatcher.inc7910 "hps\tvunpcklpd\tvunpcklps\006vxorpd\006vxorps\010vzeroall\nvzeroupper\004"