Lines Matching refs:size_already_done
249 off64_t size, off64_t* size_already_done, off64_t tot_size, in cryptfs_enable_inplace_ext4() argument
258 if (previously_encrypted_upto > *size_already_done) { in cryptfs_enable_inplace_ext4()
304 data.blocks_already_done = *size_already_done / CRYPT_SECTORS_PER_BUFSIZE; in cryptfs_enable_inplace_ext4()
329 *size_already_done += data.completed ? size : data.last_written_sector; in cryptfs_enable_inplace_ext4()
388 off64_t size, off64_t* size_already_done, off64_t tot_size, in cryptfs_enable_inplace_f2fs() argument
396 if (previously_encrypted_upto > *size_already_done) { in cryptfs_enable_inplace_f2fs()
422 data.blocks_already_done = *size_already_done / CRYPT_SECTORS_PER_BUFSIZE; in cryptfs_enable_inplace_f2fs()
453 *size_already_done += size; in cryptfs_enable_inplace_f2fs()
469 off64_t size, off64_t* size_already_done, off64_t tot_size, in cryptfs_enable_inplace_full() argument
498 blocks_already_done = *size_already_done / CRYPT_SECTORS_PER_BUFSIZE; in cryptfs_enable_inplace_full()
502 i = previously_encrypted_upto + 1 - *size_already_done; in cryptfs_enable_inplace_full()
570 *size_already_done += size; in cryptfs_enable_inplace_full()
582 off64_t* size_already_done, off64_t tot_size, in cryptfs_enable_inplace() argument
586 << ", " << size_already_done << ", " << tot_size << ", " << previously_encrypted_upto in cryptfs_enable_inplace()
592 if (*size_already_done + size < previously_encrypted_upto) { in cryptfs_enable_inplace()
594 *size_already_done += size; in cryptfs_enable_inplace()
602 if ((rc_ext4 = cryptfs_enable_inplace_ext4(crypto_blkdev, real_blkdev, size, size_already_done, in cryptfs_enable_inplace()
610 if ((rc_f2fs = cryptfs_enable_inplace_f2fs(crypto_blkdev, real_blkdev, size, size_already_done, in cryptfs_enable_inplace()
619 cryptfs_enable_inplace_full(crypto_blkdev, real_blkdev, size, size_already_done, tot_size, in cryptfs_enable_inplace()