Home
last modified time | relevance | path

Searched refs:nr_pfns (Results 1 – 6 of 6) sorted by relevance

/linux/mm/
A Dsparse-vmemmap.c462 unsigned long pfn, nr_pfns, nr_align; in altmap_alloc_block_buf() local
471 nr_pfns = size >> PAGE_SHIFT; in altmap_alloc_block_buf()
472 nr_align = 1UL << find_first_bit(&nr_pfns, BITS_PER_LONG); in altmap_alloc_block_buf()
474 if (nr_pfns + nr_align > vmem_altmap_nr_free(altmap)) in altmap_alloc_block_buf()
477 altmap->alloc += nr_pfns; in altmap_alloc_block_buf()
482 __func__, pfn, altmap->alloc, altmap->align, nr_pfns); in altmap_alloc_block_buf()
A Dmemremap.c459 void vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns) in vmem_altmap_free() argument
461 altmap->alloc -= nr_pfns; in vmem_altmap_free()
/linux/include/linux/
A Dmemremap.h143 void vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns);
180 unsigned long nr_pfns) in vmem_altmap_free() argument
/linux/arch/powerpc/kvm/
A Dbook3s_hv_uvmem.c227 unsigned long nr_pfns; member
259 p->nr_pfns = slot->npages; in kvmppc_uvmem_slot_init()
294 if (gfn >= p->base_pfn && gfn < p->base_pfn + p->nr_pfns) { in kvmppc_mark_gfn()
338 if (gfn >= p->base_pfn && gfn < p->base_pfn + p->nr_pfns) { in kvmppc_gfn_is_uvmem_pfn()
368 if (*gfn >= p->base_pfn && *gfn < p->base_pfn + p->nr_pfns) in kvmppc_next_nontransitioned_gfn()
376 for (i = *gfn; i < p->base_pfn + p->nr_pfns; i++) { in kvmppc_next_nontransitioned_gfn()
/linux/include/media/
A Dframe_vector.h18 int get_vaddr_frames(unsigned long start, unsigned int nr_pfns,
/linux/arch/powerpc/mm/
A Dinit_64.c250 int nr_pfns = page_size >> PAGE_SHIFT; in vmemmap_populate() local
254 vmem_altmap_free(altmap, nr_pfns); in vmemmap_populate()

Completed in 10 milliseconds