/arch/alpha/include/asm/ |
H A D | pgtable.h | 288 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) macro 289 #define pgd_offset(mm, address) ((mm)->pgd+pgd_index(address))
|
/arch/arc/include/asm/ |
H A D | pgtable.h | 334 #define pgd_index(addr) ((addr) >> PGDIR_SHIFT) macro 335 #define pgd_offset(mm, addr) (((mm)->pgd)+pgd_index(addr)) 354 pgd_base + pgd_index(addr); \
|
/arch/arm/include/asm/ |
H A D | pgtable.h | 177 #define pgd_index(addr) ((addr) >> PGDIR_SHIFT) macro 179 #define pgd_offset(mm, addr) ((mm)->pgd + pgd_index(addr))
|
/arch/arm64/include/asm/ |
H A D | pgtable.h | 449 #define pgd_index(addr) (((addr) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1)) macro 451 #define pgd_offset(mm, addr) ((mm)->pgd+pgd_index(addr))
|
/arch/avr32/include/asm/ |
H A D | pgtable.h | 307 #define pgd_index(address) (((address) >> PGDIR_SHIFT) \ macro 309 #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address))
|
/arch/cris/include/asm/ |
H A D | pgtable.h | 233 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) macro 238 return mm->pgd + pgd_index(address);
|
/arch/frv/include/asm/ |
H A D | pgtable.h | 183 * pgd_index() is used get the offset into the pgd page's array of pgd_t's; 185 #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address)) 435 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1)) macro 436 #define pgd_index_k(addr) pgd_index(addr)
|
/arch/hexagon/include/asm/ |
H A D | pgtable.h | 243 * pgd_index - returns the index of the entry in the PGD page 248 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) macro 253 #define pgd_offset(mm, addr) ((mm)->pgd + pgd_index(addr))
|
/arch/ia64/include/asm/ |
H A D | pgtable.h | 365 pgd_index (unsigned long address) function 378 return mm->pgd + pgd_index(address);
|
/arch/m32r/include/asm/ |
H A D | pgtable.h | 318 #define pgd_index(address) \ macro 321 #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address))
|
/arch/m68k/include/asm/ |
H A D | mcf_pgtable.h | 339 #define pgd_index(address) ((address) >> PGDIR_SHIFT) macro 340 #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address))
|
H A D | motorola_pgtable.h | 194 #define pgd_index(address) ((address) >> PGDIR_SHIFT) macro 200 return mm->pgd + pgd_index(address);
|
H A D | sun3_pgtable.h | 191 #define pgd_index(address) ((address) >> PGDIR_SHIFT) macro 194 ((mm)->pgd + pgd_index(address))
|
/arch/metag/include/asm/ |
H A D | pgtable.h | 145 #define FIRST_USER_PGD_NR pgd_index(FIRST_USER_ADDRESS) 275 #define pgd_index(address) ((((address) & ~0x80000000) >> PGDIR_SHIFT) \ macro 278 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) macro 281 #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address))
|
/arch/microblaze/include/asm/ |
H A D | pgtable.h | 483 #define pgd_index(address) ((address) >> PGDIR_SHIFT) macro 484 #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address))
|
/arch/mips/include/asm/ |
H A D | pgtable-32.h | 131 #define __pgd_offset(address) pgd_index(address) 138 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) macro 141 #define pgd_offset(mm, addr) ((mm)->pgd + pgd_index(addr))
|
H A D | pgtable-64.h | 236 #define __pgd_offset(address) pgd_index(address) 243 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) macro 247 #define pgd_offset(mm, addr) ((mm)->pgd + pgd_index(addr))
|
/arch/mn10300/include/asm/ |
H A D | pgtable.h | 428 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1)) macro 432 * pgd_index() is used get the offset into the pgd page's array of pgd_t's; 434 #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address))
|
/arch/openrisc/include/asm/ |
H A D | pgtable.h | 377 #define pgd_index(address) ((address >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) macro 379 #define __pgd_offset(address) pgd_index(address) 381 #define pgd_offset(mm, address) ((mm)->pgd+pgd_index(address))
|
/arch/parisc/include/asm/ |
H A D | pgtable.h | 394 #define pgd_index(address) ((address) >> PGDIR_SHIFT) macro
|
/arch/powerpc/include/asm/ |
H A D | pgtable-ppc32.h | 300 #define pgd_index(address) ((address) >> PGDIR_SHIFT) macro 301 #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address))
|
H A D | pgtable-ppc64.h | 175 #define pgd_index(address) (((address) >> (PGDIR_SHIFT)) & (PTRS_PER_PGD - 1)) macro 177 #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address))
|
/arch/s390/include/asm/ |
H A D | pgtable.h | 1360 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) macro 1365 #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address))
|
/arch/score/include/asm/ |
H A D | pgtable.h | 70 #define __pgd_offset(address) pgd_index(address) 76 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) macro 79 #define pgd_offset(mm, addr) ((mm)->pgd + pgd_index(addr))
|
/arch/sh/include/asm/ |
H A D | pgtable_32.h | 412 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) macro 413 #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address)) 414 #define __pgd_offset(address) pgd_index(address)
|