Lines Matching refs:pgmap
218 struct dev_pagemap *pgmap; member
425 hmm_vma_walk->pgmap = get_dev_pagemap(pfn, in hmm_vma_handle_pmd()
426 hmm_vma_walk->pgmap); in hmm_vma_handle_pmd()
427 if (unlikely(!hmm_vma_walk->pgmap)) in hmm_vma_handle_pmd()
432 if (hmm_vma_walk->pgmap) { in hmm_vma_handle_pmd()
433 put_dev_pagemap(hmm_vma_walk->pgmap); in hmm_vma_handle_pmd()
434 hmm_vma_walk->pgmap = NULL; in hmm_vma_handle_pmd()
530 hmm_vma_walk->pgmap = get_dev_pagemap(pte_pfn(pte), in hmm_vma_handle_pte()
531 hmm_vma_walk->pgmap); in hmm_vma_handle_pte()
532 if (unlikely(!hmm_vma_walk->pgmap)) in hmm_vma_handle_pte()
543 if (hmm_vma_walk->pgmap) { in hmm_vma_handle_pte()
544 put_dev_pagemap(hmm_vma_walk->pgmap); in hmm_vma_handle_pte()
545 hmm_vma_walk->pgmap = NULL; in hmm_vma_handle_pte()
629 if (hmm_vma_walk->pgmap) { in hmm_vma_walk_pmd()
636 put_dev_pagemap(hmm_vma_walk->pgmap); in hmm_vma_walk_pmd()
637 hmm_vma_walk->pgmap = NULL; in hmm_vma_walk_pmd()
692 hmm_vma_walk->pgmap = get_dev_pagemap(pfn, in hmm_vma_walk_pud()
693 hmm_vma_walk->pgmap); in hmm_vma_walk_pud()
694 if (unlikely(!hmm_vma_walk->pgmap)) in hmm_vma_walk_pud()
699 if (hmm_vma_walk->pgmap) { in hmm_vma_walk_pud()
700 put_dev_pagemap(hmm_vma_walk->pgmap); in hmm_vma_walk_pud()
701 hmm_vma_walk->pgmap = NULL; in hmm_vma_walk_pud()
921 hmm_vma_walk.pgmap = NULL; in hmm_range_fault()