Home
last modified time | relevance | path

Searched refs:lpages (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/fs/ramfs/
Dfile-nommu.c205 unsigned long maxpages, lpages, nr, loop, ret; in ramfs_nommu_get_unmapped_area() local
211 lpages = (len + PAGE_SIZE - 1) >> PAGE_SHIFT; in ramfs_nommu_get_unmapped_area()
219 if (maxpages - pgoff < lpages) in ramfs_nommu_get_unmapped_area()
223 pages = kcalloc(lpages, sizeof(struct page *), GFP_KERNEL); in ramfs_nommu_get_unmapped_area()
227 nr = find_get_pages_contig(inode->i_mapping, pgoff, lpages, pages); in ramfs_nommu_get_unmapped_area()
228 if (nr != lpages) in ramfs_nommu_get_unmapped_area()
235 for (loop = lpages; loop > 1; loop--) in ramfs_nommu_get_unmapped_area()
/kernel/linux/linux-5.10/fs/romfs/
Dmmap-nommu.c26 unsigned long isize, offset, maxpages, lpages; in romfs_get_unmapped_area() local
33 lpages = (len + PAGE_SIZE - 1) >> PAGE_SHIFT; in romfs_get_unmapped_area()
38 if ((pgoff >= maxpages) || (maxpages - pgoff < lpages)) in romfs_get_unmapped_area()
/kernel/linux/linux-5.10/arch/x86/kvm/
Dx86.c244 VM_STAT("largepages", lpages, .mode = 0444),
10634 int lpages; in kvm_alloc_memslot_metadata() local
10637 lpages = gfn_to_index(slot->base_gfn + npages - 1, in kvm_alloc_memslot_metadata()
10641 kvcalloc(lpages, sizeof(*slot->arch.rmap[i]), in kvm_alloc_memslot_metadata()
10648 linfo = kvcalloc(lpages, sizeof(*linfo), GFP_KERNEL_ACCOUNT); in kvm_alloc_memslot_metadata()
10657 linfo[lpages - 1].disallow_lpage = 1; in kvm_alloc_memslot_metadata()
10666 for (j = 0; j < lpages; ++j) in kvm_alloc_memslot_metadata()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dkvm_host.h1028 ulong lpages; member
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/
Dmmu.c1076 --kvm->stat.lpages; in __drop_large_spte()
2229 --kvm->stat.lpages; in mmu_page_zap_pte()
2649 ++vcpu->kvm->stat.lpages; in mmu_set_spte()