Searched refs:nr_pfns (Results 1 – 6 of 6) sorted by relevance
/linux/mm/ |
A D | sparse-vmemmap.c | 462 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 D | memremap.c | 459 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 D | memremap.h | 143 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 D | book3s_hv_uvmem.c | 227 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 D | frame_vector.h | 18 int get_vaddr_frames(unsigned long start, unsigned int nr_pfns,
|
/linux/arch/powerpc/mm/ |
A D | init_64.c | 250 int nr_pfns = page_size >> PAGE_SHIFT; in vmemmap_populate() local 254 vmem_altmap_free(altmap, nr_pfns); in vmemmap_populate()
|
Completed in 9 milliseconds