Home
last modified time | relevance | path

Searched refs:pmd (Results 1 – 25 of 323) sorted by relevance

12345678910>>...13

/linux-6.6.21/drivers/md/
Ddm-thin-metadata.c233 struct dm_pool_metadata *pmd; member
419 static inline void pmd_write_lock_in_core(struct dm_pool_metadata *pmd) in pmd_write_lock_in_core() argument
420 __acquires(pmd->root_lock) in pmd_write_lock_in_core()
422 down_write(&pmd->root_lock); in pmd_write_lock_in_core()
425 static inline void pmd_write_lock(struct dm_pool_metadata *pmd) in pmd_write_lock() argument
427 pmd_write_lock_in_core(pmd); in pmd_write_lock()
428 if (unlikely(!pmd->in_service)) in pmd_write_lock()
429 pmd->in_service = true; in pmd_write_lock()
432 static inline void pmd_write_unlock(struct dm_pool_metadata *pmd) in pmd_write_unlock() argument
433 __releases(pmd->root_lock) in pmd_write_unlock()
[all …]
Ddm-thin-metadata.h49 int dm_pool_metadata_close(struct dm_pool_metadata *pmd);
62 int dm_pool_create_thin(struct dm_pool_metadata *pmd, dm_thin_id dev);
70 int dm_pool_create_snap(struct dm_pool_metadata *pmd, dm_thin_id dev,
78 int dm_pool_delete_thin_device(struct dm_pool_metadata *pmd,
85 int dm_pool_commit_metadata(struct dm_pool_metadata *pmd);
95 int dm_pool_abort_metadata(struct dm_pool_metadata *pmd);
100 int dm_pool_set_metadata_transaction_id(struct dm_pool_metadata *pmd,
104 int dm_pool_get_metadata_transaction_id(struct dm_pool_metadata *pmd,
116 int dm_pool_reserve_metadata_snap(struct dm_pool_metadata *pmd);
117 int dm_pool_release_metadata_snap(struct dm_pool_metadata *pmd);
[all …]
/linux-6.6.21/arch/arc/include/asm/
Dhugepage.h13 static inline pte_t pmd_pte(pmd_t pmd) in pmd_pte() argument
15 return __pte(pmd_val(pmd)); in pmd_pte()
23 #define pmd_wrprotect(pmd) pte_pmd(pte_wrprotect(pmd_pte(pmd))) argument
24 #define pmd_mkwrite_novma(pmd) pte_pmd(pte_mkwrite_novma(pmd_pte(pmd))) argument
25 #define pmd_mkdirty(pmd) pte_pmd(pte_mkdirty(pmd_pte(pmd))) argument
26 #define pmd_mkold(pmd) pte_pmd(pte_mkold(pmd_pte(pmd))) argument
27 #define pmd_mkyoung(pmd) pte_pmd(pte_mkyoung(pmd_pte(pmd))) argument
28 #define pmd_mkhuge(pmd) pte_pmd(pte_mkhuge(pmd_pte(pmd))) argument
29 #define pmd_mkinvalid(pmd) pte_pmd(pte_mknotpresent(pmd_pte(pmd))) argument
30 #define pmd_mkclean(pmd) pte_pmd(pte_mkclean(pmd_pte(pmd))) argument
[all …]
/linux-6.6.21/arch/arm/include/asm/
Dpgtable-3level.h117 #define pmd_table(pmd) ((pmd_val(pmd) & PMD_TYPE_MASK) == \ argument
119 #define pmd_sect(pmd) ((pmd_val(pmd) & PMD_TYPE_MASK) == \ argument
121 #define pmd_large(pmd) pmd_sect(pmd) argument
122 #define pmd_leaf(pmd) pmd_sect(pmd) argument
141 #define pmd_bad(pmd) (!(pmd_val(pmd) & 2)) argument
177 #define pmd_isset(pmd, val) ((u32)(val) == (val) ? pmd_val(pmd) & (val) \ argument
178 : !!(pmd_val(pmd) & (val)))
179 #define pmd_isclear(pmd, val) (!(pmd_val(pmd) & (val))) argument
181 #define pmd_present(pmd) (pmd_isset((pmd), L_PMD_SECT_VALID)) argument
182 #define pmd_young(pmd) (pmd_isset((pmd), PMD_SECT_AF)) argument
[all …]
/linux-6.6.21/arch/loongarch/include/asm/
Dpgtable.h172 typedef struct { unsigned long pmd; } pmd_t; member
173 #define pmd_val(x) ((x).pmd)
216 static inline int pmd_none(pmd_t pmd) in pmd_none() argument
218 return pmd_val(pmd) == (unsigned long)invalid_pte_table; in pmd_none()
221 static inline int pmd_bad(pmd_t pmd) in pmd_bad() argument
223 return (pmd_val(pmd) & ~PAGE_MASK); in pmd_bad()
226 static inline int pmd_present(pmd_t pmd) in pmd_present() argument
228 if (unlikely(pmd_val(pmd) & _PAGE_HUGE)) in pmd_present()
229 return !!(pmd_val(pmd) & (_PAGE_PRESENT | _PAGE_PROTNONE | _PAGE_PRESENT_INVALID)); in pmd_present()
231 return pmd_val(pmd) != (unsigned long)invalid_pte_table; in pmd_present()
[all …]
/linux-6.6.21/arch/arm64/include/asm/
Dpgtable.h155 #define pmd_access_permitted(pmd, write) \ argument
156 (pte_access_permitted(pmd_pte(pmd), (write)))
172 static inline pmd_t clear_pmd_bit(pmd_t pmd, pgprot_t prot) in clear_pmd_bit() argument
174 pmd_val(pmd) &= ~pgprot_val(prot); in clear_pmd_bit()
175 return pmd; in clear_pmd_bit()
178 static inline pmd_t set_pmd_bit(pmd_t pmd, pgprot_t prot) in set_pmd_bit() argument
180 pmd_val(pmd) |= pgprot_val(prot); in set_pmd_bit()
181 return pmd; in set_pmd_bit()
254 static inline pmd_t pmd_mkcont(pmd_t pmd) in pmd_mkcont() argument
256 return __pmd(pmd_val(pmd) | PMD_SECT_CONT); in pmd_mkcont()
[all …]
/linux-6.6.21/arch/mips/include/asm/
Dpgtable.h65 #define pmd_phys(pmd) virt_to_phys((void *)pmd_val(pmd)) argument
67 static inline unsigned long pmd_pfn(pmd_t pmd) in pmd_pfn() argument
69 return pmd_val(pmd) >> PFN_PTE_SHIFT; in pmd_pfn()
73 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT)) argument
76 #define pmd_page_vaddr(pmd) pmd_val(pmd) argument
413 static inline int pmd_write(pmd_t pmd) argument
415 return !!(pmd_val(pmd) & _PAGE_WRITE);
418 static inline struct page *pmd_page(pmd_t pmd) argument
420 if (pmd_val(pmd) & _PAGE_HUGE)
421 return pfn_to_page(pmd_pfn(pmd));
[all …]
/linux-6.6.21/arch/x86/include/asm/
Dpgtable.h28 bool __init __early_make_pgtable(unsigned long address, pmdval_t pmd);
74 #define set_pmd(pmdp, pmd) native_set_pmd(pmdp, pmd) argument
98 #define pmd_clear(pmd) native_pmd_clear(pmd) argument
144 static inline bool pmd_dirty(pmd_t pmd) in pmd_dirty() argument
146 return pmd_flags(pmd) & _PAGE_DIRTY_BITS; in pmd_dirty()
149 static inline bool pmd_shstk(pmd_t pmd) in pmd_shstk() argument
152 (pmd_flags(pmd) & (_PAGE_RW | _PAGE_DIRTY | _PAGE_PSE)) == in pmd_shstk()
157 static inline int pmd_young(pmd_t pmd) in pmd_young() argument
159 return pmd_flags(pmd) & _PAGE_ACCESSED; in pmd_young()
182 static inline int pmd_write(pmd_t pmd) in pmd_write() argument
[all …]
/linux-6.6.21/arch/riscv/include/asm/
Dpgtable.h216 static inline int pmd_present(pmd_t pmd) in pmd_present() argument
224 return (pmd_val(pmd) & (_PAGE_PRESENT | _PAGE_PROT_NONE | _PAGE_LEAF)); in pmd_present()
227 static inline int pmd_present(pmd_t pmd) in pmd_present() argument
229 return (pmd_val(pmd) & (_PAGE_PRESENT | _PAGE_PROT_NONE)); in pmd_present()
233 static inline int pmd_none(pmd_t pmd) in pmd_none() argument
235 return (pmd_val(pmd) == 0); in pmd_none()
238 static inline int pmd_bad(pmd_t pmd) in pmd_bad() argument
240 return !pmd_present(pmd) || (pmd_val(pmd) & _PAGE_LEAF); in pmd_bad()
244 static inline int pmd_leaf(pmd_t pmd) in pmd_leaf() argument
246 return pmd_present(pmd) && (pmd_val(pmd) & _PAGE_LEAF); in pmd_leaf()
[all …]
/linux-6.6.21/drivers/pmdomain/starfive/
Djh71xx-pmu.c75 static int jh71xx_pmu_get_state(struct jh71xx_pmu_dev *pmd, u32 mask, bool *is_on) in jh71xx_pmu_get_state() argument
77 struct jh71xx_pmu *pmu = pmd->pmu; in jh71xx_pmu_get_state()
87 static int jh71xx_pmu_set_state(struct jh71xx_pmu_dev *pmd, u32 mask, bool on) in jh71xx_pmu_set_state() argument
89 struct jh71xx_pmu *pmu = pmd->pmu; in jh71xx_pmu_set_state()
98 ret = jh71xx_pmu_get_state(pmd, mask, &is_on); in jh71xx_pmu_set_state()
101 pmd->genpd.name); in jh71xx_pmu_set_state()
107 pmd->genpd.name, on ? "en" : "dis"); in jh71xx_pmu_set_state()
162 pmd->genpd.name, on ? "on" : "off"); in jh71xx_pmu_set_state()
171 struct jh71xx_pmu_dev *pmd = container_of(genpd, in jh71xx_pmu_on() local
173 u32 pwr_mask = BIT(pmd->domain_info->bit); in jh71xx_pmu_on()
[all …]
/linux-6.6.21/arch/parisc/include/asm/
Dpgalloc.h41 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate() argument
44 (__u32)(__pa((unsigned long)pmd) >> PxD_VALUE_SHIFT))); in pud_populate()
49 pmd_t *pmd; in pmd_alloc_one() local
51 pmd = (pmd_t *)__get_free_pages(GFP_PGTABLE_KERNEL, PMD_TABLE_ORDER); in pmd_alloc_one()
52 if (likely(pmd)) in pmd_alloc_one()
53 memset ((void *)pmd, 0, PAGE_SIZE << PMD_TABLE_ORDER); in pmd_alloc_one()
54 return pmd; in pmd_alloc_one()
57 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) in pmd_free() argument
59 free_pages((unsigned long)pmd, PMD_TABLE_ORDER); in pmd_free()
64 pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) in pmd_populate_kernel() argument
[all …]
/linux-6.6.21/mm/
Dhuge_memory.c551 pmd_t maybe_pmd_mkwrite(pmd_t pmd, struct vm_area_struct *vma) in maybe_pmd_mkwrite() argument
554 pmd = pmd_mkwrite(pmd, vma); in maybe_pmd_mkwrite()
555 return pmd; in maybe_pmd_mkwrite()
679 vmf->ptl = pmd_lock(vma->vm_mm, vmf->pmd); in __do_huge_pmd_anonymous_page()
680 if (unlikely(!pmd_none(*vmf->pmd))) { in __do_huge_pmd_anonymous_page()
703 pgtable_trans_huge_deposit(vma->vm_mm, vmf->pmd, pgtable); in __do_huge_pmd_anonymous_page()
704 set_pmd_at(vma->vm_mm, haddr, vmf->pmd, entry); in __do_huge_pmd_anonymous_page()
705 update_mmu_cache_pmd(vma, vmf->address, vmf->pmd); in __do_huge_pmd_anonymous_page()
761 struct vm_area_struct *vma, unsigned long haddr, pmd_t *pmd, in set_huge_zero_page() argument
765 if (!pmd_none(*pmd)) in set_huge_zero_page()
[all …]
Ddebug_vm_pgtable.c184 pmd_t pmd; in pmd_basic_tests() local
190 pmd = pfn_pmd(args->fixed_pmd_pfn, prot); in pmd_basic_tests()
199 WARN_ON(pmd_dirty(pmd_wrprotect(pmd))); in pmd_basic_tests()
202 WARN_ON(!pmd_same(pmd, pmd)); in pmd_basic_tests()
203 WARN_ON(!pmd_young(pmd_mkyoung(pmd_mkold(pmd)))); in pmd_basic_tests()
204 WARN_ON(!pmd_dirty(pmd_mkdirty(pmd_mkclean(pmd)))); in pmd_basic_tests()
205 WARN_ON(!pmd_write(pmd_mkwrite(pmd_wrprotect(pmd), args->vma))); in pmd_basic_tests()
206 WARN_ON(pmd_young(pmd_mkold(pmd_mkyoung(pmd)))); in pmd_basic_tests()
207 WARN_ON(pmd_dirty(pmd_mkclean(pmd_mkdirty(pmd)))); in pmd_basic_tests()
208 WARN_ON(pmd_write(pmd_wrprotect(pmd_mkwrite(pmd, args->vma)))); in pmd_basic_tests()
[all …]
/linux-6.6.21/mm/kasan/
Dinit.c70 static inline bool kasan_pte_table(pmd_t pmd) in kasan_pte_table() argument
72 return pmd_page(pmd) == virt_to_page(lm_alias(kasan_early_shadow_pte)); in kasan_pte_table()
92 static void __ref zero_pte_populate(pmd_t *pmd, unsigned long addr, in zero_pte_populate() argument
95 pte_t *pte = pte_offset_kernel(pmd, addr); in zero_pte_populate()
105 pte = pte_offset_kernel(pmd, addr); in zero_pte_populate()
112 pmd_t *pmd = pmd_offset(pud, addr); in zero_pmd_populate() local
119 pmd_populate_kernel(&init_mm, pmd, in zero_pmd_populate()
124 if (pmd_none(*pmd)) { in zero_pmd_populate()
134 pmd_populate_kernel(&init_mm, pmd, p); in zero_pmd_populate()
136 zero_pte_populate(pmd, addr, next); in zero_pmd_populate()
[all …]
/linux-6.6.21/arch/riscv/mm/
Dpgtable.c36 pmd_t *pmd = pud_pgtable(*pud); in pud_free_pmd_page() local
44 if (!pmd_none(pmd[i])) { in pud_free_pmd_page()
45 pte_t *pte = (pte_t *)pmd_page_vaddr(pmd[i]); in pud_free_pmd_page()
51 pmd_free(NULL, pmd); in pud_free_pmd_page()
56 int pmd_set_huge(pmd_t *pmd, phys_addr_t phys, pgprot_t prot) in pmd_set_huge() argument
60 set_pmd(pmd, new_pmd); in pmd_set_huge()
64 int pmd_clear_huge(pmd_t *pmd) in pmd_clear_huge() argument
66 if (!pmd_leaf(READ_ONCE(*pmd))) in pmd_clear_huge()
68 pmd_clear(pmd); in pmd_clear_huge()
72 int pmd_free_pte_page(pmd_t *pmd, unsigned long addr) in pmd_free_pte_page() argument
[all …]
/linux-6.6.21/arch/s390/include/asm/
Dpgtable.h547 static inline pmd_t clear_pmd_bit(pmd_t pmd, pgprot_t prot) in clear_pmd_bit() argument
549 return __pmd(pmd_val(pmd) & ~pgprot_val(prot)); in clear_pmd_bit()
552 static inline pmd_t set_pmd_bit(pmd_t pmd, pgprot_t prot) in set_pmd_bit() argument
554 return __pmd(pmd_val(pmd) | pgprot_val(prot)); in set_pmd_bit()
716 static inline int pmd_large(pmd_t pmd) in pmd_large() argument
718 return (pmd_val(pmd) & _SEGMENT_ENTRY_LARGE) != 0; in pmd_large()
721 static inline int pmd_bad(pmd_t pmd) in pmd_bad() argument
723 if ((pmd_val(pmd) & _SEGMENT_ENTRY_TYPE_MASK) > 0 || pmd_large(pmd)) in pmd_bad()
725 return (pmd_val(pmd) & ~_SEGMENT_ENTRY_BITS) != 0; in pmd_bad()
750 static inline int pmd_present(pmd_t pmd) in pmd_present() argument
[all …]
/linux-6.6.21/include/trace/events/
Dthp.h29 TP_PROTO(unsigned long addr, unsigned long pmd),
30 TP_ARGS(addr, pmd)
61 TP_PROTO(unsigned long addr, unsigned long pmd, unsigned long clr, unsigned long set),
62 TP_ARGS(addr, pmd, clr, set)
72 TP_PROTO(unsigned long addr, unsigned long pmd),
74 TP_ARGS(addr, pmd),
78 __field(unsigned long, pmd)
83 __entry->pmd = pmd;
85 TP_printk("addr=%lx, pmd=%lx", __entry->addr, __entry->pmd)
89 TP_PROTO(unsigned long addr, unsigned long pmd),
[all …]
/linux-6.6.21/arch/powerpc/include/asm/book3s/64/
Dpgtable.h688 #define __pmd_to_swp_entry(pmd) (__pte_to_swp_entry(pmd_pte(pmd))) argument
844 static inline int pmd_none(pmd_t pmd) in pmd_none() argument
846 return !pmd_raw(pmd); in pmd_none()
849 static inline int pmd_present(pmd_t pmd) in pmd_present() argument
857 if (pmd_raw(pmd) & cpu_to_be64(_PAGE_PRESENT | _PAGE_INVALID)) in pmd_present()
863 static inline int pmd_is_serializing(pmd_t pmd) in pmd_is_serializing() argument
873 if ((pmd_raw(pmd) & cpu_to_be64(_PAGE_PRESENT | _PAGE_INVALID)) == in pmd_is_serializing()
880 static inline int pmd_bad(pmd_t pmd) in pmd_bad() argument
883 return radix__pmd_bad(pmd); in pmd_bad()
884 return hash__pmd_bad(pmd); in pmd_bad()
[all …]
/linux-6.6.21/arch/x86/power/
Dhibernate_32.c59 static pte_t *resume_one_page_table_init(pmd_t *pmd) in resume_one_page_table_init() argument
61 if (pmd_none(*pmd)) { in resume_one_page_table_init()
66 set_pmd(pmd, __pmd(__pa(page_table) | _PAGE_TABLE)); in resume_one_page_table_init()
68 BUG_ON(page_table != pte_offset_kernel(pmd, 0)); in resume_one_page_table_init()
73 return pte_offset_kernel(pmd, 0); in resume_one_page_table_init()
85 pmd_t *pmd; in resume_physical_mapping_init() local
94 pmd = resume_one_md_table_init(pgd); in resume_physical_mapping_init()
95 if (!pmd) in resume_physical_mapping_init()
101 for (pmd_idx = 0; pmd_idx < PTRS_PER_PMD; pmd++, pmd_idx++) { in resume_physical_mapping_init()
110 set_pmd(pmd, pfn_pmd(pfn, PAGE_KERNEL_LARGE_EXEC)); in resume_physical_mapping_init()
[all …]
/linux-6.6.21/drivers/pmdomain/bcm/
Dbcm63xx-power.c38 static int bcm63xx_power_get_state(struct bcm63xx_power_dev *pmd, bool *is_on) in bcm63xx_power_get_state() argument
40 struct bcm63xx_power *power = pmd->power; in bcm63xx_power_get_state()
42 if (!pmd->mask) { in bcm63xx_power_get_state()
47 *is_on = !(__raw_readl(power->base) & pmd->mask); in bcm63xx_power_get_state()
52 static int bcm63xx_power_set_state(struct bcm63xx_power_dev *pmd, bool on) in bcm63xx_power_set_state() argument
54 struct bcm63xx_power *power = pmd->power; in bcm63xx_power_set_state()
58 if (!pmd->mask) in bcm63xx_power_set_state()
64 val &= ~pmd->mask; in bcm63xx_power_set_state()
66 val |= pmd->mask; in bcm63xx_power_set_state()
75 struct bcm63xx_power_dev *pmd = container_of(genpd, in bcm63xx_power_on() local
[all …]
/linux-6.6.21/arch/x86/mm/
Dpgtable.c61 void ___pmd_free_tlb(struct mmu_gather *tlb, pmd_t *pmd) in ___pmd_free_tlb() argument
63 struct ptdesc *ptdesc = virt_to_ptdesc(pmd); in ___pmd_free_tlb()
64 paravirt_release_pmd(__pa(pmd) >> PAGE_SHIFT); in ___pmd_free_tlb()
188 void pud_populate(struct mm_struct *mm, pud_t *pudp, pmd_t *pmd) in pud_populate() argument
190 paravirt_alloc_pmd(mm, __pa(pmd) >> PAGE_SHIFT); in pud_populate()
194 set_pud(pudp, __pud(__pa(pmd) | _PAGE_PRESENT)); in pud_populate()
239 pmd_t *pmd = NULL; in preallocate_pmds() local
251 pmd = ptdesc_address(ptdesc); in preallocate_pmds()
254 pmds[i] = pmd; in preallocate_pmds()
276 pmd_t *pmd = (pmd_t *)pgd_page_vaddr(pgd); in mop_up_one_pmd() local
[all …]
/linux-6.6.21/include/asm-generic/
Dpgtable_uffd.h10 static __always_inline int pmd_uffd_wp(pmd_t pmd) in pmd_uffd_wp() argument
20 static __always_inline pmd_t pmd_mkuffd_wp(pmd_t pmd) in pmd_mkuffd_wp() argument
22 return pmd; in pmd_mkuffd_wp()
30 static __always_inline pmd_t pmd_clear_uffd_wp(pmd_t pmd) in pmd_clear_uffd_wp() argument
32 return pmd; in pmd_clear_uffd_wp()
50 static inline pmd_t pmd_swp_mkuffd_wp(pmd_t pmd) in pmd_swp_mkuffd_wp() argument
52 return pmd; in pmd_swp_mkuffd_wp()
55 static inline int pmd_swp_uffd_wp(pmd_t pmd) in pmd_swp_uffd_wp() argument
60 static inline pmd_t pmd_swp_clear_uffd_wp(pmd_t pmd) in pmd_swp_clear_uffd_wp() argument
62 return pmd; in pmd_swp_clear_uffd_wp()
/linux-6.6.21/arch/arm/mm/
Didmap.c27 pmd_t *pmd; in idmap_add_pmd() local
31 pmd = pmd_alloc_one(&init_mm, addr); in idmap_add_pmd()
32 if (!pmd) { in idmap_add_pmd()
41 memcpy(pmd, pmd_offset(pud, 0), in idmap_add_pmd()
43 pud_populate(&init_mm, pud, pmd); in idmap_add_pmd()
44 pmd += pmd_index(addr); in idmap_add_pmd()
46 pmd = pmd_offset(pud, addr); in idmap_add_pmd()
50 *pmd = __pmd((addr & PMD_MASK) | prot); in idmap_add_pmd()
51 flush_pmd_entry(pmd); in idmap_add_pmd()
52 } while (pmd++, addr = next, addr != end); in idmap_add_pmd()
[all …]
/linux-6.6.21/include/linux/
Dpgtable.h50 #define pmd_pgtable(pmd) pmd_page(pmd) argument
92 static inline pte_t *pte_offset_kernel(pmd_t *pmd, unsigned long address) in pte_offset_kernel() argument
94 return (pte_t *)pmd_page_vaddr(*pmd) + pte_index(address); in pte_offset_kernel()
100 #define __pte_map(pmd, address) \ argument
101 ((pte_t *)kmap_local_page(pmd_page(*(pmd))) + pte_index((address)))
107 static inline pte_t *__pte_map(pmd_t *pmd, unsigned long address) in __pte_map() argument
109 return pte_offset_kernel(pmd, address); in __pte_map()
175 pmd_t *pmd = pmd_off_k(vaddr); in virt_to_kpte() local
177 return pmd_none(*pmd) ? NULL : pte_offset_kernel(pmd, vaddr); in virt_to_kpte()
181 static inline int pmd_young(pmd_t pmd) in pmd_young() argument
[all …]
/linux-6.6.21/arch/s390/mm/
Dvmem.c157 static int __ref modify_pte_table(pmd_t *pmd, unsigned long addr, in modify_pte_table() argument
168 pte = pte_offset_kernel(pmd, addr); in modify_pte_table()
198 static void try_free_pte_table(pmd_t *pmd, unsigned long start) in try_free_pte_table() argument
204 pte = pte_offset_kernel(pmd, start); in try_free_pte_table()
209 vmem_pte_free((unsigned long *) pmd_deref(*pmd)); in try_free_pte_table()
210 pmd_clear(pmd); in try_free_pte_table()
219 pmd_t *pmd; in modify_pmd_table() local
226 pmd = pmd_offset(pud, addr); in modify_pmd_table()
227 for (; addr < end; addr = next, pmd++) { in modify_pmd_table()
230 if (pmd_none(*pmd)) in modify_pmd_table()
[all …]

12345678910>>...13