/external/fio/ |
memory.c | 64 static int alloc_mem_shm(struct thread_data *td, unsigned int total_mem) 73 total_mem = (total_mem + mask) & ~mask; 76 td->shm_id = shmget(IPC_PRIVATE, total_mem, flags); 77 dprint(FD_MEM, "shmget %u, %d\n", total_mem, td->shm_id); 125 static int alloc_mem_mmap(struct thread_data *td, size_t total_mem) 137 total_mem = (total_mem + mask) & ~mask; 150 ftruncate(td->mmapfd, total_mem) < 0) { 163 td->orig_buffer = mmap(NULL, total_mem, PROT_READ | PROT_WRITE, flags 287 size_t total_mem; local 336 unsigned int total_mem; local [all...] |
/external/toolchain-utils/mem_tests/ |
mem_groups.py | 47 num_samples, total_mem = map(int, mem_samples.strip().split(':')) 48 mem_per_sample = total_mem // num_samples 52 group_totals[cutoff_index] += total_mem 55 group_totals[-1] += total_mem
|
/external/webp/src/utils/ |
utils.c | 68 static size_t total_mem = 0; variable 80 fprintf(stderr, "total_mem: %u\n", (uint32_t)total_mem); 81 fprintf(stderr, "total_mem allocated: %u\n", (uint32_t)total_mem_allocated); 124 total_mem += size; 129 num_malloc_calls + num_calloc_calls, (uint32_t)total_mem); 131 fprintf(stderr, "Mem: %u (+%u)\n", (uint32_t)total_mem, (uint32_t)size); 134 if (total_mem > high_water_mark) high_water_mark = total_mem; 150 total_mem -= block->size_ [all...] |
/external/ltp/testcases/kernel/mem/tunable/ |
min_free_kbytes.c | 60 static unsigned long total_mem; variable 161 if (total_mem < 3145728UL) 250 total_mem = read_meminfo("MemTotal:") + read_meminfo("SwapTotal:");
|
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/ |
header.h | 90 unsigned long long total_mem; member in struct:perf_session_env
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/ |
header.h | 77 unsigned long long total_mem; member in struct:perf_session_env
|
/external/squashfs-tools/squashfs-tools/ |
mksquashfs.c | 337 void check_usable_phys_mem(int total_mem); 4312 int total_mem = readq; local 5473 int total_mem = get_default_phys_mem(); local [all...] |