Function libparted::round_up_to [] [src]

pub fn round_up_to(sector: i64, grain_size: i64) -> i64

Rounds a number up to the closest number that is a multiple of the grain size.