Searched refs:check_range (Results 1 – 2 of 2) sorted by relevance
59 fn check_range(&self, rw_off: u64, rw_size: usize) -> Result<u64, CommandError> { in check_range() method68 let offset = self.check_range(offset, out.len())?; in read()78 let offset = self.check_range(offset, data.len())?; in write()
548 fn check_range( in check_range() function572 let blk_offset = check_range(blk_io, offset, out).map(u64::try_from)??; in read_aligned_all()744 let blk_offset = check_range(blk_io, offset, data)?; in write_aligned_all()