Searched refs:map_anonymous (Results 1 – 4 of 4) sorted by relevance
/DragonOS/docs/kernel/memory_management/ |
H A D | allocate-memory.md | 29   在内核中,您可以使用用户地址空间结构体(`AddressSpace`)的`mmap()`,`map_anonymous()`等函数,为用户程序分配内存。这些函数会自动将用户程…
|
/DragonOS/kernel/src/mm/ |
H A D | ucontext.rs | 222 self.map_anonymous(len, bytes, prot_flags, map_flags, false, false)?; in extend_stack() 246 pub fn map_anonymous( in map_anonymous() method 548 let new_page = self.map_anonymous(new_vaddr, new_len, prot_flags, map_flags, true, true)?; in mremap() 767 self.map_anonymous(old_brk, len, prot_flags, map_flags, true, false)?; in set_brk() 1744 vm.map_anonymous( in new() 1796 vm.map_anonymous( in initial_extend() 1831 vm.map_anonymous( in extend()
|
H A D | syscall.rs | 328 current_address_space.write().map_anonymous( in mmap()
|
/DragonOS/kernel/src/libs/ |
H A D | elf.rs | 128 let r = user_vm_guard.map_anonymous( in set_elf_brk() 259 .map_anonymous(addr_to_map, total_size, tmp_prot, *map_flags, false, true) in load_elf_segment() 289 .map_anonymous(addr_to_map, map_size, tmp_prot, *map_flags, false, true)? in load_elf_segment()
|