Searched refs:write_bytes (Results 1 – 9 of 9) sorted by relevance
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/ |
D | hba.rs | 204 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()
|
D | ahcidisk.rs | 23 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/ |
D | virtio_impl.rs | 33 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/ |
D | kernel_allocator.rs | 70 core::ptr::write_bytes(ptr, 0, x.len()); in local_alloc_zeroed()
|
D | buddy.rs | 97 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/ |
D | user_access.rs | 29 p.write_bytes(0, len); in clear_user()
|
/DragonOS-0.1.8/kernel/src/mm/ |
D | mod.rs | 404 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()
|
D | page.rs | 499 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()
|
D | ucontext.rs | 1128 MMArch::write_bytes(vaddr, 0, MMArch::PAGE_SIZE); in zeroed()
|