Searched refs:total_mem (Results 1 – 3 of 3) sorted by relevance
/external/webp/src/utils/ |
D | utils.c | 69 static size_t total_mem = 0; variable 81 fprintf(stderr, "total_mem: %u\n", (uint32_t)total_mem); in PrintMemInfo() 125 total_mem += size; in AddMem() 130 num_malloc_calls + num_calloc_calls, (uint32_t)total_mem); in AddMem() 132 fprintf(stderr, "Mem: %u (+%u)\n", (uint32_t)total_mem, (uint32_t)size); in AddMem() 135 if (total_mem > high_water_mark) high_water_mark = total_mem; in AddMem() 151 total_mem -= block->size_; in SubMem() 154 (uint32_t)total_mem, (uint32_t)block->size_); in SubMem() 180 const uint64_t new_total_mem = (uint64_t)total_mem + total_size; in CheckSizeArgumentsOverflow()
|
/external/ltp/testcases/kernel/mem/tunable/ |
D | min_free_kbytes.c | 45 static unsigned long total_mem; variable 132 if (total_mem < 3145728UL) in test_tune() 217 total_mem = SAFE_READ_MEMINFO("MemTotal:") + SAFE_READ_MEMINFO("SwapTotal:"); in setup()
|
/external/squashfs-tools/squashfs-tools/ |
D | mksquashfs.c | 350 void check_usable_phys_mem(int total_mem); 4356 int total_mem = readq; in initialise_threads() local 4372 if(add_overflow(total_mem, fragq)) in initialise_threads() 4374 total_mem += fragq; in initialise_threads() 4375 if(add_overflow(total_mem, bwriteq)) in initialise_threads() 4377 total_mem += bwriteq; in initialise_threads() 4378 if(add_overflow(total_mem, fwriteq)) in initialise_threads() 4380 total_mem += fwriteq; in initialise_threads() 4382 check_usable_phys_mem(total_mem); in initialise_threads() 5452 void check_usable_phys_mem(int total_mem) in check_usable_phys_mem() argument [all …]
|