Lines Matching defs:count
159 void check(unsigned *count, char *name, unsigned expected)
162 unsigned diff = count2 - *count;
170 *count = count2;
179 unsigned count = hardware_corrupted();
183 check(&count, "anonymous", 1);
185 check(&count, "anonymous mlock", 1);
187 check(&count, "disk backed", 1);
189 check(&count, "disk backed mlock", 1);
191 check(&count, "shm hugepage", HPS / PS);
193 check(&count, "anonymous hugepage", HPS / PS);
195 check(&count, "file backed hugepage", HPS / PS);