Home
last modified time | relevance | path

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

/mm/
Dnommu.c684 struct vm_area_struct *pvma, *prev; in add_vma_to_mm() local
711 pvma = rb_entry(parent, struct vm_area_struct, vm_rb); in add_vma_to_mm()
715 if (vma->vm_start < pvma->vm_start) in add_vma_to_mm()
717 else if (vma->vm_start > pvma->vm_start) { in add_vma_to_mm()
720 } else if (vma->vm_end < pvma->vm_end) in add_vma_to_mm()
722 else if (vma->vm_end > pvma->vm_end) { in add_vma_to_mm()
725 } else if (vma < pvma) in add_vma_to_mm()
727 else if (vma > pvma) { in add_vma_to_mm()
Drmap.c312 int anon_vma_fork(struct vm_area_struct *vma, struct vm_area_struct *pvma) in anon_vma_fork() argument
319 if (!pvma->anon_vma) in anon_vma_fork()
329 error = anon_vma_clone(vma, pvma); in anon_vma_fork()
349 anon_vma->root = pvma->anon_vma->root; in anon_vma_fork()
350 anon_vma->parent = pvma->anon_vma; in anon_vma_fork()
Dshmem.c1372 struct vm_area_struct pvma; in shmem_swapin() local
1375 shmem_pseudo_vma_init(&pvma, info, index); in shmem_swapin()
1376 page = swapin_readahead(swap, gfp, &pvma, 0); in shmem_swapin()
1377 shmem_pseudo_vma_destroy(&pvma); in shmem_swapin()
1385 struct vm_area_struct pvma; in shmem_alloc_hugepage() local
1404 shmem_pseudo_vma_init(&pvma, info, hindex); in shmem_alloc_hugepage()
1406 HPAGE_PMD_ORDER, &pvma, 0, numa_node_id(), true); in shmem_alloc_hugepage()
1407 shmem_pseudo_vma_destroy(&pvma); in shmem_alloc_hugepage()
1416 struct vm_area_struct pvma; in shmem_alloc_page() local
1419 shmem_pseudo_vma_init(&pvma, info, index); in shmem_alloc_page()
[all …]
Dmempolicy.c2468 struct vm_area_struct pvma; in mpol_shared_policy_init() local
2486 memset(&pvma, 0, sizeof(struct vm_area_struct)); in mpol_shared_policy_init()
2487 pvma.vm_end = TASK_SIZE; /* policy covers entire file */ in mpol_shared_policy_init()
2488 mpol_set_shared_policy(sp, &pvma, new); /* adds ref */ in mpol_shared_policy_init()