Lines Matching refs:pgmap
28 struct dev_pagemap *pgmap; member
475 struct dev_pagemap **pgmap) in follow_page_pte() argument
525 *pgmap = get_dev_pagemap(pte_pfn(pte), *pgmap); in follow_page_pte()
526 if (*pgmap) in follow_page_pte()
662 page = follow_devmap_pmd(vma, address, pmd, flags, &ctx->pgmap); in follow_pmd_mask()
668 return follow_page_pte(vma, address, pmd, flags, &ctx->pgmap); in follow_pmd_mask()
688 return follow_page_pte(vma, address, pmd, flags, &ctx->pgmap); in follow_pmd_mask()
706 follow_page_pte(vma, address, pmd, flags, &ctx->pgmap); in follow_pmd_mask()
743 page = follow_devmap_pud(vma, address, pud, flags, &ctx->pgmap); in follow_pud_mask()
849 if (ctx.pgmap) in follow_page()
850 put_dev_pagemap(ctx.pgmap); in follow_page()
1204 if (ctx.pgmap) in __get_user_pages()
1205 put_dev_pagemap(ctx.pgmap); in __get_user_pages()
2266 struct dev_pagemap *pgmap = NULL; in gup_pte_range() local
2289 pgmap = get_dev_pagemap(pte_pfn(pte), pgmap); in gup_pte_range()
2290 if (unlikely(!pgmap)) { in gup_pte_range()
2338 if (pgmap) in gup_pte_range()
2339 put_dev_pagemap(pgmap); in gup_pte_range()
2367 struct dev_pagemap *pgmap = NULL; in __gup_device_huge() local
2372 pgmap = get_dev_pagemap(pfn, pgmap); in __gup_device_huge()
2373 if (unlikely(!pgmap)) { in __gup_device_huge()
2387 put_dev_pagemap(pgmap); in __gup_device_huge()