/DragonOS/kernel/src/libs/futex/ |
H A D | syscall.rs | 16 uaddr: VirtAddr, in do_futex() 20 uaddr2: VirtAddr, in do_futex() 115 pub fn set_robust_list(head_uaddr: VirtAddr, len: usize) -> Result<usize, SystemError> { in set_robust_list() 125 head_uaddr: VirtAddr, in get_robust_list() 126 len_ptr_uaddr: VirtAddr, in get_robust_list()
|
H A D | futex.rs | 221 uaddr: VirtAddr, in futex_wait() 351 uaddr: VirtAddr, in futex_wake() 385 uaddr1: VirtAddr, in futex_requeue() 387 uaddr2: VirtAddr, in futex_requeue() 459 uaddr1: VirtAddr, in futex_wake_op() 461 uaddr2: VirtAddr, in futex_wake_op() 502 uaddr: VirtAddr, in get_futex_key() 608 uaddr: VirtAddr, in arch_futex_atomic_op_inuser() 662 pub fn futex_uaddr(&self, entry: VirtAddr) -> VirtAddr { in futex_uaddr() 667 pub fn pending_uaddr(&self) -> Option<VirtAddr> { in pending_uaddr() [all …]
|
/DragonOS/kernel/src/arch/x86_64/interrupt/ |
H A D | entry.rs | 546 pub unsafe fn set_intr_gate(irq: u32, ist: u8, vaddr: VirtAddr) { in set_intr_gate() 553 pub unsafe fn set_trap_gate(irq: u32, ist: u8, vaddr: VirtAddr) { in set_trap_gate() 560 pub unsafe fn set_system_trap_gate(irq: u32, ist: u8, vaddr: VirtAddr) { in set_system_trap_gate() 577 unsafe fn set_gate(gate: &mut [u64], attr: u8, ist: u8, handler: VirtAddr) { in set_gate()
|
/DragonOS/kernel/src/arch/x86_64/mm/ |
H A D | fault.rs | 73 address: VirtAddr, in show_fault_oops() 138 address: VirtAddr, in page_fault_oops() 155 address: VirtAddr, in do_kern_addr_fault() 178 address: VirtAddr, in do_user_addr_fault()
|
H A D | mod.rs | 179 unsafe fn invalidate_page(address: VirtAddr) { in invalidate_page() 290 unsafe fn write<T>(address: VirtAddr, value: T) { in write() 294 unsafe fn write_bytes(address: VirtAddr, value: u8, count: usize) { in write_bytes() 298 unsafe fn phys_2_virt(phys: PhysAddr) -> Option<VirtAddr> { in phys_2_virt() 444 impl VirtAddr { implementation
|
/DragonOS/kernel/src/mm/ |
H A D | no_init.rs | 68 pub fn allocate_page(&mut self) -> Option<VirtAddr> { in allocate_page() 83 pub fn free_page(&mut self, addr: VirtAddr) { in free_page() 143 pub unsafe fn pseudo_map_phys(vaddr: VirtAddr, paddr: PhysAddr, count: PageFrameCount) { in pseudo_map_phys() 152 pub unsafe fn pseudo_map_phys_ro(vaddr: VirtAddr, paddr: PhysAddr, count: PageFrameCount) { in pseudo_map_phys_ro() 160 vaddr: VirtAddr, in pseudo_map_phys_with_flags() 193 pub unsafe fn pseudo_unmap_phys(vaddr: VirtAddr, count: PageFrameCount) { in pseudo_unmap_phys()
|
H A D | mod.rs | 282 pub struct VirtAddr(usize); struct 284 impl VirtAddr { impl 329 impl Add<VirtAddr> for VirtAddr { implementation 338 impl Add<usize> for VirtAddr { implementation 347 impl Sub<VirtAddr> for VirtAddr { implementation 356 impl Sub<usize> for VirtAddr { implementation 365 impl AddAssign<usize> for VirtAddr { implementation 372 impl AddAssign<VirtAddr> for VirtAddr { implementation 374 fn add_assign(&mut self, rhs: VirtAddr) { in add_assign() 379 impl SubAssign<usize> for VirtAddr { implementation [all …]
|
H A D | syscall.rs | 253 pub fn brk(new_addr: VirtAddr) -> Result<VirtAddr, SystemError> { in brk() 274 pub fn sbrk(incr: isize) -> Result<VirtAddr, SystemError> { in sbrk() 300 start_vaddr: VirtAddr, in mmap() 368 old_vaddr: VirtAddr, in mremap() 372 new_vaddr: VirtAddr, in mremap() 450 pub fn munmap(start_vaddr: VirtAddr, len: usize) -> Result<usize, SystemError> { in munmap() 481 start_vaddr: VirtAddr, in mprotect() 516 start_vaddr: VirtAddr, in madvise() 551 pub fn msync(start: VirtAddr, len: usize, flags: usize) -> Result<usize, SystemError> { in msync()
|
H A D | mmio_buddy.rs | 125 fn give_back_block(&self, vaddr: VirtAddr, exp: u32) -> Result<i32, SystemError> { in give_back_block() 334 fn calculate_block_vaddr(&self, vaddr: VirtAddr, exp: u32) -> VirtAddr { in calculate_block_vaddr() 352 vaddr: VirtAddr, in pop_buddy_block() 531 pub fn release_mmio(&self, vaddr: VirtAddr, length: usize) -> Result<i32, SystemError> { in release_mmio() 589 pub fn vaddr(&self) -> VirtAddr { in vaddr() 629 pub unsafe fn from_raw(vaddr: VirtAddr, size: usize, mapped: bool) -> Self { in from_raw() 654 pub fn vaddr(&self) -> VirtAddr { in vaddr() 740 ) -> Result<VirtAddr, SystemError> { in map_any_phys()
|
H A D | early_ioremap.rs | 47 ) -> Result<VirtAddr, SystemError> { in map_not_aligned() 80 ) -> Result<(VirtAddr, usize), SystemError> { in map() 194 fn idx_to_virt(idx: usize) -> VirtAddr { in idx_to_virt()
|
H A D | page.rs | 475 pub unsafe fn new(base: VirtAddr, phys: PhysAddr, level: usize) -> Self { in new() 509 pub fn base(&self) -> VirtAddr { in base() 521 pub unsafe fn virt(&self) -> VirtAddr { in virt() 526 pub fn entry_base(&self, i: usize) -> Option<VirtAddr> { in entry_base() 536 pub unsafe fn entry_virt(&self, i: usize) -> Option<VirtAddr> { in entry_virt() 1180 virt: VirtAddr, in map() 1204 virt: VirtAddr, in map_phys() 1262 virt: VirtAddr, in map_huge_page() 1318 virt: VirtAddr, in allocate_table() 1345 pub fn get_table(&self, virt: VirtAddr, level: usize) -> Option<PageTable<Arch>> { in get_table() [all …]
|
H A D | ucontext.rs | 248 start_vaddr: VirtAddr, in map_anonymous() 324 start_vaddr: VirtAddr, in file_mapping() 439 addr: Option<VirtAddr>, in mmap() 515 old_vaddr: VirtAddr, in mremap() 519 new_vaddr: VirtAddr, in mremap() 521 ) -> Result<VirtAddr, SystemError> { in mremap() 754 pub unsafe fn set_brk(&mut self, new_brk: VirtAddr) -> Result<VirtAddr, SystemError> { in set_brk() 786 pub unsafe fn sbrk(&mut self, incr: isize) -> Result<VirtAddr, SystemError> { in sbrk() 927 pub fn find_free(&self, min_vaddr: VirtAddr, size: usize) -> Option<VirtRegion> { in find_free() 954 min_vaddr: VirtAddr, in find_free_at() [all …]
|
H A D | fault.rs | 69 address: VirtAddr, in new() 96 pub fn address(&self) -> VirtAddr { in address() 102 pub fn address_aligned_down(&self) -> VirtAddr { in address_aligned_down()
|
H A D | kernel_mapper.rs | 104 mut vaddr: VirtAddr, in map_phys_with_size()
|
/DragonOS/kernel/src/arch/riscv64/process/ |
H A D | syscall.rs | 16 user_sp: VirtAddr, in arch_do_execve() 17 argv_ptr: VirtAddr, in arch_do_execve()
|
/DragonOS/kernel/src/libs/ |
H A D | elf.rs | 120 start: VirtAddr, in set_elf_brk() 121 end: VirtAddr, in set_elf_brk() 152 fn elf_page_start(&self, addr: VirtAddr) -> VirtAddr { in elf_page_start() 156 fn elf_page_align_up(&self, addr: VirtAddr) -> VirtAddr { in elf_page_align_up() 205 mut addr_to_map: VirtAddr, in load_elf_segment() 209 ) -> Result<(VirtAddr, bool), SystemError> { in load_elf_segment() 326 mut vaddr: VirtAddr, in do_load_file() 377 entrypoint_vaddr: VirtAddr, in create_auxv() 378 phdr_vaddr: Option<VirtAddr>, in create_auxv()
|
/DragonOS/kernel/src/arch/x86_64/process/ |
H A D | syscall.rs | 22 user_sp: VirtAddr, in arch_do_execve() 23 argv_ptr: VirtAddr, in arch_do_execve()
|
H A D | table.rs | 63 unsafe fn set_tss_descriptor(index: u16, vaddr: VirtAddr) { in set_tss_descriptor()
|
/DragonOS/kernel/src/net/event_poll/ |
H A D | syscall.rs | 35 events: VirtAddr, in epoll_wait() 93 epoll_event: VirtAddr, in epoll_pwait()
|
/DragonOS/kernel/src/driver/firmware/efi/ |
H A D | tables.rs | 260 vendor_table_vaddr: Option<VirtAddr>, in post_process() 283 vendor_table_vaddr: Option<VirtAddr>, in post_process() 313 _vendor_table_vaddr: Option<VirtAddr>, in post_process() 342 _vendor_table_vaddr: Option<VirtAddr>, in post_process() 372 _vendor_table_vaddr: Option<VirtAddr>, in post_process()
|
/DragonOS/kernel/src/arch/riscv64/mm/ |
H A D | mod.rs | 49 address: VirtAddr, in remote_invalidate_page() 162 unsafe fn invalidate_page(address: VirtAddr) { in invalidate_page() 216 unsafe fn phys_2_virt(phys: PhysAddr) -> Option<VirtAddr> { in phys_2_virt() 327 impl VirtAddr { implementation
|
/DragonOS/kernel/src/process/ |
H A D | exec.rs | 47 pub fn entry_point(&self) -> VirtAddr { in entry_point() 225 ) -> Result<(VirtAddr, VirtAddr), SystemError> { in push_at() argument
|
/DragonOS/kernel/src/arch/x86_64/syscall/ |
H A D | mod.rs | 37 pub fn set_kstack(&mut self, kstack: VirtAddr) { in set_kstack()
|
/DragonOS/kernel/src/arch/riscv64/init/ |
H A D | mod.rs | 41 pub fn arch_fdt(&self) -> VirtAddr { in arch_fdt()
|
/DragonOS/kernel/src/driver/serial/ |
H A D | mod.rs | 35 fn membase(&self) -> Option<VirtAddr> { in membase()
|