Searched refs:write_bytes (Results 1 – 11 of 11) sorted by relevance
/DragonOS/kernel/src/driver/disk/ahci/ |
H A D | hba.rs | 202 ptr::write_bytes( in init() 217 ptr::write_bytes( in init() 240 ptr::write_bytes( in init()
|
H A D | ahcidisk.rs | 36 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 D | dma.rs | 26 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 D | virtio_impl.rs | 33 core::ptr::write_bytes(virt.data() as *mut u8, 0, count.data() * MMArch::PAGE_SIZE); in dma_alloc()
|
/DragonOS/kernel/src/mm/ |
H A D | page.rs | 620 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 D | mod.rs | 565 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 D | kernel_allocator.rs | 85 core::ptr::write_bytes(ptr, 0, x.len()); in local_alloc_zeroed()
|
H A D | buddy.rs | 95 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 D | user_access.rs | 34 p.write_bytes(0, len); in clear_user()
|
/DragonOS/kernel/src/arch/x86_64/mm/ |
H A D | mod.rs | 294 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 D | jit.rs | 1001 … std::ptr::write_bytes(*raw.as_mut_ptr(), 0xc3, size); // for now, prepopulate with 'RET' calls in new()
|