Home
last modified time | relevance | path

Searched refs:check_length (Results 1 – 1 of 1) sorted by relevance

/DragonOS/kernel/src/driver/disk/ahci/
H A Dahcidisk.rs78 let check_length = ((count - 1) >> 4) + 1; // prdt length in read_at() localVariable
79 if count * 512 > buf.len() || check_length > 8_usize { in read_at()
110 volatile_write!(cmdheader.prdtl, check_length as u16); // PRDT entries count in read_at()
234 let check_length = ((count - 1) >> 4) + 1; // prdt length in write_at() localVariable
235 if count * 512 > buf.len() || check_length > 8 { in write_at()
272 volatile_write!(cmdheader.prdtl, check_length as u16); // PRDT entries count in write_at()