Home
last modified time | relevance | path

Searched refs:pte_basic_t (Results 1 – 14 of 14) sorted by relevance

/linux-6.12.1/arch/powerpc/include/asm/nohash/32/
Dpte-8xx.h122 static inline pte_basic_t pte_update(struct mm_struct *mm, unsigned long addr, pte_t *ptep,
146 pte_basic_t val = pte_val(pte); in __pte_leaf_size()
175 static inline int number_of_cells_per_pte(pmd_t *pmd, pte_basic_t val, int huge) in number_of_cells_per_pte()
187 static inline pte_basic_t __pte_update(struct mm_struct *mm, unsigned long addr, pte_t *p, in __pte_update()
190 pte_basic_t *entry = (pte_basic_t *)p; in __pte_update()
191 pte_basic_t old = pte_val(*p); in __pte_update()
192 pte_basic_t new = (old & ~(pte_basic_t)clr) | set; in __pte_update()
210 static inline pte_basic_t pte_update(struct mm_struct *mm, unsigned long addr, pte_t *ptep, in pte_update()
213 pte_basic_t old; in pte_update()
231 pte_basic_t val = READ_ONCE(ptep->pte); in ptep_get()
/linux-6.12.1/arch/powerpc/include/asm/
Dpgtable-types.h11 typedef struct { pte_basic_t pte, pte1, pte2, pte3; } pte_t;
13 typedef struct { pte_basic_t pte; } pte_t;
15 typedef pte_basic_t pte_t;
21 static inline pte_basic_t pte_val(pte_t x) in pte_val()
27 static inline pte_basic_t pte_val(pte_t x) in pte_val()
Dpage_32.h28 typedef unsigned long long pte_basic_t; typedef
30 typedef unsigned long pte_basic_t; typedef
Dpage_64.h41 typedef unsigned long pte_basic_t; typedef
/linux-6.12.1/arch/powerpc/include/asm/nohash/
Dpgtable.h6 static inline pte_basic_t pte_update(struct mm_struct *mm, unsigned long addr, pte_t *p,
57 static inline pte_basic_t pte_update(struct mm_struct *mm, unsigned long addr, pte_t *p, in pte_update()
60 pte_basic_t old = pte_val(*p); in pte_update()
61 pte_basic_t new = (old & ~(pte_basic_t)clr) | set; in pte_update()
253 return __pte(((pte_basic_t)(pfn) << PTE_RPN_SHIFT) | in pfn_pte()
Dhugetlb-e500.h18 pte_basic_t val = (tsize << _PAGE_PSIZE_SHIFT) & _PAGE_PSIZE_MSK; in arch_make_huge_pte()
20 return __pte((pte_val(entry) & ~(pte_basic_t)_PAGE_PSIZE_MSK) | val); in arch_make_huge_pte()
Dpte-e500.h98 pte_basic_t val = pte_val(pte); in pte_huge_size()
/linux-6.12.1/arch/powerpc/include/asm/book3s/32/
Dpgtable.h259 static inline pte_basic_t pte_update(struct mm_struct *mm, unsigned long addr, pte_t *p, in pte_update()
262 pte_basic_t old; in pte_update()
290 *p = __pte((old & ~(pte_basic_t)clr) | set); in pte_update()
448 return __pte(((pte_basic_t)(pfn) << PTE_RPN_SHIFT) | in pfn_pte()
/linux-6.12.1/arch/powerpc/mm/
Dpgtable.c306 static void __set_huge_pte_at(pmd_t *pmd, pte_t *ptep, pte_basic_t val) in __set_huge_pte_at()
308 pte_basic_t *entry = (pte_basic_t *)ptep; in __set_huge_pte_at()
Dpageattr.c19 static pte_basic_t pte_update_delta(pte_t *ptep, unsigned long addr, in pte_update_delta()
Dhugetlbpage.c31 #define PTE_T_ORDER (__builtin_ffs(sizeof(pte_basic_t)) - \
/linux-6.12.1/arch/microblaze/include/asm/
Dpage.h45 typedef unsigned long pte_basic_t; typedef
Dpgtable.h238 __pte(((pte_basic_t)(pfn) << PFN_PTE_SHIFT) | pgprot_val(prot))
/linux-6.12.1/arch/powerpc/include/asm/book3s/64/
Dpgtable.h555 return __pte(((pte_basic_t)pfn << PAGE_SHIFT) | pgprot_val(pgprot) | _PAGE_PTE); in pfn_pte()