Searched refs:buf_ptr (Results 1 – 1 of 1) sorted by relevance
98 let mut buf_ptr = buf as *mut [u8] as *mut usize as usize; in read_at() localVariable102 let user_buf = if unsafe { verify_area(buf_ptr as u64, buf.len() as u64) } { in read_at()118 buf_ptr = kbuf.as_mut().unwrap().as_mut_ptr() as usize; in read_at()136 volatile_write!(cmdtbl.prdt_entry[i].dba, virt_2_phys(buf_ptr) as u64); in read_at()139 buf_ptr += 8 * 1024; in read_at()145 volatile_write!(cmdtbl.prdt_entry[las].dba, virt_2_phys(buf_ptr) as u64); in read_at()260 let mut buf_ptr = buf as *const [u8] as *mut usize as usize; in write_at() localVariable264 let user_buf = if unsafe { verify_area(buf_ptr as u64, buf.len() as u64) } { in write_at()279 buf_ptr = kbuf.as_mut().unwrap().as_mut_ptr() as usize; in write_at()298 volatile_write!(cmdtbl.prdt_entry[i].dba, virt_2_phys(buf_ptr) as u64); in write_at()[all …]