Searched refs:nr_pfns (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/mm/ |
D | sparse-vmemmap.c | 109 unsigned long pfn, nr_pfns, nr_align; in altmap_alloc_block_buf() local 118 nr_pfns = size >> PAGE_SHIFT; in altmap_alloc_block_buf() 119 nr_align = 1UL << find_first_bit(&nr_pfns, BITS_PER_LONG); in altmap_alloc_block_buf() 121 if (nr_pfns + nr_align > vmem_altmap_nr_free(altmap)) in altmap_alloc_block_buf() 124 altmap->alloc += nr_pfns; in altmap_alloc_block_buf() 129 __func__, pfn, altmap->alloc, altmap->align, nr_pfns); in altmap_alloc_block_buf()
|
/linux-6.12.1/include/media/ |
D | frame_vector.h | 18 int get_vaddr_frames(unsigned long start, unsigned int nr_pfns,
|
/linux-6.12.1/arch/powerpc/kvm/ |
D | book3s_hv_uvmem.c | 228 unsigned long nr_pfns; member 260 p->nr_pfns = slot->npages; in kvmppc_uvmem_slot_init() 295 if (gfn >= p->base_pfn && gfn < p->base_pfn + p->nr_pfns) { in kvmppc_mark_gfn() 339 if (gfn >= p->base_pfn && gfn < p->base_pfn + p->nr_pfns) { in kvmppc_gfn_is_uvmem_pfn() 369 if (*gfn >= iter->base_pfn && *gfn < iter->base_pfn + iter->nr_pfns) { in kvmppc_next_nontransitioned_gfn() 379 for (i = *gfn; i < p->base_pfn + p->nr_pfns; i++) { in kvmppc_next_nontransitioned_gfn()
|
/linux-6.12.1/arch/powerpc/mm/ |
D | init_64.c | 252 int nr_pfns = page_size >> PAGE_SHIFT; in __vmemmap_populate() local 256 vmem_altmap_free(altmap, nr_pfns); in __vmemmap_populate()
|
/linux-6.12.1/include/linux/ |
D | mm.h | 3861 unsigned long nr_pfns) in vmem_altmap_free() argument 3863 altmap->alloc -= nr_pfns; in vmem_altmap_free() 3872 unsigned long nr_pfns) in vmem_altmap_free() argument
|