Home
last modified time | relevance | path

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

/packages/modules/Virtualization/authfs/src/fsverity/
Dcommon.rs22 use crate::common::{divide_roundup, CHUNK_SIZE};
44 n => Some(divide_roundup(64 - (n - 1).leading_zeros() as u64, 7)), in log128_ceil()
51 let hash_pages = divide_roundup(data_size, hashes_per_node * CHUNK_SIZE); in merkle_tree_height()
Dbuilder.rs18 use crate::common::{divide_roundup, CHUNK_SIZE};
66 let leaves_size = divide_roundup(new_file_size, CHUNK_SIZE); in resize()
Dverifier.rs23 use crate::common::{divide_roundup, CHUNK_SIZE};
85 let nodes_at_level = divide_roundup(file_size, leaves_size_per_node);
/packages/modules/Virtualization/authfs/src/
Dcommon.rs20 pub fn divide_roundup(dividend: u64, divisor: u64) -> u64 { in divide_roundup() function
Dfusefs.rs36 use crate::common::{divide_roundup, ChunkedSizeIter, CHUNK_SIZE};
133 st.st_blocks = libc::c_longlong::try_from(divide_roundup(file_size, 512)) in create_stat()