/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; 149 ftruncate(td->mmapfd, total_mem) < 0) { 161 td->orig_buffer = mmap(NULL, total_mem, PROT_READ | PROT_WRITE, flags 213 size_t total_mem; local 249 unsigned int total_mem; local [all...] |
/external/webp/src/utils/ |
utils.c | 65 static size_t total_mem = 0; variable 77 fprintf(stderr, "total_mem: %u\n", (uint32_t)total_mem); 78 fprintf(stderr, "total_mem allocated: %u\n", (uint32_t)total_mem_allocated); 121 total_mem += size; 126 num_malloc_calls + num_calloc_calls, (uint32_t)total_mem); 128 fprintf(stderr, "Mem: %u (+%u)\n", (uint32_t)total_mem, (uint32_t)size); 131 if (total_mem > high_water_mark) high_water_mark = total_mem; 147 total_mem -= block->size_ [all...] |
/external/linux-tools-perf/src/tools/perf/util/ |
header.h | 77 unsigned long long total_mem; member in struct:perf_session_env
|
/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 | 321 void check_usable_phys_mem(int total_mem); 4180 int total_mem = readq; local 5166 int total_mem = get_default_phys_mem(); local [all...] |