Searched refs:lpages (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/fs/romfs/ |
D | mmap-nommu.c | 26 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()
|
/Linux-v6.1/fs/ramfs/ |
D | file-nommu.c | 206 unsigned long maxpages, lpages, nr_folios, loop, ret, nr_pages, pfn; in ramfs_nommu_get_unmapped_area() local 212 lpages = (len + PAGE_SIZE - 1) >> PAGE_SHIFT; in ramfs_nommu_get_unmapped_area() 220 if (maxpages - pgoff < lpages) in ramfs_nommu_get_unmapped_area() 245 if (nr_pages >= lpages) in ramfs_nommu_get_unmapped_area() 249 if (nr_pages < lpages) { in ramfs_nommu_get_unmapped_area()
|
/Linux-v6.1/arch/x86/kvm/ |
D | x86.c | 12602 int lpages = __kvm_mmu_slot_lpages(slot, npages, level); in memslot_rmap_alloc() local 12607 slot->arch.rmap[i] = __vcalloc(lpages, sz, GFP_KERNEL_ACCOUNT); in memslot_rmap_alloc() 12639 int lpages; in kvm_alloc_memslot_metadata() local 12642 lpages = __kvm_mmu_slot_lpages(slot, npages, level); in kvm_alloc_memslot_metadata() 12644 linfo = __vcalloc(lpages, sizeof(*linfo), GFP_KERNEL_ACCOUNT); in kvm_alloc_memslot_metadata() 12653 linfo[lpages - 1].disallow_lpage = 1; in kvm_alloc_memslot_metadata() 12662 for (j = 0; j < lpages; ++j) in kvm_alloc_memslot_metadata()
|