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.c377 u32 hole_start, hole_size; in ext4_allocate_best_fit_partial() local
379 hole_size = bgs[i].chunks[j].block - hole_start; in ext4_allocate_best_fit_partial()
380 if (hole_size == len) { in ext4_allocate_best_fit_partial()
385 found_allocate_len = hole_size; in ext4_allocate_best_fit_partial()
387 } else if (hole_size > len && (found_allocate_len == 0 || (found_allocate_len > hole_size))) { in ext4_allocate_best_fit_partial()
391 found_allocate_len = hole_size; in ext4_allocate_best_fit_partial()
394 if (found_allocate_len < hole_size) { in ext4_allocate_best_fit_partial()
398 found_allocate_len = hole_size; in ext4_allocate_best_fit_partial()