Home
last modified time | relevance | path

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

/system/core/fs_mgr/libfiemap_writer/
Dfiemap_writer.cpp237 const std::function<bool(uint64_t, uint64_t)>& on_progress) { in FallocateFallback() argument
264 if (on_progress && !on_progress(cursor, file_size)) { in FallocateFallback()
273 std::function<bool(uint64_t, uint64_t)> on_progress) { in AllocateFile() argument
290 return FallocateFallback(file_fd, blocksz, file_size, file_path, on_progress); in AllocateFile()
325 if (on_progress && !on_progress(offset, file_size)) { in AllocateFile()
344 if (on_progress && !on_progress(file_size, file_size)) { in AllocateFile()
Dsplit_fiemap_writer.cpp64 auto on_progress = [&](uint64_t written, uint64_t) -> bool { in Create() local
90 auto writer = FiemapWriter::Open(chunk_path, chunk_size, true, on_progress); in Create()