Searched refs:next_pfn (Results 1 – 5 of 5) sorted by relevance
73 static inline bool page_ext_iter_next_fast_possible(unsigned long next_pfn) in page_ext_iter_next_fast_possible() argument79 return next_pfn % PAGES_PER_SECTION; in page_ext_iter_next_fast_possible()88 static inline bool page_ext_iter_next_fast_possible(unsigned long next_pfn) in page_ext_iter_next_fast_possible() argument
73 unsigned long next_pfn = 0; /* suppress gcc warning */ in shmem_sg_alloc_table() local164 folio_pfn(folio) != next_pfn) { in shmem_sg_alloc_table()176 next_pfn = folio_pfn(folio) + nr_pages; in shmem_sg_alloc_table()180 GEM_BUG_ON(gfp & __GFP_DMA32 && next_pfn >= 0x00100000UL); in shmem_sg_alloc_table()
479 unsigned long next_pfn; in sg_alloc_append_table_from_pages() local486 next_pfn = (sg_phys(sgt_append->prv) + prv_len) / PAGE_SIZE; in sg_alloc_append_table_from_pages()487 if (page_to_pfn(pages[0]) == next_pfn) { in sg_alloc_append_table_from_pages()488 last_pg = pfn_to_page(next_pfn - 1); in sg_alloc_append_table_from_pages()
48 __le32 next_pfn; member658 tables[i - 1].page->next_pfn = cpu_to_le32(pfn); in pt1_init_tables()662 tables[pt1_nr_tables - 1].page->next_pfn = cpu_to_le32(first_pfn); in pt1_init_tables()
976 unsigned int next_pfn = page_to_pfn(pages[i]) + 1; in __iommu_create_mapping() local980 for (j = i + 1; j < count; j++, next_pfn++) in __iommu_create_mapping()981 if (page_to_pfn(pages[j]) != next_pfn) in __iommu_create_mapping()