Searched refs:mm_struct (Results 1 – 12 of 12) sorted by relevance
/DragonOS-0.1.5/kernel/src/mm/ |
D | internal.h | 16 void __vma_link_list(struct mm_struct *mm, struct vm_area_struct *vma, struct vm_area_struct *prev); 24 void __vma_unlink_list(struct mm_struct *mm, struct vm_area_struct *vma); 33 uint64_t __mm_get_paddr(struct mm_struct *mm, uint64_t vaddr);
|
D | mm.h | 322 static inline void vma_init(struct vm_area_struct *vma, struct mm_struct *mm) in vma_init() 358 struct vm_area_struct *vm_area_alloc(struct mm_struct *mm); 381 struct vm_area_struct *vma_find(struct mm_struct *mm, uint64_t addr); 390 int vma_insert(struct mm_struct *mm, struct vm_area_struct *vma); 455 int mm_create_vma(struct mm_struct *mm, uint64_t vaddr, uint64_t length, vm_flags_t vm_flags, 478 int mm_map(struct mm_struct *mm, uint64_t vaddr, uint64_t length, uint64_t paddr); 488 int mm_unmap_vma(struct mm_struct *mm, struct vm_area_struct *vma, uint64_t *paddr); 499 int mm_unmap(struct mm_struct *mm, uint64_t vaddr, uint64_t length, bool destroy);
|
D | mm-types.h | 7 struct mm_struct; 125 struct mm_struct *vm_mm; // 虚拟内存区域对应的mm结构体 142 struct mm_struct struct
|
D | vma.c | 11 struct vm_area_struct *vm_area_alloc(struct mm_struct *mm) in vm_area_alloc() 50 void __vma_link_list(struct mm_struct *mm, struct vm_area_struct *vma, struct vm_area_struct *prev) in __vma_link_list() 77 void __vma_unlink_list(struct mm_struct *mm, struct vm_area_struct *vma) in __vma_unlink_list() 98 struct vm_area_struct *vma_find(struct mm_struct *mm, uint64_t addr) in vma_find() 121 int vma_insert(struct mm_struct *mm, struct vm_area_struct *vma) in vma_insert()
|
D | utils.c | 12 uint64_t __mm_get_paddr(struct mm_struct *mm, uint64_t vaddr) in __mm_get_paddr()
|
D | mmap.c | 320 int mm_create_vma(struct mm_struct *mm, uint64_t vaddr, uint64_t length, vm_flags_t vm_flags, struc… in mm_create_vma() 473 int mm_map(struct mm_struct *mm, uint64_t vaddr, uint64_t length, uint64_t paddr) in mm_map() 516 int mm_unmap_vma(struct mm_struct *mm, struct vm_area_struct *vma, uint64_t *paddr) in mm_unmap_vma() 550 int mm_unmap(struct mm_struct *mm, uint64_t vaddr, uint64_t length, bool destroy) in mm_unmap()
|
D | mm.c | 15 struct mm_struct initial_mm = {0};
|
/DragonOS-0.1.5/kernel/src/process/ |
D | fork.c | 198 struct mm_struct *new_mms = (struct mm_struct *)kmalloc(sizeof(struct mm_struct), 0); in process_copy_mm() 199 memset(new_mms, 0, sizeof(struct mm_struct)); in process_copy_mm() 201 memcpy(new_mms, current_pcb->mm, sizeof(struct mm_struct)); in process_copy_mm()
|
D | proc-types.h | 91 struct mm_struct *mm;
|
D | process.h | 184 extern struct mm_struct initial_mm;
|
D | process.c | 42 extern struct mm_struct initial_mm; 421 struct mm_struct *new_mms = (struct mm_struct *)kmalloc(sizeof(struct mm_struct), 0); in do_execve() 422 memset(new_mms, 0, sizeof(struct mm_struct)); in do_execve()
|
/DragonOS-0.1.5/kernel/src/driver/pci/ |
D | pci.rs | 2 initial_mm, mm_map, mm_struct, pci_read_config, pci_write_config, VM_DONTCOPY, VM_IO, 393 let initial_mm_ptr = &mut initial_mm as *mut mm_struct; in pci_bar_init()
|