Lines Matching refs:address
135 pub const fn new(address: usize) -> Self { in new()
136 Self(address) in new()
254 pub const fn new(address: usize) -> Self { in new()
255 return Self(address); in new()
504 unsafe fn read<T>(address: VirtAddr) -> T { in read()
505 return ptr::read(address.data() as *const T); in read()
510 unsafe fn write<T>(address: VirtAddr, value: T) { in write()
511 ptr::write(address.data() as *mut T, value); in write()
515 unsafe fn write_bytes(address: VirtAddr, value: u8, count: usize) { in write_bytes()
516 ptr::write_bytes(address.data() as *mut u8, value, count); in write_bytes()
520 unsafe fn invalidate_page(address: VirtAddr); in invalidate_page()