Home
last modified time | relevance | path

Searched refs:hugepd_t (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.4/arch/powerpc/include/asm/nohash/
Dhugetlb-book3e.h5 static inline pte_t *hugepd_page(hugepd_t hpd) in hugepd_page()
13 static inline unsigned int hugepd_shift(hugepd_t hpd) in hugepd_shift()
18 static inline pte_t *hugepte_offset(hugepd_t hpd, unsigned long addr, in hugepte_offset()
31 static inline void hugepd_populate(hugepd_t *hpdp, pte_t *new, unsigned int pshift) in hugepd_populate()
Dpgtable.h267 static inline int hugepd_ok(hugepd_t hpd) in hugepd_ok()
/Linux-v5.4/arch/powerpc/mm/
Dhugetlbpage.c44 static int __hugepte_alloc(struct mm_struct *mm, hugepd_t *hpdp, in __hugepte_alloc()
117 hugepd_t *hpdp = NULL; in huge_pte_alloc()
134 hpdp = (hugepd_t *)pg; in huge_pte_alloc()
144 hpdp = (hugepd_t *)pu; in huge_pte_alloc()
155 hpdp = (hugepd_t *)pm; in huge_pte_alloc()
162 hpdp = (hugepd_t *)pg; in huge_pte_alloc()
170 hpdp = (hugepd_t *)pu; in huge_pte_alloc()
177 hpdp = (hugepd_t *)pm; in huge_pte_alloc()
295 static void free_hugepd_range(struct mmu_gather *tlb, hugepd_t *hpdp, int pdshift, in free_hugepd_range()
362 more = addr + (1 << hugepd_shift(*(hugepd_t *)pmd)); in hugetlb_free_pmd_range()
[all …]
Dpgtable.c319 hugepd_t *hpdp = NULL; in __find_linux_pte()
345 hpdp = (hugepd_t *)&pgd; in __find_linux_pte()
367 hpdp = (hugepd_t *)&pud; in __find_linux_pte()
406 hpdp = (hugepd_t *)&pmd; in __find_linux_pte()
/Linux-v5.4/arch/powerpc/include/asm/nohash/32/
Dhugetlb-8xx.h7 static inline pte_t *hugepd_page(hugepd_t hpd) in hugepd_page()
14 static inline unsigned int hugepd_shift(hugepd_t hpd) in hugepd_shift()
19 static inline pte_t *hugepte_offset(hugepd_t hpd, unsigned long addr, in hugepte_offset()
33 static inline void hugepd_populate(hugepd_t *hpdp, pte_t *new, unsigned int pshift) in hugepd_populate()
/Linux-v5.4/arch/powerpc/include/asm/book3s/64/
Dhugetlb.h68 static inline pte_t *hugepd_page(hugepd_t hpd) in hugepd_page()
78 static inline unsigned int hugepd_mmu_psize(hugepd_t hpd) in hugepd_mmu_psize()
83 static inline unsigned int hugepd_shift(hugepd_t hpd) in hugepd_shift()
94 static inline pte_t *hugepte_offset(hugepd_t hpd, unsigned long addr, in hugepte_offset()
102 static inline void hugepd_populate(hugepd_t *hpdp, pte_t *new, unsigned int pshift) in hugepd_populate()
Dpgtable-64k.h47 static inline int hugepd_ok(hugepd_t hpd) in hugepd_ok()
Dpgtable-4k.h44 static inline int hugepd_ok(hugepd_t hpd) in hugepd_ok()
Dhash-4k.h73 static inline int hash__hugepd_ok(hugepd_t hpd) in hash__hugepd_ok()
/Linux-v5.4/arch/powerpc/include/asm/
Dpgtable-types.h70 typedef struct { unsigned long pd; } hugepd_t; typedef
71 #define __hugepd(x) ((hugepd_t) { (x) })
72 static inline unsigned long hpd_val(hugepd_t x) in hpd_val()
Dpgtable-be-types.h104 typedef struct { __be64 pdbe; } hugepd_t; typedef
105 #define __hugepd(x) ((hugepd_t) { cpu_to_be64(x) })
107 static inline unsigned long hpd_val(hugepd_t x) in hpd_val()
Dhugetlb.h76 static inline pte_t *hugepte_offset(hugepd_t hpd, unsigned long addr, in hugepte_offset()
/Linux-v5.4/include/linux/
Dhugetlb.h19 typedef struct { unsigned long pd; } hugepd_t; typedef
21 #define __hugepd(x) ((hugepd_t) { (x) })
128 unsigned long address, hugepd_t hpd,
/Linux-v5.4/mm/
Dgup.c2026 static int gup_huge_pd(hugepd_t hugepd, unsigned long addr, in gup_huge_pd()
2044 static inline int gup_huge_pd(hugepd_t hugepd, unsigned long addr, in gup_huge_pd()
Dhugetlb.c5012 unsigned long address, hugepd_t hpd, int flags, int pdshift) in follow_huge_pd()