Make L1 entry with optional flags.
(cluster_addr: u64, refcount_is_one: bool)
| 65 | |
| 66 | /// Make L1 entry with optional flags. |
| 67 | pub(super) fn l1_entry_make(cluster_addr: u64, refcount_is_one: bool) -> u64 { |
| 68 | (cluster_addr & L1_TABLE_OFFSET_MASK) | (refcount_is_one as u64 * CLUSTER_USED_FLAG) |
| 69 | } |
| 70 | |
| 71 | /// Ceiling of the division of `dividend`/`divisor`. |
| 72 | pub(super) fn div_round_up_u32(dividend: u32, divisor: u32) -> u32 { |
no outgoing calls
no test coverage detected