Home
last modified time | relevance | path

Searched refs:pvma (Results 1 – 4 of 4) sorted by relevance

/mm/
Dnommu.c565 struct vm_area_struct *pvma, *prev; in add_vma_to_mm() local
590 pvma = rb_entry(parent, struct vm_area_struct, vm_rb); in add_vma_to_mm()
594 if (vma->vm_start < pvma->vm_start) in add_vma_to_mm()
596 else if (vma->vm_start > pvma->vm_start) { in add_vma_to_mm()
599 } else if (vma->vm_end < pvma->vm_end) in add_vma_to_mm()
601 else if (vma->vm_end > pvma->vm_end) { in add_vma_to_mm()
604 } else if (vma < pvma) in add_vma_to_mm()
606 else if (vma > pvma) { in add_vma_to_mm()
Dshmem.c1534 struct vm_area_struct pvma; in shmem_swapin() local
1537 .vma = &pvma, in shmem_swapin()
1540 shmem_pseudo_vma_init(&pvma, info, index); in shmem_swapin()
1542 shmem_pseudo_vma_destroy(&pvma); in shmem_swapin()
1550 struct vm_area_struct pvma; in shmem_alloc_hugepage() local
1560 shmem_pseudo_vma_init(&pvma, info, hindex); in shmem_alloc_hugepage()
1562 HPAGE_PMD_ORDER, &pvma, 0, numa_node_id(), true); in shmem_alloc_hugepage()
1563 shmem_pseudo_vma_destroy(&pvma); in shmem_alloc_hugepage()
1574 struct vm_area_struct pvma; in shmem_alloc_page() local
1581 shmem_pseudo_vma_init(&pvma, info, index); in shmem_alloc_page()
[all …]
Drmap.c331 int anon_vma_fork(struct vm_area_struct *vma, struct vm_area_struct *pvma) in anon_vma_fork() argument
338 if (!pvma->anon_vma) in anon_vma_fork()
348 error = anon_vma_clone(vma, pvma); in anon_vma_fork()
369 anon_vma->root = pvma->anon_vma->root; in anon_vma_fork()
370 anon_vma->parent = pvma->anon_vma; in anon_vma_fork()
Dmempolicy.c2678 struct vm_area_struct pvma; in mpol_shared_policy_init() local
2696 vma_init(&pvma, NULL); in mpol_shared_policy_init()
2697 pvma.vm_end = TASK_SIZE; /* policy covers entire file */ in mpol_shared_policy_init()
2698 mpol_set_shared_policy(sp, &pvma, new); /* adds ref */ in mpol_shared_policy_init()