/DragonOS/kernel/src/driver/firmware/efi/ |
H A D | memmap.rs | 126 inner_guard.mmap.vaddr = Some(vaddr); in do_efi_memmap_init() 127 inner_guard.mmap.late = false; in do_efi_memmap_init() 129 inner_guard.mmap.late = true; in do_efi_memmap_init() 133 if inner_guard.mmap.vaddr.is_none() { in do_efi_memmap_init() 138 inner_guard.mmap.paddr = Some(paddr); in do_efi_memmap_init() 139 inner_guard.mmap.size = data.mmap_size.unwrap() as usize; in do_efi_memmap_init() 140 inner_guard.mmap.nr_map = in do_efi_memmap_init() 142 inner_guard.mmap.desc_size = data.mmap_desc_size.unwrap() as usize; in do_efi_memmap_init() 143 inner_guard.mmap.desc_version = data.mmap_desc_version.unwrap() as usize; in do_efi_memmap_init() 159 if !inner_guard.mmap.late { in efi_memmap_unmap() [all …]
|
H A D | mod.rs | 35 pub mmap: EFIMemoryMapInfo, field 55 mmap: EFIMemoryMapInfo::DEFAULT, in new() 68 return self.inner.read().mmap.desc_version; in desc_version()
|
H A D | init.rs | 108 for md in efi_guard.mmap.iter() { in efi_find_mirror() 226 let mmap = &guard.mmap; in efi_vaddr_2_paddr() localVariable 229 for md in mmap.iter() { in efi_vaddr_2_paddr() 258 for md in inner_guard.mmap.iter() { in reserve_memory_regions()
|
/DragonOS/docs/kernel/memory_management/ |
H A D | intro.md | 18 - **系统调用层** - 提供对用户空间的内存管理系统调用,包括mmap、munmap、mprotect、mremap等
|
H A D | allocate-memory.md | 29   在内核中,您可以使用用户地址空间结构体(`AddressSpace`)的`mmap()`,`map_anonymous()`等函数,为用户程序分配内存。这些函数会自动将用户程…
|
H A D | mmio.md | 31 一旦MMIO地址空间分配完成,它就像普通的vma一样,可以使用mmap系列函数进行操作。
|
/DragonOS/user/apps/test_filemap/ |
H A D | main.c | 30 void *map = mmap(NULL, 11, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in main()
|
/DragonOS/user/apps/test-for-robustfutex/src/ |
H A D | main.rs | 20 c_int, mmap, perror, EXIT_FAILURE, MAP_ANONYMOUS, MAP_FAILED, MAP_SHARED, PROT_READ, PROT_WRITE, 242 mmap( in test01() 314 mmap( in test02() 327 mmap( in test02()
|
/DragonOS/kernel/src/perf/ |
H A D | mod.rs | 107 fn mmap(&self, start: usize, len: usize, offset: usize) -> Result<()> { in mmap() method 108 self.event.mmap(start, len, offset) in mmap()
|
H A D | bpf.rs | 279 fn mmap(&self, start: usize, len: usize, offset: usize) -> Result<()> { in mmap() method
|
/DragonOS/docs/kernel/trace/ |
H A D | eBPF.md | 270 fn mmap(&self, _start: usize, _len: usize, _offset: usize) -> Result<()> { 271 panic!("mmap not implemented for PerfEvent");
|
/DragonOS/docs/community/ChangeLog/V0.1.x/ |
H A D | V0.1.8.md | 366 - **系统调用层** - 提供对用户空间的内存管理系统调用,包括mmap、munmap、mprotect、mremap等 407 - **系统调用层** - 提供对用户空间的内存管理系统调用,包括mmap、munmap、mprotect、mremap等
|
/DragonOS/kernel/src/mm/ |
H A D | ucontext.rs | 281 let start_page: VirtPageFrame = self.mmap( in map_anonymous() 375 let start_page: VirtPageFrame = self.mmap( in file_mapping() 407 let _ = file.inode().mmap(start_vaddr.data(), len, offset); in file_mapping() 428 pub fn mmap< in mmap() method
|
H A D | syscall.rs | 299 pub fn mmap( in mmap() method
|
/DragonOS/kernel/src/include/bindings/ |
H A D | linux_bpf.rs | 1652 pub fn mmap(&self) -> __u64 { in mmap() method 1991 mmap: __u64, in new_bitfield_1() 2056 let mmap: u64 = unsafe { ::core::mem::transmute(mmap) }; localVariable 2057 mmap as u64
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | mod.rs | 128 fn mmap(&self, _start: usize, _len: usize, _offset: usize) -> Result<(), SystemError> { in mmap() method
|
/DragonOS/kernel/src/syscall/ |
H A D | mod.rs | 606 Self::mmap( in handle()
|