/DragonOS/kernel/src/mm/ |
H A D | no_init.rs | 75 let vaddr = VirtAddr::new(p); in allocate_page() localVariable 112 let vaddr = EARLY_IOREMAP_PAGES.lock_irqsave().allocate_page()?; in allocate() localVariable 121 let vaddr = MMA::phys_2_virt(address); in free() localVariable 177 let vaddr = vaddr + i * MMArch::PAGE_SIZE; in pseudo_map_phys_with_flags() localVariable 205 let vaddr = vaddr + i * MMArch::PAGE_SIZE; in pseudo_unmap_phys() localVariable
|
H A D | c_adapter.rs | 38 let vaddr = VirtAddr::new(ptr as usize); in do_kmalloc() localVariable 60 let vaddr = VirtAddr::new(vaddr); in kfree() localVariable
|
H A D | mmio_buddy.rs | 151 let vaddr = self.calculate_block_vaddr(region.vaddr, exp - 1); in split_block() localVariable 423 let vaddr: VirtAddr = list_guard.list.back().unwrap().vaddr; in merge_all_exp() localVariable 581 vaddr: VirtAddr, field 589 pub fn vaddr(&self) -> VirtAddr { in vaddr() method 623 vaddr: VirtAddr, field 654 pub fn vaddr(&self) -> VirtAddr { in vaddr() method 744 let vaddr = vaddr_base + offset; in map_any_phys() localVariable
|
H A D | early_ioremap.rs | 112 let vaddr = Self::idx_to_virt(start_slot); in map() localVariable 178 let vaddr = Self::idx_to_virt(idx); in unmap() localVariable
|
/DragonOS/kernel/src/arch/riscv64/mm/ |
H A D | init.rs | 110 let vaddr = unsafe { MMArch::phys_2_virt(paddr) }.unwrap(); in riscv_mm_init() localVariable 189 let vaddr = VirtAddr::new(base.data() + i * MMArch::PAGE_SIZE); in remap_at_low_address() localVariable 210 let vaddr = VirtAddr::new(base.data() + i * MMArch::PAGE_SIZE); in unmap_at_low_address() localVariable
|
/DragonOS/kernel/src/driver/firmware/efi/ |
H A D | memmap.rs | 19 pub(super) vaddr: Option<VirtAddr>, field 83 let vaddr = self.inner.vaddr? + self.offset; in next() localVariable 117 let mut vaddr = EarlyIoRemap::map( in do_efi_memmap_init() localVariable
|
H A D | tables.rs | 108 let vaddr = EarlyIoRemap::map_not_aligned(prev_paddr, MMArch::PAGE_SIZE, true) in parse_config_tables() localVariable 403 let vaddr = EarlyIoRemap::map_not_aligned(table_paddr, table_map_size, true); in match_table() localVariable
|
/DragonOS/kernel/src/arch/x86_64/include/asm/ |
H A D | asm.h | 333 static __always_inline void __write8b(uint64_t vaddr, uint64_t value) in __write8b() 346 static __always_inline void __write4b(uint64_t vaddr, uint32_t value) in __write4b() 359 static __always_inline uint64_t __read8b(uint64_t vaddr) in __read8b() 376 static __always_inline uint32_t __read4b(uint64_t vaddr) in __read4b()
|
/DragonOS/kernel/src/driver/virtio/ |
H A D | virtio_impl.rs | 66 let vaddr = VirtAddr::new(vaddr.as_ptr() as usize); in dma_dealloc() localVariable 96 let vaddr = VirtAddr::new(buffer.as_ptr() as *mut u8 as usize); in share() localVariable
|
H A D | transport_mmio.rs | 53 let vaddr = mmio_guard.vaddr() + page_offset; in new() localVariable
|
H A D | transport_pci.rs | 532 let vaddr = (bar_info in get_bar_region() localVariable 542 let vaddr = NonNull::new(vaddr.data() as *mut u8).unwrap(); in get_bar_region() localVariable
|
/DragonOS/kernel/src/debug/ |
H A D | kallsyms.c | 20 #define symbol_to_write(vaddr, tv, etv) \ argument 29 uint64_t vaddr; member
|
/DragonOS/kernel/src/arch/x86_64/smp/ |
H A D | mod.rs | 41 vaddr: usize, field 49 let vaddr = if let Some(t) = smp_cpu_manager() in smp_ap_start() localVariable 270 let vaddr = unsafe { in arch_init() localVariable
|
/DragonOS/kernel/src/arch/riscv64/driver/ |
H A D | of.rs | 34 let vaddr = mmio_guard.vaddr() + offset; in map_fdt() localVariable
|
/DragonOS/kernel/src/arch/riscv64/interrupt/ |
H A D | handle.rs | 151 let vaddr = trap_frame.badaddr; in do_trap_insn_page_fault() localVariable 165 let vaddr = trap_frame.badaddr; in do_trap_load_page_fault() localVariable
|
/DragonOS/kernel/src/driver/pci/ |
H A D | pci_irq.rs | 577 let vaddr: crate::mm::VirtAddr = msix_bar in msix_install() localVariable 700 let vaddr = msix_bar in msix_uninstall() localVariable 829 let vaddr = msix_bar.virtual_address().unwrap() in msix_mask() localVariable 950 let vaddr = msix_bar.virtual_address().unwrap() in msix_unmask() localVariable 1065 let vaddr = pending_bar.virtual_address().unwrap() in msix_check_pending() localVariable
|
/DragonOS/kernel/src/driver/net/ |
H A D | dma.rs | 55 let vaddr = VirtAddr::new(vaddr.as_ptr() as usize); in dma_dealloc() localVariable
|
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/ |
H A D | vcpu.rs | 107 let vaddr = VirtAddr::new(vmxon_region.as_ref() as *const _ as _); in alloc() localVariable 111 let vaddr = VirtAddr::new(vmcs_region.as_ref() as *const _ as _); in alloc() localVariable 115 let vaddr = VirtAddr::new(msr_bitmap.as_ref() as *const _ as _); in alloc() localVariable
|
/DragonOS/kernel/src/arch/x86_64/process/ |
H A D | table.rs | 69 let vaddr = vaddr.data() as u64; in set_tss_descriptor() localVariable
|
/DragonOS/kernel/src/arch/x86_64/mm/ |
H A D | mod.rs | 505 let vaddr = unsafe { MMArch::phys_2_virt(paddr) }.unwrap(); in allocator_init() localVariable 599 let vaddr = unsafe { MMArch::phys_2_virt(paddr).unwrap() }; in test_buddy() localVariable 714 let vaddr = VirtAddr::new(i * MMArch::PAGE_SIZE); in remap_at_low_address() localVariable 728 let vaddr = VirtAddr::new(i * MMArch::PAGE_SIZE); in unmap_at_low_address() localVariable
|
/DragonOS/kernel/src/mm/allocator/ |
H A D | bump.rs | 119 let vaddr = MMA::phys_2_virt(p.phys_address()).unwrap(); in ensure_early_mapping() localVariable
|
/DragonOS/kernel/src/driver/open_firmware/ |
H A D | fdt.rs | 299 let vaddr = boot_params().read().fdt(); in early_init_fdt_scan_reserved_mem() localVariable 303 let vaddr = vaddr.unwrap(); in early_init_fdt_scan_reserved_mem() localVariable
|
/DragonOS/tools/debugging/logmonitor/src/backend/ |
H A D | loader.rs | 106 pub fn vaddr(&self) -> usize { in vaddr() method
|
/DragonOS/kernel/crates/klog_types/src/ |
H A D | lib.rs | 130 pub vaddr: Option<usize>, field
|
/DragonOS/kernel/src/syscall/ |
H A D | mod.rs | 668 let vaddr = VirtAddr::new(kstat as usize); in handle() localVariable 1151 let vaddr = VirtAddr::new(args[1]); in handle() localVariable 1157 let vaddr = VirtAddr::new(args[0]); in handle() localVariable
|