Lines Matching refs:extent_size
359 size_t extent_size = crypt_stat->extent_size; in crypt_extent() local
362 extent_base = (((loff_t)page_index) * (PAGE_SIZE / extent_size)); in crypt_extent()
375 sg_set_page(&src_sg, src_page, extent_size, in crypt_extent()
376 extent_offset * extent_size); in crypt_extent()
377 sg_set_page(&dst_sg, dst_page, extent_size, in crypt_extent()
378 extent_offset * extent_size); in crypt_extent()
380 rc = crypt_scatterlist(crypt_stat, &dst_sg, &src_sg, extent_size, in crypt_extent()
432 extent_offset < (PAGE_SIZE / crypt_stat->extent_size); in ecryptfs_encrypt_page()
505 extent_offset < (PAGE_SIZE / crypt_stat->extent_size); in ecryptfs_decrypt_page()
574 if (crypt_stat->extent_size == 0) in set_extent_mask_and_shift()
576 extent_size_tmp = crypt_stat->extent_size; in set_extent_mask_and_shift()
588 crypt_stat->extent_size = ECRYPTFS_DEFAULT_EXTENT_SIZE; in ecryptfs_set_default_sizes()
980 header_extent_size = (u32)crypt_stat->extent_size; in ecryptfs_write_header_metadata()
982 (u16)(crypt_stat->metadata_size / crypt_stat->extent_size); in ecryptfs_write_header_metadata()
1375 rc = ecryptfs_read_lower(page_virt, 0, crypt_stat->extent_size, in ecryptfs_read_metadata()