Home
last modified time | relevance | path

Searched refs:mmap (Results 1 – 17 of 17) sorted by relevance

/DragonOS/kernel/src/driver/firmware/efi/
H A Dmemmap.rs126 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 Dmod.rs35 pub mmap: EFIMemoryMapInfo, field
55 mmap: EFIMemoryMapInfo::DEFAULT, in new()
68 return self.inner.read().mmap.desc_version; in desc_version()
H A Dinit.rs108 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 Dintro.md18 - **系统调用层** - 提供对用户空间的内存管理系统调用,包括mmap、munmap、mprotect、mremap等
H A Dallocate-memory.md29   在内核中,您可以使用用户地址空间结构体(`AddressSpace`)的`mmap()`,`map_anonymous()`等函数,为用户程序分配内存。这些函数会自动将用户程…
H A Dmmio.md31 一旦MMIO地址空间分配完成,它就像普通的vma一样,可以使用mmap系列函数进行操作。
/DragonOS/user/apps/test_filemap/
H A Dmain.c30 void *map = mmap(NULL, 11, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in main()
/DragonOS/user/apps/test-for-robustfutex/src/
H A Dmain.rs20 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 Dmod.rs107 fn mmap(&self, start: usize, len: usize, offset: usize) -> Result<()> { in mmap() method
108 self.event.mmap(start, len, offset) in mmap()
H A Dbpf.rs277 fn mmap(&self, start: usize, len: usize, offset: usize) -> Result<()> { in mmap() method
/DragonOS/docs/kernel/trace/
H A DeBPF.md270 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 DV0.1.8.md366 - **系统调用层** - 提供对用户空间的内存管理系统调用,包括mmap、munmap、mprotect、mremap等
407 - **系统调用层** - 提供对用户空间的内存管理系统调用,包括mmap、munmap、mprotect、mremap等
/DragonOS/kernel/src/mm/
H A Ducontext.rs281 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 Dsyscall.rs299 pub fn mmap( in mmap() method
/DragonOS/kernel/src/include/bindings/
H A Dlinux_bpf.rs1652 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 Dmod.rs128 fn mmap(&self, _start: usize, _len: usize, _offset: usize) -> Result<(), SystemError> { in mmap() method
/DragonOS/kernel/src/syscall/
H A Dmod.rs591 Self::mmap( in handle()