Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/disk/ahci/
H A Dhba.rs202 ptr::write_bytes( in init()
217 ptr::write_bytes( in init()
240 ptr::write_bytes( in init()
H A Dahcidisk.rs36 use core::{mem::size_of, ptr::write_bytes};
142 write_bytes(cmdtbl, 0, 1); in read_at()
307 write_bytes(cmdtbl, 0, 1); in write_at()
/DragonOS/kernel/src/driver/net/
H A Ddma.rs26 core::ptr::write_bytes(virt.data() as *mut u8, 0, count.data() * MMArch::PAGE_SIZE); in dma_alloc()
/DragonOS/kernel/src/driver/virtio/
H A Dvirtio_impl.rs33 core::ptr::write_bytes(virt.data() as *mut u8, 0, count.data() * MMArch::PAGE_SIZE); in dma_alloc()
/DragonOS/kernel/src/mm/
H A Dpage.rs620 MMArch::write_bytes(frame, 0, MMArch::PAGE_SIZE); in clone()
1132 Arch::write_bytes(table_vaddr, 0, Arch::PAGE_SIZE); in create()
1189 MMArch::write_bytes(vaddr, 0, MMArch::PAGE_SIZE); in map()
1244 MMArch::write_bytes(MMArch::phys_2_virt(frame).unwrap(), 0, MMArch::PAGE_SIZE); in map_phys()
1294 MMArch::write_bytes( in map_huge_page()
1326 MMArch::write_bytes(MMArch::phys_2_virt(frame).unwrap(), 0, MMArch::PAGE_SIZE); in allocate_table()
H A Dmod.rs565 unsafe fn write_bytes(address: VirtAddr, value: u8, count: usize) { in write_bytes() method
566 ptr::write_bytes(address.data() as *mut u8, value, count); in write_bytes()
/DragonOS/kernel/src/mm/allocator/
H A Dkernel_allocator.rs85 core::ptr::write_bytes(ptr, 0, x.len()); in local_alloc_zeroed()
H A Dbuddy.rs95 core::ptr::write_bytes(MMArch::phys_2_virt(*f)?.data() as *mut u8, 0, A::PAGE_SIZE); in new()
522 core::ptr::write_bytes( in buddy_free()
/DragonOS/kernel/src/syscall/
H A Duser_access.rs34 p.write_bytes(0, len); in clear_user()
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dmod.rs294 unsafe fn write_bytes(address: VirtAddr, value: u8, count: usize) { in write_bytes() method
295 core::ptr::write_bytes(address.data() as *mut u8, value, count); in write_bytes()
/DragonOS/kernel/crates/rbpf/src/
H A Djit.rs1001 … std::ptr::write_bytes(*raw.as_mut_ptr(), 0xc3, size); // for now, prepopulate with 'RET' calls in new()