Searched refs:PTE_T_LOG2 (Results 1 – 7 of 7) sorted by relevance
22 #define PTE_SHIFT (PAGE_SHIFT - PTE_T_LOG2) /* full page */43 #define PTE_T_LOG2 (__builtin_ffs(sizeof(pte_t)) - 1) macro
92 #define PPC44x_PTE_ADD_SHIFT (32 - PGDIR_SHIFT + PTE_SHIFT + PTE_T_LOG2)93 #define PPC44x_PTE_ADD_MASK_BIT (32 - PTE_T_LOG2 - PTE_SHIFT)
46 #define PGDIR_SHIFT (2 * PAGE_SHIFT + PTE_ORDER - PTE_T_LOG2)54 #define __PGD_ORDER (32 - 3 * PAGE_SHIFT + PGD_T_LOG2 + PTE_T_LOG2)
180 #define PTE_T_LOG2 (__builtin_ffs(sizeof(pte_t)) - 1) macro
566 unsigned int shift = 4 - (PTE_T_LOG2 + 1) + PAGE_SHIFT - 12; in build_adjust_context()567 unsigned int mask = (PTRS_PER_PTE / 2 - 1) << (PTE_T_LOG2 + 1); in build_adjust_context()1098 UASM_i_SRL(p, pte, pte, PAGE_SHIFT + PTE_ORDER - PTE_T_LOG2); in build_r4000_tlbchange_handler_head()1099 uasm_i_andi(p, pte, pte, (PTRS_PER_PTE - 1) << PTE_T_LOG2); in build_r4000_tlbchange_handler_head()
387 DEFINE(PTE_T_LOG2, PTE_T_LOG2); in main()
194 DEFINE(_PTE_T_LOG2, PTE_T_LOG2); in output_mm_defines()