Searched refs:hugepd_t (Results 1 – 4 of 4) sorted by relevance
/linux-4.4.14/arch/powerpc/include/asm/ |
D | hugetlb.h | 15 static inline pte_t *hugepd_page(hugepd_t hpd) in hugepd_page() 25 static inline unsigned int hugepd_mmu_psize(hugepd_t hpd) in hugepd_mmu_psize() 30 static inline unsigned int hugepd_shift(hugepd_t hpd) in hugepd_shift() 37 static inline pte_t *hugepd_page(hugepd_t hpd) in hugepd_page() 43 static inline unsigned int hugepd_shift(hugepd_t hpd) in hugepd_shift() 51 static inline pte_t *hugepte_offset(hugepd_t hpd, unsigned long addr, in hugepte_offset() 182 static inline pte_t *hugepte_offset(hugepd_t hpd, unsigned long addr, in hugepte_offset()
|
D | page.h | 364 typedef struct { signed long pd; } hugepd_t; typedef 377 extern int hugepd_ok(hugepd_t hpd); 382 static inline int hugepd_ok(hugepd_t hpd) in hugepd_ok() 392 static inline int hugepd_ok(hugepd_t hpd) in hugepd_ok() 405 #define __hugepd(x) ((hugepd_t) { (x) })
|
/linux-4.4.14/arch/powerpc/mm/ |
D | hugetlbpage.c | 98 int hugepd_ok(hugepd_t hpd) in hugepd_ok() 134 static int __hugepte_alloc(struct mm_struct *mm, hugepd_t *hpdp, in __hugepte_alloc() 215 hugepd_t *hpdp = NULL; in huge_pte_alloc() 229 hpdp = (hugepd_t *)pg; in huge_pte_alloc() 236 hpdp = (hugepd_t *)pu; in huge_pte_alloc() 244 hpdp = (hugepd_t *)pm; in huge_pte_alloc() 265 hugepd_t *hpdp = NULL; in huge_pte_alloc() 274 hpdp = (hugepd_t *)pg; in huge_pte_alloc() 279 hpdp = (hugepd_t *)pu; in huge_pte_alloc() 283 hpdp = (hugepd_t *)pm; in huge_pte_alloc() [all …]
|
/linux-4.4.14/include/linux/ |
D | hugetlb.h | 218 typedef struct { unsigned long pd; } hugepd_t; typedef 220 #define __hugepd(x) ((hugepd_t) { (x) }) 221 static inline int gup_huge_pd(hugepd_t hugepd, unsigned long addr, in gup_huge_pd() 228 extern int gup_huge_pd(hugepd_t hugepd, unsigned long addr,
|