Searched refs:hugepd_t (Results 1 – 15 of 15) sorted by relevance
| /Linux-v5.4/arch/powerpc/include/asm/nohash/ |
| D | hugetlb-book3e.h | 5 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()
|
| D | pgtable.h | 267 static inline int hugepd_ok(hugepd_t hpd) in hugepd_ok()
|
| /Linux-v5.4/arch/powerpc/mm/ |
| D | hugetlbpage.c | 44 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 …]
|
| D | pgtable.c | 319 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/ |
| D | hugetlb-8xx.h | 7 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/ |
| D | hugetlb.h | 68 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()
|
| D | pgtable-64k.h | 47 static inline int hugepd_ok(hugepd_t hpd) in hugepd_ok()
|
| D | pgtable-4k.h | 44 static inline int hugepd_ok(hugepd_t hpd) in hugepd_ok()
|
| D | hash-4k.h | 73 static inline int hash__hugepd_ok(hugepd_t hpd) in hash__hugepd_ok()
|
| /Linux-v5.4/arch/powerpc/include/asm/ |
| D | pgtable-types.h | 70 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()
|
| D | pgtable-be-types.h | 104 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()
|
| D | hugetlb.h | 76 static inline pte_t *hugepte_offset(hugepd_t hpd, unsigned long addr, in hugepte_offset()
|
| /Linux-v5.4/include/linux/ |
| D | hugetlb.h | 19 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/ |
| D | gup.c | 2026 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()
|
| D | hugetlb.c | 5012 unsigned long address, hugepd_t hpd, int flags, int pdshift) in follow_huge_pd()
|