Home
last modified time | relevance | path

Searched refs:PTE_T_LOG2 (Results 1 – 7 of 7) sorted by relevance

/linux/arch/powerpc/include/asm/
A Dpage_32.h21 #define PTE_SHIFT (PAGE_SHIFT - PTE_T_LOG2 - 2) /* 1/4 of a page */
23 #define PTE_SHIFT (PAGE_SHIFT - PTE_T_LOG2) /* full page */
58 #define PTE_T_LOG2 (__builtin_ffs(sizeof(pte_t)) - 1) macro
/linux/arch/mips/include/asm/
A Dpgtable-32.h65 # define PGDIR_SHIFT (2 * PAGE_SHIFT + PTE_ORDER - PTE_T_LOG2 - 1)
67 # define PGDIR_SHIFT (2 * PAGE_SHIFT + PTE_ORDER - PTE_T_LOG2)
78 # define __PGD_ORDER (32 - 3 * PAGE_SHIFT + PGD_T_LOG2 + PTE_T_LOG2 + 1)
80 # define __PGD_ORDER (32 - 3 * PAGE_SHIFT + PGD_T_LOG2 + PTE_T_LOG2)
A Dpgtable.h255 #define PTE_T_LOG2 (__builtin_ffs(sizeof(pte_t)) - 1) macro
/linux/arch/powerpc/include/asm/nohash/32/
A Dmmu-44x.h154 #define PPC44x_PTE_ADD_SHIFT (32 - PGDIR_SHIFT + PTE_SHIFT + PTE_T_LOG2)
155 #define PPC44x_PTE_ADD_MASK_BIT (32 - PTE_T_LOG2 - PTE_SHIFT)
/linux/arch/mips/mm/
A Dtlbex.c996 unsigned int shift = 4 - (PTE_T_LOG2 + 1) + PAGE_SHIFT - 12; in build_adjust_context()
997 unsigned int mask = (PTRS_PER_PTE / 2 - 1) << (PTE_T_LOG2 + 1); in build_adjust_context()
2069 UASM_i_SRL(p, wr.r1, wr.r1, PAGE_SHIFT + PTE_ORDER - PTE_T_LOG2); in build_r4000_tlbchange_handler_head()
2070 uasm_i_andi(p, wr.r1, wr.r1, (PTRS_PER_PTE - 1) << PTE_T_LOG2); in build_r4000_tlbchange_handler_head()
2524 pwsize |= ((PTE_T_LOG2 - PGD_T_LOG2) << MIPS_PWSIZE_PTEW_SHIFT) in config_htw_params()
/linux/arch/powerpc/kernel/
A Dasm-offsets.c649 DEFINE(PTE_T_LOG2, PTE_T_LOG2); in main()
/linux/arch/mips/kernel/
A Dasm-offsets.c197 DEFINE(_PTE_T_LOG2, PTE_T_LOG2); in output_mm_defines()

Completed in 14 milliseconds