Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/driver/disk/ahci/
Dhba.rs204 ptr::write_bytes(phys_2_virt(clb as usize) as *mut u64, 0, 1024); in init()
213 ptr::write_bytes(phys_2_virt(fb as usize) as *mut u64, 0, 256); in init()
226 ptr::write_bytes(phys_2_virt(ctbas[i] as usize) as *mut u64, 0, 256); in init()
Dahcidisk.rs23 use core::{mem::size_of, ptr::write_bytes};
131 write_bytes(cmdtbl, 0, 1); in read_at()
293 write_bytes(cmdtbl, 0, 1); in write_at()
/DragonOS-0.1.8/kernel/src/driver/virtio/
Dvirtio_impl.rs33 core::ptr::write_bytes(virt.data() as *mut u8, 0, count.data() * MMArch::PAGE_SIZE); in dma_alloc()
/DragonOS-0.1.8/kernel/src/mm/allocator/
Dkernel_allocator.rs70 core::ptr::write_bytes(ptr, 0, x.len()); in local_alloc_zeroed()
Dbuddy.rs97 core::ptr::write_bytes(MMArch::phys_2_virt(*f)?.data() as *mut u8, 0, A::PAGE_SIZE); in new()
107 core::ptr::write_bytes( in new()
505 core::ptr::write_bytes( in buddy_free()
/DragonOS-0.1.8/kernel/src/syscall/
Duser_access.rs29 p.write_bytes(0, len); in clear_user()
/DragonOS-0.1.8/kernel/src/mm/
Dmod.rs404 unsafe fn write_bytes(address: VirtAddr, value: u8, count: usize) { in write_bytes() method
405 ptr::write_bytes(address.data() as *mut u8, value, count); in write_bytes()
Dpage.rs499 Arch::write_bytes(table_vaddr, 0, Arch::PAGE_SIZE); in create()
603 MMArch::write_bytes(MMArch::phys_2_virt(frame).unwrap(), 0, MMArch::PAGE_SIZE); in map_phys()
Ducontext.rs1128 MMArch::write_bytes(vaddr, 0, MMArch::PAGE_SIZE); in zeroed()