Searched refs:pgd (Results 1 - 16 of 16) sorted by relevance

/external/kernel-headers/original/asm-generic/
H A Dpgtable-nopud.h9 * Having the pud type consist of a pgd gets the size right, and allows
10 * us to conceptually access the pgd entry that this pud is folded into
13 typedef struct { pgd_t pgd; } pud_t; member in struct:__anon6092
23 * into the pgd entry)
25 static inline int pgd_none(pgd_t pgd) { return 0; } argument
26 static inline int pgd_bad(pgd_t pgd) { return 0; } argument
27 static inline int pgd_present(pgd_t pgd) { return 1; } argument
28 static inline void pgd_clear(pgd_t *pgd) { } argument
29 #define pud_ERROR(pud) (pgd_ERROR((pud).pgd))
31 #define pgd_populate(mm, pgd, pu
38 pud_offset(pgd_t * pgd, unsigned long address) argument
[all...]
H A D4level-fixup.h17 #define pud_alloc(mm, pgd, address) (pgd)
18 #define pud_offset(pgd, start) (pgd)
H A Dpgtable.h201 static inline int pgd_none_or_clear_bad(pgd_t *pgd) argument
203 if (pgd_none(*pgd))
205 if (unlikely(pgd_bad(*pgd))) {
206 pgd_clear_bad(pgd);
/external/oprofile/module/x86/
H A Dop_fixmap.c44 pgd_t * pgd; local
48 pgd = pgd_offset_k(vaddr);
49 pmd = pmd_offset(pgd, vaddr);
70 pgd_t * pgd; local
78 pgd = pgd_offset_k(vaddr);
79 if (!pgd)
82 pmd = pmd_offset(pgd, vaddr);
/external/kernel-headers/original/asm-x86/
H A Dpage_32.h49 typedef struct { unsigned long long pgd; } pgd_t; member in struct:__anon6236
52 static inline unsigned long long native_pgd_val(pgd_t pgd) argument
54 return pgd.pgd;
91 typedef struct { unsigned long pgd; } pgd_t; member in struct:__anon6239
95 static inline unsigned long native_pgd_val(pgd_t pgd) argument
97 return pgd.pgd;
H A Dpgalloc_32.h36 extern void pgd_free(pgd_t *pgd);
60 * In the PAE case we free the pmds as part of the pgd.
H A Dparavirt.h229 pgd_t (*make_pgd)(unsigned long long pgd);
235 pgd_t (*make_pgd)(unsigned long pgd);
861 x.pgd, x.pgd >> 32);
898 pudval.pgd.pgd, pudval.pgd.pgd >> 32);
930 return PVOP_CALL1(unsigned long, pv_mmu_ops.pgd_val, x.pgd);
946 PVOP_VCALL2(pv_mmu_ops.set_pmd, pmdp, pmdval.pud.pgd
[all...]
H A Dpgtable_32.h344 * dst - pointer to pgd range anwhere on a pgd page
390 * the pgd page can be thought of an array like this: pgd_t[PTRS_PER_PGD]
392 * this macro returns the index of the entry in the pgd page which would
400 * pgd_index() is used get the offset into the pgd page's array of pgd_t's;
402 #define pgd_offset(mm, address) ((mm)->pgd+pgd_index(address))
405 * a shortcut which implies the use of the kernel's pgd, instead
/external/oprofile/module/
H A Dop_util.c23 static inline unsigned long uvirt_to_kva(pgd_t * pgd, unsigned long adr) argument
29 if (!pgd_none(*pgd)) {
30 pmd = pmd_offset(pgd, adr);
/external/kernel-headers/original/asm-arm/
H A Dpgalloc.h34 extern void free_pgd_slow(pgd_t *pgd);
37 #define pgd_free(pgd) free_pgd_slow(pgd)
H A Dpgtable.h62 * pgd pte
120 #define pgd_ERROR(pgd) __pgd_error(__FILE__, __LINE__, pgd_val(pgd))
319 * setup: the pgd is never bad, and a pmd always exists (as it's folded
320 * into the pgd entry)
322 #define pgd_none(pgd) (0)
323 #define pgd_bad(pgd) (0)
324 #define pgd_present(pgd) (1)
326 #define set_pgd(pgd,pgdp) do { } while (0)
331 #define pgd_offset(mm, addr) ((mm)->pgd
[all...]
H A Dproc-fns.h170 #define cpu_switch_mm(pgd,mm) cpu_do_switch_mm(virt_to_phys(pgd),mm)
H A Dpage.h145 typedef struct { unsigned long pgd[2]; } pgd_t; member in struct:__anon6084
150 #define pgd_val(x) ((x).pgd[0])
/external/kernel-headers/original/asm-mips/
H A Dpgalloc.h43 * Initialize a new pgd / pmd table with invalid pointers.
62 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) argument
64 free_pages((unsigned long)pgd, PGD_ORDER);
111 * inside the pgd, so has no extra memory associated with it.
/external/kernel-headers/original/linux/
H A Dmm.h807 int __pud_alloc(struct mm_struct *mm, pgd_t *pgd, unsigned long address);
817 static inline pud_t *pud_alloc(struct mm_struct *mm, pgd_t *pgd, unsigned long address) argument
819 return (unlikely(pgd_none(*pgd)) && __pud_alloc(mm, pgd, address))?
820 NULL: pud_offset(pgd, address);
H A Dsched.h310 pgd_t * pgd; member in struct:mm_struct

Completed in 30 milliseconds