Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/driver/disk/ahci/
Dahcidisk.rs60 let check_length = ((count - 1) >> 4) + 1; // prdt length in read_at() localVariable
61 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() localVariable
220 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()