Home
last modified time | relevance | path

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

/system/vold/
DEncryptInplace.cpp62 off64_t one_pct, cur_pct, new_pct; member
84 data->new_pct = data->used_blocks_already_done / data->one_pct; in update_progress()
86 data->new_pct = data->blocks_already_done / data->one_pct; in update_progress()
91 if (data->new_pct > data->cur_pct) { in update_progress()
93 data->cur_pct = data->new_pct; in update_progress()
476 off64_t one_pct, cur_pct, new_pct; in cryptfs_enable_inplace_full() local
533 new_pct = (i + blocks_already_done) / one_pct; in cryptfs_enable_inplace_full()
534 if (set_progress_properties && new_pct > cur_pct) { in cryptfs_enable_inplace_full()
537 cur_pct = new_pct; in cryptfs_enable_inplace_full()