Searched refs:total_size (Results 1 – 7 of 7) sorted by relevance
/system/extras/puncture_fs/ |
D | puncture_fs.c | 138 static bool puncture_fs (const char * const path, const u64 total_size, in puncture_fs() argument 140 u64 increments = (hole_size * total_size) / total_hole_size; in puncture_fs() 160 while (ending_max <= total_size) { in puncture_fs() 162 (int) (100.0 * starting_max / total_size)); in puncture_fs() 203 u64 total_size = 0; in main() local 246 total_size = get_free_space(path); in main() 247 if (!total_size) { in main() 250 if (total_size < total_hole_size || total_hole_size < hole_size) { in main() 257 if (!puncture_fs(path, total_size, hole_size, total_hole_size)) { in main()
|
/system/core/cpio/ |
D | mkbootfs.c | 54 static int total_size = 0; variable 94 while(total_size & 3) { in _eject() 95 total_size++; in _eject() 122 total_size += 6 + 8*13 + olen + 1; in _eject() 126 while(total_size & 3) { in _eject() 127 total_size++; in _eject() 133 total_size += datasize; in _eject() 143 while(total_size & 0xff) { in _eject_trailer() 144 total_size++; in _eject_trailer()
|
/system/extras/showslab/ |
D | showslab.c | 33 unsigned long total_size; /* size of all objects */ member 136 stats->total_size += p->nr_objs * p->obj_size; in get_slabinfo() 151 stats->avg_obj_size = stats->total_size / stats->nr_objs; in get_slabinfo() 327 stats.total_size / 1024.0, in main() 328 100.0 * stats.active_size / stats.total_size, in main()
|
/system/core/libdiskconfig/ |
D | diskconfig.c | 277 uint64_t total_size; in validate() local 346 total_size = dinfo->skip_lba * dinfo->sect_size; in validate() 352 total_size += part->len_kb * 1024; in validate() 374 if (S_ISBLK(stat.st_mode) && total_size > disk_size) { in validate() 376 "size (%"PRIu64").", total_size, disk_size); in validate()
|
/system/extras/micro_bench/ |
D | micro_bench.cpp | 283 size_t total_size = size; \ 285 total_size += cmd_data.dst_str_size; \ 286 uint8_t *buf2 = allocateAlignedMemory(total_size, cmd_data.dst_align, cmd_data.dst_or_mask); \ 341 size_t total_size = size; \ 343 total_size += cmd_data.dst_str_size; \ 344 size_t buf2_incr = getAlignmentIncrement(total_size, cmd_data.dst_align); \
|
/system/extras/kexec_tools/ |
D | kexecload.c | 71 total_size; in main() local
|
/system/core/adb/ |
D | commandline.c | 1952 unsigned long long total_size = 0; in install_multiple_app() local 1966 total_size += sb.st_size; in install_multiple_app() 1978 snprintf(buf, sizeof(buf), "exec:pm install-create -S %lld", total_size); in install_multiple_app()
|