Home
last modified time | relevance | path

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

/linux-2.6.39/arch/powerpc/mm/
Dhugetlbpage.c52 static inline pte_t *hugepd_page(hugepd_t hpd) in hugepd_page()
58 static inline unsigned int hugepd_shift(hugepd_t hpd) in hugepd_shift()
63 static inline pte_t *hugepte_offset(hugepd_t *hpdp, unsigned long addr, unsigned pdshift) in hugepte_offset()
76 hugepd_t *hpdp = NULL; in find_linux_pte_or_hugepte()
84 hpdp = (hugepd_t *)pg; in find_linux_pte_or_hugepte()
89 hpdp = (hugepd_t *)pu; in find_linux_pte_or_hugepte()
94 hpdp = (hugepd_t *)pm; in find_linux_pte_or_hugepte()
114 static int __hugepte_alloc(struct mm_struct *mm, hugepd_t *hpdp, in __hugepte_alloc()
140 hugepd_t *hpdp = NULL; in huge_pte_alloc()
148 hpdp = (hugepd_t *)pg; in huge_pte_alloc()
[all …]
Dgup.c84 if (!gup_hugepd((hugepd_t *)pmdp, PMD_SHIFT, in gup_pmd_range()
108 if (!gup_hugepd((hugepd_t *)pudp, PUD_SHIFT, in gup_pud_range()
169 if (!gup_hugepd((hugepd_t *)pgdp, PGDIR_SHIFT, in get_user_pages_fast()
/linux-2.6.39/arch/powerpc/include/asm/
Dpage.h245 typedef struct { signed long pd; } hugepd_t; typedef
249 static inline int hugepd_ok(hugepd_t hpd) in hugepd_ok()
254 #define is_hugepd(pdep) (hugepd_ok(*((hugepd_t *)(pdep))))
Dpgtable.h215 extern int gup_hugepd(hugepd_t *hugepd, unsigned pdshift, unsigned long addr,