Searched refs:SAFE_READ_MEMINFO (Results 1 – 25 of 25) sorted by relevance
83 swap_free_init = SAFE_READ_MEMINFO("SwapFree:"); in init_meminfo()86 mem_available_init = SAFE_READ_MEMINFO("MemFree:") in init_meminfo()87 + SAFE_READ_MEMINFO("Cached:"); in init_meminfo()130 swap_free_now = SAFE_READ_MEMINFO("SwapFree:"); in check_swapping()132 if (abs(swap_free_now - SAFE_READ_MEMINFO("SwapFree:")) < 512) in check_swapping()138 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()224 mem_free = SAFE_READ_MEMINFO("MemFree:"); in update_mem()225 swap_free = SAFE_READ_MEMINFO("SwapFree:"); in update_mem()233 commit_limit = SAFE_READ_MEMINFO("CommitLimit:"); in update_mem_commit()234 committed = SAFE_READ_MEMINFO("Committed_AS:"); in update_mem_commit()
102 memfree = SAFE_READ_MEMINFO("MemFree:"); in test_tune()103 memtotal = SAFE_READ_MEMINFO("MemTotal:"); in test_tune()165 memfree = SAFE_READ_MEMINFO("MemFree:"); in eatup_mem()179 memfree = SAFE_READ_MEMINFO("MemFree:"); in eatup_mem()191 memfree = SAFE_READ_MEMINFO("MemFree:"); in check_monitor()216 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()
117 if (checkproc(SAFE_READ_MEMINFO("HugePages_Total:"), in test_overcommit()120 if (checkproc(SAFE_READ_MEMINFO("HugePages_Free:"), in test_overcommit()123 if (checkproc(SAFE_READ_MEMINFO("HugePages_Surp:"), in test_overcommit()126 if (checkproc(SAFE_READ_MEMINFO("HugePages_Rsvd:"), in test_overcommit()152 if (checkproc(SAFE_READ_MEMINFO("HugePages_Total:"), in test_overcommit()155 if (checkproc(SAFE_READ_MEMINFO("HugePages_Free:"), in test_overcommit()158 if (checkproc(SAFE_READ_MEMINFO("HugePages_Surp:"), in test_overcommit()161 if (checkproc(SAFE_READ_MEMINFO("HugePages_Rsvd:"), in test_overcommit()209 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()
67 freepages = SAFE_READ_MEMINFO("HugePages_Free:"); in test_hugemmap()70 huge_pagesize = SAFE_READ_MEMINFO("Hugepagesize:"); in test_hugemmap()95 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()
70 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()
95 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
51 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
99 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
175 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
87 hugepage_size = SAFE_READ_MEMINFO("Hugepagesize:") * KB; in setup()
96 hps = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
41 #define SAFE_READ_MEMINFO(item) \ macro
75 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
86 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
76 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
93 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
140 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
100 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
125 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
319 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()