Lines Matching refs:err
963 int err; in copy_pmd_range() local
965 err = copy_huge_pmd(dst_mm, src_mm, in copy_pmd_range()
967 if (err == -ENOMEM) in copy_pmd_range()
969 if (!err) in copy_pmd_range()
1724 int err; in remap_pfn_range() local
1750 err = track_pfn_remap(vma, &prot, pfn, addr, PAGE_ALIGN(size)); in remap_pfn_range()
1751 if (err) in remap_pfn_range()
1762 err = remap_pud_range(mm, pgd, addr, next, in remap_pfn_range()
1764 if (err) in remap_pfn_range()
1768 if (err) in remap_pfn_range()
1771 return err; in remap_pfn_range()
1827 int err; in apply_to_pte_range() local
1844 err = fn(pte++, token, addr, data); in apply_to_pte_range()
1845 if (err) in apply_to_pte_range()
1853 return err; in apply_to_pte_range()
1862 int err; in apply_to_pmd_range() local
1871 err = apply_to_pte_range(mm, pmd, addr, next, fn, data); in apply_to_pmd_range()
1872 if (err) in apply_to_pmd_range()
1875 return err; in apply_to_pmd_range()
1884 int err; in apply_to_pud_range() local
1891 err = apply_to_pmd_range(mm, pud, addr, next, fn, data); in apply_to_pud_range()
1892 if (err) in apply_to_pud_range()
1895 return err; in apply_to_pud_range()
1908 int err; in apply_to_page_range() local
1914 err = apply_to_pud_range(mm, pgd, addr, next, fn, data); in apply_to_page_range()
1915 if (err) in apply_to_page_range()
1919 return err; in apply_to_page_range()