Home
last modified time | relevance | path

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

/mm/
Dsparse-vmemmap.c108 unsigned long pfn, nr_pfns, nr_align; in altmap_alloc_block_buf() local
117 nr_pfns = size >> PAGE_SHIFT; in altmap_alloc_block_buf()
118 nr_align = 1UL << find_first_bit(&nr_pfns, BITS_PER_LONG); in altmap_alloc_block_buf()
120 if (nr_pfns + nr_align > vmem_altmap_nr_free(altmap)) in altmap_alloc_block_buf()
123 altmap->alloc += nr_pfns; in altmap_alloc_block_buf()
128 __func__, pfn, altmap->alloc, altmap->align, nr_pfns); in altmap_alloc_block_buf()
Dmemremap.c457 void vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns) in vmem_altmap_free() argument
459 altmap->alloc -= nr_pfns; in vmem_altmap_free()