Searched refs:check_length (Results 1 – 1 of 1) sorted by relevance
60 let check_length = ((count - 1) >> 4) + 1; // prdt length in read_at() localVariable61 if count * 512 > buf.len() || check_length > u16::MAX as usize { in read_at()95 volatile_write!(cmdheader.prdtl, check_length as u16); // PRDT entries count in read_at()219 let check_length = ((count - 1) >> 4) + 1; // prdt length in write_at() localVariable220 if count * 512 > buf.len() || check_length > u16::MAX as usize { in write_at()256 volatile_write!(cmdheader.prdtl, check_length as u16); // PRDT entries count in write_at()