Searched refs:MAGIC_BLOCK_SIZE (Results 1 – 1 of 1) sorted by relevance
275 const MAGIC_BLOCK_SIZE: usize = 4096; in detect_image_type() constant276 let mut magic = [0u8; MAGIC_BLOCK_SIZE]; in detect_image_type()277 let magic_read_len = if disk_size > MAGIC_BLOCK_SIZE as u64 { in detect_image_type()278 MAGIC_BLOCK_SIZE in detect_image_type()