Searched refs:divide_roundup (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Virtualization/guest/authfs/src/fsverity/ |
D | common.rs | 22 use crate::common::{divide_roundup, CHUNK_SIZE}; 48 n => Some(divide_roundup(64 - (n - 1).leading_zeros() as u64, 7)), in log128_ceil() 55 let hash_pages = divide_roundup(data_size, hashes_per_node * CHUNK_SIZE); in merkle_tree_height() 63 let hash_size = divide_roundup(data_size, CHUNK_SIZE) * SHA256_HASH_SIZE as u64; in merkle_tree_size() 64 let hash_storage_size = divide_roundup(hash_size, CHUNK_SIZE) * CHUNK_SIZE; in merkle_tree_size()
|
D | builder.rs | 20 use crate::common::{divide_roundup, CHUNK_SIZE}; 78 let leaves_size = divide_roundup(new_file_size, CHUNK_SIZE); in resize()
|
D | verifier.rs | 21 use crate::common::{divide_roundup, CHUNK_SIZE}; 89 let nodes_at_level = divide_roundup(file_size, leaves_size_per_node);
|
/packages/modules/Virtualization/guest/authfs/src/ |
D | file.rs | 9 use crate::common::{divide_roundup, CHUNK_SIZE}; 86 let last_index = divide_roundup(file_size, CHUNK_SIZE); in new()
|
D | common.rs | 20 pub fn divide_roundup(dividend: u64, divisor: u64) -> u64 { in divide_roundup() function
|
D | fusefs.rs | 39 use crate::common::{divide_roundup, ChunkedSizeIter, CHUNK_SIZE}; 417 st.st_blocks = libc::c_longlong::try_from(divide_roundup(file_size, 512)) in create_stat()
|