Home
last modified time | relevance | path

Searched refs:pmdval (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/mm/
Dpgtable-generic.c283 pmd_t pmdval; in __pte_offset_map() local
287 pmdval = pmdp_get_lockless(pmd); in __pte_offset_map()
291 *pmdvalp = pmdval; in __pte_offset_map()
292 if (unlikely(pmd_none(pmdval) || is_pmd_migration_entry(pmdval))) in __pte_offset_map()
294 if (unlikely(pmd_trans_huge(pmdval) || pmd_devmap(pmdval))) in __pte_offset_map()
296 if (unlikely(pmd_bad(pmdval))) { in __pte_offset_map()
300 return __pte_map(&pmdval, addr); in __pte_offset_map()
309 pmd_t pmdval; in pte_offset_map_nolock() local
312 pte = __pte_offset_map(pmd, addr, &pmdval); in pte_offset_map_nolock()
314 *ptlp = pte_lockptr(mm, &pmdval); in pte_offset_map_nolock()
[all …]
Dmapping_dirty_helpers.c129 pmd_t pmdval = pmdp_get_lockless(pmd); in wp_clean_pmd_entry() local
132 if (pmd_trans_huge(pmdval) || pmd_devmap(pmdval)) { in wp_clean_pmd_entry()
133 WARN_ON(pmd_write(pmdval) || pmd_dirty(pmdval)); in wp_clean_pmd_entry()
Dhuge_memory.c3211 pmd_t pmdval; in set_pmd_migration_entry() local
3219 pmdval = pmdp_invalidate(vma, address, pvmw->pmd); in set_pmd_migration_entry()
3224 set_pmd_at(mm, address, pvmw->pmd, pmdval); in set_pmd_migration_entry()
3228 if (pmd_dirty(pmdval)) in set_pmd_migration_entry()
3230 if (pmd_write(pmdval)) in set_pmd_migration_entry()
3236 if (pmd_young(pmdval)) in set_pmd_migration_entry()
3238 if (pmd_dirty(pmdval)) in set_pmd_migration_entry()
3241 if (pmd_soft_dirty(pmdval)) in set_pmd_migration_entry()
3243 if (pmd_uffd_wp(pmdval)) in set_pmd_migration_entry()
Dgup.c696 pmd_t *pmd, pmdval; in follow_pmd_mask() local
702 pmdval = pmdp_get_lockless(pmd); in follow_pmd_mask()
703 if (pmd_none(pmdval)) in follow_pmd_mask()
705 if (!pmd_present(pmdval)) in follow_pmd_mask()
707 if (pmd_devmap(pmdval)) { in follow_pmd_mask()
714 if (likely(!pmd_trans_huge(pmdval))) in follow_pmd_mask()
717 if (pmd_protnone(pmdval) && !gup_can_follow_protnone(vma, flags)) in follow_pmd_mask()
/linux-6.6.21/arch/arm/include/asm/
Dpgalloc.h110 pmdval_t pmdval = (pte + PTE_HWTABLE_OFF) | prot; in __pmd_populate() local
111 pmdp[0] = __pmd(pmdval); in __pmd_populate()
113 pmdp[1] = __pmd(pmdval + 256 * sizeof(pte_t)); in __pmd_populate()
/linux-6.6.21/arch/um/include/asm/
Dpgtable-2level.h37 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = (pmdval)) argument
Dpgtable-3level.h70 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = (pmdval)) argument
/linux-6.6.21/include/trace/events/
Dxen.h159 TP_PROTO(pmd_t *pmdp, pmd_t pmdval),
160 TP_ARGS(pmdp, pmdval),
163 __field(pmdval_t, pmdval)
166 __entry->pmdval = pmdval.pmd),
169 (int)sizeof(pmdval_t) * 2, (unsigned long long)pmd_val(native_make_pmd(__entry->pmdval)),
170 (int)sizeof(pmdval_t) * 2, (unsigned long long)__entry->pmdval)
/linux-6.6.21/arch/parisc/include/asm/
Dpage.h90 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = (pmdval)) argument
/linux-6.6.21/arch/hexagon/include/asm/
Dpgtable.h347 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = (pmdval)) argument
/linux-6.6.21/arch/nios2/include/asm/
Dpgtable.h79 static inline void set_pmd(pmd_t *pmdptr, pmd_t pmdval) in set_pmd() argument
81 *pmdptr = pmdval; in set_pmd()
/linux-6.6.21/arch/xtensa/include/asm/
Dpgtable.h311 set_pmd(pmd_t *pmdp, pmd_t pmdval) in set_pmd() argument
313 *pmdp = pmdval; in set_pmd()
/linux-6.6.21/arch/openrisc/include/asm/
Dpgtable.h54 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = pmdval) argument
/linux-6.6.21/arch/sh/include/asm/
Dpgtable_32.h314 #define set_pmd(pmdptr, pmdval) (*(pmdptr) = pmdval) argument
/linux-6.6.21/arch/powerpc/include/asm/book3s/32/
Dpgtable.h254 unsigned long pmdval, int count);
258 unsigned long pmdval);
/linux-6.6.21/arch/loongarch/include/asm/
Dpgtable.h239 #define set_pmd(pmdptr, pmdval) do { *(pmdptr) = (pmdval); } while (0) argument
/linux-6.6.21/arch/mips/include/asm/
Dpgtable.h236 #define set_pmd(pmdptr, pmdval) do { *(pmdptr) = (pmdval); } while(0) argument
/linux-6.6.21/arch/arm64/mm/
Dmmu.c207 pmdval_t pmdval = PMD_TYPE_TABLE | PMD_TABLE_UXN; in alloc_init_cont_pte() local
211 pmdval |= PMD_TABLE_PXN; in alloc_init_cont_pte()
214 __pmd_populate(pmdp, pte_phys, pmdval); in alloc_init_cont_pte()
/linux-6.6.21/arch/x86/include/asm/
Dparavirt_types.h182 void (*set_pmd)(pmd_t *pmdp, pmd_t pmdval);
/linux-6.6.21/arch/xtensa/kernel/
Dentry.S1643 l32i a0, a0, 0 # read pmdval
1661 add a0, a0, a1 # pmdval - PAGE_OFFSET