Searched refs:SAFE_READ_MEMINFO (Results 1 – 25 of 27) sorted by relevance
12
84 swap_free_init = SAFE_READ_MEMINFO("SwapFree:"); in init_meminfo()87 mem_available_init = SAFE_READ_MEMINFO("MemFree:") in init_meminfo()88 + SAFE_READ_MEMINFO("Cached:"); in init_meminfo()131 swap_free_now = SAFE_READ_MEMINFO("SwapFree:"); in check_swapping()133 if (abs(swap_free_now - SAFE_READ_MEMINFO("SwapFree:")) < 512) in check_swapping()139 swap_free_now = SAFE_READ_MEMINFO("SwapFree:"); in check_swapping()
115 mem_total = SAFE_READ_MEMINFO("MemTotal:"); in setup()117 swap_total = SAFE_READ_MEMINFO("SwapTotal:"); in setup()121 commit_limit = SAFE_READ_MEMINFO("CommitLimit:"); in setup()222 mem_free = SAFE_READ_MEMINFO("MemFree:"); in update_mem()223 swap_free = SAFE_READ_MEMINFO("SwapFree:"); in update_mem()231 commit_limit = SAFE_READ_MEMINFO("CommitLimit:"); in update_mem_commit()232 committed = SAFE_READ_MEMINFO("Committed_AS:"); in update_mem_commit()
103 memfree = SAFE_READ_MEMINFO("MemFree:"); in test_tune()104 memtotal = SAFE_READ_MEMINFO("MemTotal:"); in test_tune()166 memfree = SAFE_READ_MEMINFO("MemFree:"); in eatup_mem()180 memfree = SAFE_READ_MEMINFO("MemFree:"); in eatup_mem()192 memfree = SAFE_READ_MEMINFO("MemFree:"); in check_monitor()217 total_mem = SAFE_READ_MEMINFO("MemTotal:") + SAFE_READ_MEMINFO("SwapTotal:"); in setup()
165 memfree = SAFE_READ_MEMINFO("CommitLimit:") - SAFE_READ_MEMINFO("Committed_AS:"); in max_map_count_test()
105 if (checkproc(SAFE_READ_MEMINFO("HugePages_Total:"), in test_overcommit()108 if (checkproc(SAFE_READ_MEMINFO("HugePages_Free:"), in test_overcommit()111 if (checkproc(SAFE_READ_MEMINFO("HugePages_Surp:"), in test_overcommit()114 if (checkproc(SAFE_READ_MEMINFO("HugePages_Rsvd:"), in test_overcommit()140 if (checkproc(SAFE_READ_MEMINFO("HugePages_Total:"), in test_overcommit()143 if (checkproc(SAFE_READ_MEMINFO("HugePages_Free:"), in test_overcommit()146 if (checkproc(SAFE_READ_MEMINFO("HugePages_Surp:"), in test_overcommit()149 if (checkproc(SAFE_READ_MEMINFO("HugePages_Rsvd:"), in test_overcommit()197 hugepagesize = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
62 beforetest = SAFE_READ_MEMINFO("HugePages_Free:"); in test_hugemmap()64 page_sz = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in test_hugemmap()78 aftertest = SAFE_READ_MEMINFO("HugePages_Free:"); in test_hugemmap()
68 freepages = SAFE_READ_MEMINFO("HugePages_Free:"); in test_hugemmap()71 huge_pagesize = SAFE_READ_MEMINFO("Hugepagesize:"); in test_hugemmap()96 aftertest = SAFE_READ_MEMINFO("HugePages_Free:"); in test_hugemmap()
56 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()60 if (hugepages * SAFE_READ_MEMINFO("Hugepagesize:") > SAFE_READ_MEMINFO("MemTotal:")) in setup()
71 map_sz = SAFE_READ_MEMINFO("Hugepagesize:") * 1024 * 2; in test_hugemmap()
47 huge_free = SAFE_READ_MEMINFO("HugePages_Free:"); in test_hugeshmat()49 huge_free2 = SAFE_READ_MEMINFO("HugePages_Free:"); in test_hugeshmat()89 mem_total = SAFE_READ_MEMINFO("MemTotal:"); in setup()100 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
51 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
96 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
101 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
176 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
112 hps = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()115 memfree = (SAFE_READ_MEMINFO("MemFree:") * 1024 + in setup()116 SAFE_READ_MEMINFO("Cached:") * 1024); in setup()
87 hugepage_size = SAFE_READ_MEMINFO("Hugepagesize:") * KB; in setup()
72 mem_avail = SAFE_READ_MEMINFO("MemFree:"); in limit_hugepages()75 max_hpages = mem_avail / SAFE_READ_MEMINFO("Hugepagesize:"); in limit_hugepages()
41 #define SAFE_READ_MEMINFO(item) \ macro
76 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
87 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
77 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
94 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
141 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
126 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()