/arch/tile/include/asm/ |
D | pgtable_32.h | 36 #define PTRS_PER_PTE (1 << (HV_LOG2_PAGE_SIZE_LARGE - HV_LOG2_PAGE_SIZE_SMALL)) macro 37 #define SIZEOF_PTE (PTRS_PER_PTE * sizeof(pte_t)) 51 #define LAST_PKMAP PTRS_PER_PTE
|
D | pgtable_64.h | 43 #define PTRS_PER_PTE (1 << (HV_LOG2_PAGE_SIZE_LARGE - HV_LOG2_PAGE_SIZE_SMALL)) macro 44 #define SIZEOF_PTE (PTRS_PER_PTE * sizeof(pte_t))
|
/arch/arm/include/asm/ |
D | pgtable-2level.h | 71 #define PTRS_PER_PTE 512 macro 75 #define PTE_HWTABLE_PTRS (PTRS_PER_PTE) 77 #define PTE_HWTABLE_SIZE (PTRS_PER_PTE * sizeof(u32))
|
D | pgtable-3level.h | 32 #define PTRS_PER_PTE 512 macro 36 #define PTE_HWTABLE_PTRS (PTRS_PER_PTE) 38 #define PTE_HWTABLE_SIZE (PTRS_PER_PTE * sizeof(u64))
|
D | highmem.h | 7 #define LAST_PKMAP PTRS_PER_PTE
|
/arch/m68k/include/asm/ |
D | pgtable_mm.h | 56 #define PTRS_PER_PTE 16 macro 60 #define PTRS_PER_PTE 512 macro 64 #define PTRS_PER_PTE 1024 macro
|
/arch/mips/include/asm/ |
D | pgtable-64.h | 114 #define PTRS_PER_PTE ((PAGE_SIZE << PTE_ORDER) / sizeof(pte_t)) macro 131 min(PTRS_PER_PGD * PTRS_PER_PMD * PTRS_PER_PTE * PAGE_SIZE, \ 150 extern pte_t invalid_pte_table[PTRS_PER_PTE]; 151 extern pte_t empty_bad_page_table[PTRS_PER_PTE]; 253 (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))
|
/arch/m68k/mm/ |
D | sun3mmu.c | 72 next_pgtable += PTRS_PER_PTE * sizeof (pte_t); in paging_init() 78 for (i=0; i<PTRS_PER_PTE; ++i, ++pg_table) { in paging_init()
|
D | mcfmmu.c | 65 next_pgtable += PTRS_PER_PTE * sizeof(pte_t); in paging_init() 70 for (i = 0; i < PTRS_PER_PTE; ++i, ++pg_table) { in paging_init()
|
/arch/hexagon/include/asm/ |
D | pgtable.h | 99 #define PTRS_PER_PTE 1024 macro 103 #define PTRS_PER_PTE 256 macro 107 #define PTRS_PER_PTE 64 macro 111 #define PTRS_PER_PTE 16 macro 115 #define PTRS_PER_PTE 4 macro 453 #define __pte_offset(address) (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))
|
D | mem-layout.h | 89 #define LAST_PKMAP PTRS_PER_PTE
|
/arch/powerpc/mm/ |
D | subpage-prot.c | 119 i = (addr >> PAGE_SHIFT) & (PTRS_PER_PTE - 1); in subpage_prot_clear() 120 nw = PTRS_PER_PTE - i; in subpage_prot_clear() 197 i = (addr >> PAGE_SHIFT) & (PTRS_PER_PTE - 1); in sys_subpage_prot() 198 nw = PTRS_PER_PTE - i; in sys_subpage_prot()
|
/arch/unicore32/include/asm/ |
D | pgalloc.h | 43 clean_dcache_area(pte, PTRS_PER_PTE * sizeof(pte_t)); in pte_alloc_one_kernel() 57 clean_dcache_area(page, PTRS_PER_PTE * sizeof(pte_t)); in pte_alloc_one()
|
/arch/x86/include/asm/ |
D | pgtable-2level_types.h | 35 #define PTRS_PER_PTE 1024 macro
|
D | pgtable-3level_types.h | 45 #define PTRS_PER_PTE 512 macro
|
D | pgtable_64_types.h | 45 #define PTRS_PER_PTE 512 macro
|
/arch/x86/power/ |
D | hibernate_32.c | 113 pfn += PTRS_PER_PTE; in resume_physical_mapping_init() 121 max_pte = pte + PTRS_PER_PTE; in resume_physical_mapping_init()
|
/arch/mn10300/mm/ |
D | init.c | 61 for (loop = VMALLOC_START / (PAGE_SIZE * PTRS_PER_PTE); in paging_init() 62 loop < VMALLOC_END / (PAGE_SIZE * PTRS_PER_PTE); in paging_init()
|
/arch/powerpc/include/asm/ |
D | pgtable-ppc64-64k.h | 18 #define PTRS_PER_PTE (1 << PTE_INDEX_SIZE) macro
|
D | pte-hash64-64k.h | 51 (pte_val(*((p) + PTRS_PER_PTE))) : 0 })
|
D | pgtable-ppc64-4k.h | 20 #define PTRS_PER_PTE (1 << PTE_INDEX_SIZE) macro
|
/arch/parisc/kernel/ |
D | init_task.c | 60 pte_t pg0[PT_INITIAL * PTRS_PER_PTE] __attribute__ ((__section__ (".data..vm0.pte"), aligned(PAGE_S…
|
/arch/avr32/include/asm/ |
D | pgtable-2level.h | 19 #define PTRS_PER_PTE 1024 macro
|
/arch/um/include/asm/ |
D | pgtable-2level.h | 23 #define PTRS_PER_PTE 1024 macro
|
/arch/s390/include/asm/ |
D | pgtable.h | 104 #define PTRS_PER_PTE 256 macro 559 : "=&d" (old), "=&d" (new), "=Q" (ptep[PTRS_PER_PTE]) in pgste_get_lock() 560 : "Q" (ptep[PTRS_PER_PTE]) : "cc"); in pgste_get_lock() 571 : "=Q" (ptep[PTRS_PER_PTE]) in pgste_set_unlock() 572 : "d" (pgste_val(pgste)), "Q" (ptep[PTRS_PER_PTE]) : "cc"); in pgste_set_unlock() 1001 pgste_set_unlock(ptep, *(pgste_t *)(ptep + PTRS_PER_PTE)); in ptep_modify_prot_commit() 1118 #define pte_index(address) (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE-1))
|