Searched refs:HPS (Results 1 – 6 of 6) sorted by relevance
/third_party/ltp/testcases/kernel/mce-test/tsrc/ |
D | tsoftinj.c | 123 char *p = alloc_shm_hugepage(&shmid, HPS); in shm_hugepage() 136 char *p = alloc_anonymous_hugepage(HPS, 1); in anonymous_hugepage() 141 free_anonymous_hugepage(p, HPS); in anonymous_hugepage() 151 char *p = alloc_filebacked_hugepage(path, HPS, 0, &fd); in filebacked_hugepage() 156 free_filebacked_hugepage(p, HPS, fd, path); in filebacked_hugepage() 177 HPS = gethugepagesize(); in main() 191 check(&count, "shm hugepage", HPS / PS); in main() 193 check(&count, "anonymous hugepage", HPS / PS); in main() 195 check(&count, "file backed hugepage", HPS / PS); in main()
|
D | hugepage.h | 9 int HPS; variable 27 if ((addr + i * HPS) == avoid_addr) in write_hugepage() 29 for (j = 0; j < HPS; j++) { in write_hugepage() 30 *(addr + i * HPS + j) = (char)('a' + ((i + j) % 26)); in write_hugepage() 52 if ((addr + i * HPS) == avoid_addr) in read_hugepage() 54 for (j = 0; j < HPS; j++) { in read_hugepage() 55 if (*(addr + i * HPS + j) != (char)('a' + ((i + j) % 26))) { in read_hugepage()
|
D | tinjpage.c | 134 if (lsb != ilog2(HPS)) { in sighandler() 795 if (!HPS) in anonymous_hugepage() 798 page = alloc_anonymous_hugepage(HPS, 1); in anonymous_hugepage() 802 free_anonymous_hugepage(page, HPS); in anonymous_hugepage() 812 if (!HPS) in file_backed_hugepage() 816 page = alloc_filebacked_hugepage(buf, HPS, 0, &fd); in file_backed_hugepage() 820 free_filebacked_hugepage(page, HPS, fd, buf); in file_backed_hugepage() 828 if (!HPS) in shm_hugepage() 831 page = alloc_shm_hugepage(&tmpcount, HPS); in shm_hugepage() 902 HPS = gethugepagesize(); in main()
|
D | thugetlb.c | 134 HPS = HPAGE_SIZE; in main()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | raw_ostream.cpp | 369 HexPrintStyle HPS = FB.Upper ? HexPrintStyle::Upper : HexPrintStyle::Lower; in operator <<() local 393 llvm::write_hex(*this, Offset + LineIndex, HPS, OffsetWidth); in operator <<() 406 llvm::write_hex(*this, Line[I], HPS, 2); in operator <<()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | raw_ostream.cpp | 409 HexPrintStyle HPS = FB.Upper ? HexPrintStyle::Upper : HexPrintStyle::Lower; in operator <<() local 433 llvm::write_hex(*this, Offset + LineIndex, HPS, OffsetWidth); in operator <<() 446 llvm::write_hex(*this, Line[I], HPS, 2); in operator <<()
|