Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/include/asm/
Dhugetlb.h18 static inline pte_t *hugepd_page(hugepd_t hpd) in hugepd_page()
28 static inline unsigned int hugepd_mmu_psize(hugepd_t hpd) in hugepd_mmu_psize()
33 static inline unsigned int hugepd_shift(hugepd_t hpd) in hugepd_shift()
46 static inline pte_t *hugepd_page(hugepd_t hpd) in hugepd_page()
57 static inline unsigned int hugepd_shift(hugepd_t hpd) in hugepd_shift()
69 static inline pte_t *hugepte_offset(hugepd_t hpd, unsigned long addr, in hugepte_offset()
186 static inline pte_t *hugepte_offset(hugepd_t hpd, unsigned long addr, in hugepte_offset()
Dpgtable-types.h71 typedef struct { unsigned long pd; } hugepd_t; typedef
72 #define __hugepd(x) ((hugepd_t) { (x) })
73 static inline unsigned long hpd_val(hugepd_t x) in hpd_val()
Dpgtable-be-types.h109 typedef struct { __be64 pdbe; } hugepd_t; typedef
110 #define __hugepd(x) ((hugepd_t) { cpu_to_be64(x) })
112 static inline unsigned long hpd_val(hugepd_t x) in hpd_val()
/Linux-v4.19/arch/powerpc/mm/
Dhugetlbpage.c54 static int __hugepte_alloc(struct mm_struct *mm, hugepd_t *hpdp, in __hugepte_alloc()
129 hugepd_t *hpdp = NULL; in huge_pte_alloc()
146 hpdp = (hugepd_t *)pg; in huge_pte_alloc()
154 hpdp = (hugepd_t *)pu; in huge_pte_alloc()
163 hpdp = (hugepd_t *)pm; in huge_pte_alloc()
170 hpdp = (hugepd_t *)pg; in huge_pte_alloc()
176 hpdp = (hugepd_t *)pu; in huge_pte_alloc()
181 hpdp = (hugepd_t *)pm; in huge_pte_alloc()
299 static void free_hugepd_range(struct mmu_gather *tlb, hugepd_t *hpdp, int pdshift, in free_hugepd_range()
363 more = addr + (1 << hugepd_shift(*(hugepd_t *)pmd)); in hugetlb_free_pmd_range()
[all …]
/Linux-v4.19/include/linux/
Dhugetlb.h26 typedef struct { unsigned long pd; } hugepd_t; typedef
28 #define __hugepd(x) ((hugepd_t) { (x) })
29 static inline int gup_huge_pd(hugepd_t hugepd, unsigned long addr, in gup_huge_pd()
36 extern int gup_huge_pd(hugepd_t hugepd, unsigned long addr,
148 unsigned long address, hugepd_t hpd,
/Linux-v4.19/arch/powerpc/include/asm/book3s/64/
Dpgtable-64k.h44 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.h62 static inline int hash__hugepd_ok(hugepd_t hpd) in hash__hugepd_ok()
/Linux-v4.19/arch/powerpc/include/asm/nohash/
Dpgtable.h213 static inline int hugepd_ok(hugepd_t hpd) in hugepd_ok()
/Linux-v4.19/mm/
Dhugetlb.c4808 unsigned long address, hugepd_t hpd, int flags, int pdshift) in follow_huge_pd()