Searched refs:pfn_index (Results 1 – 1 of 1) sorted by relevance
352 int pfn_index, dma_index, ret = 0, start_idx; in ib_umem_odp_map_dma_and_lock() local415 for (pfn_index = 0; pfn_index < num_pfns; in ib_umem_odp_map_dma_and_lock()416 pfn_index += 1 << (page_shift - PAGE_SHIFT), dma_index++) { in ib_umem_odp_map_dma_and_lock()423 WARN_ON(range.hmm_pfns[pfn_index] & HMM_PFN_ERROR); in ib_umem_odp_map_dma_and_lock()424 WARN_ON(!(range.hmm_pfns[pfn_index] & HMM_PFN_VALID)); in ib_umem_odp_map_dma_and_lock()426 if (!(range.hmm_pfns[pfn_index] & HMM_PFN_VALID)) { in ib_umem_odp_map_dma_and_lock()431 if (range.hmm_pfns[pfn_index] & HMM_PFN_WRITE) in ib_umem_odp_map_dma_and_lock()435 hmm_order = hmm_pfn_to_map_order(range.hmm_pfns[pfn_index]); in ib_umem_odp_map_dma_and_lock()448 umem_odp, dma_index, hmm_pfn_to_page(range.hmm_pfns[pfn_index]), in ib_umem_odp_map_dma_and_lock()