Home
last modified time | relevance | path

Searched refs:hole_size (Results 1 – 2 of 2) sorted by relevance

/system/extras/puncture_fs/
Dpuncture_fs.c140 const u64 hole_size, const u64 total_hole_size) { in puncture_fs() argument
141 u64 increments = (hole_size * total_size) / total_hole_size; in puncture_fs()
176 hole_size, in puncture_fs()
181 starting_max = hole_max + hole_size; in puncture_fs()
209 u64 hole_size = 0; in main() local
219 hole_size = atoll(optarg); in main()
255 if (total_size < total_hole_size || total_hole_size < hole_size) { in main()
262 if (!puncture_fs(path, total_size, hole_size, total_hole_size)) { in main()
/system/extras/ext4_utils/
Dallocate.c381 u32 hole_start, hole_size; in ext4_allocate_best_fit_partial() local
383 hole_size = bgs[i].chunks[j].block - hole_start; in ext4_allocate_best_fit_partial()
384 if (hole_size == len) { in ext4_allocate_best_fit_partial()
389 found_allocate_len = hole_size; in ext4_allocate_best_fit_partial()
391 } else if (hole_size > len && (found_allocate_len == 0 || (found_allocate_len > hole_size))) { in ext4_allocate_best_fit_partial()
395 found_allocate_len = hole_size; in ext4_allocate_best_fit_partial()
398 if (found_allocate_len < hole_size) { in ext4_allocate_best_fit_partial()
402 found_allocate_len = hole_size; in ext4_allocate_best_fit_partial()