Lines Matching refs:pseudo_vma
356 struct vm_area_struct pseudo_vma; in remove_inode_hugepages() local
363 memset(&pseudo_vma, 0, sizeof(struct vm_area_struct)); in remove_inode_hugepages()
364 pseudo_vma.vm_flags = (VM_HUGETLB | VM_MAYSHARE | VM_SHARED); in remove_inode_hugepages()
394 &pseudo_vma, in remove_inode_hugepages()
547 struct vm_area_struct pseudo_vma; in hugetlbfs_fallocate() local
581 memset(&pseudo_vma, 0, sizeof(struct vm_area_struct)); in hugetlbfs_fallocate()
582 pseudo_vma.vm_flags = (VM_HUGETLB | VM_MAYSHARE | VM_SHARED); in hugetlbfs_fallocate()
583 pseudo_vma.vm_file = file; in hugetlbfs_fallocate()
606 hugetlb_set_vma_policy(&pseudo_vma, inode, index); in hugetlbfs_fallocate()
612 hash = hugetlb_fault_mutex_hash(h, mm, &pseudo_vma, mapping, in hugetlbfs_fallocate()
621 hugetlb_drop_vma_policy(&pseudo_vma); in hugetlbfs_fallocate()
626 page = alloc_huge_page(&pseudo_vma, addr, avoid_reserve); in hugetlbfs_fallocate()
627 hugetlb_drop_vma_policy(&pseudo_vma); in hugetlbfs_fallocate()