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()
172 hole_size, in puncture_fs()
177 starting_max = hole_max + hole_size; in puncture_fs()
205 u64 hole_size = 0; in main() local
215 hole_size = atoll(optarg); in main()
251 if (total_size < total_hole_size || total_hole_size < hole_size) { in main()
258 if (!puncture_fs(path, total_size, hole_size, total_hole_size)) { in main()
/system/extras/ext4_utils/
Dallocate.c363 u32 hole_start, hole_size; in ext4_allocate_best_fit_partial() local
365 hole_size = bgs[i].chunks[j].block - hole_start; in ext4_allocate_best_fit_partial()
366 if (hole_size == len) { in ext4_allocate_best_fit_partial()
371 found_allocate_len = hole_size; in ext4_allocate_best_fit_partial()
373 } else if (hole_size > len && (found_allocate_len == 0 || (found_allocate_len > hole_size))) { in ext4_allocate_best_fit_partial()
377 found_allocate_len = hole_size; in ext4_allocate_best_fit_partial()
380 if (found_allocate_len < hole_size) { in ext4_allocate_best_fit_partial()
384 found_allocate_len = hole_size; in ext4_allocate_best_fit_partial()