/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
H A D | hash_64k.c | 42 unsigned int subpg_index; in __hash_page_4K() local 87 subpg_index = (ea & (PAGE_SIZE - 1)) >> shift; in __hash_page_4K() 113 if (__rpte_sub_valid(rpte, subpg_index)) { in __hash_page_4K() 117 subpg_index); in __hash_page_4K() 153 pa += (subpg_index << shift); in __hash_page_4K() 216 new_pte |= pte_set_hidx(ptep, rpte, subpg_index, slot, PTRS_PER_PTE); in __hash_page_4K()
|
H A D | hash_utils.c | 1748 int ssize, real_pte_t rpte, unsigned int subpg_index) in pte_get_hash_gslot() 1753 hidx = __rpte_to_hidx(rpte, subpg_index); in pte_get_hash_gslot() 1747 pte_get_hash_gslot(unsigned long vpn, unsigned long shift, int ssize, real_pte_t rpte, unsigned int subpg_index) pte_get_hash_gslot() argument
|
/kernel/linux/linux-6.6/arch/powerpc/mm/book3s64/ |
H A D | hash_64k.c | 44 unsigned int subpg_index; in __hash_page_4K() local 89 subpg_index = (ea & (PAGE_SIZE - 1)) >> shift; in __hash_page_4K() 115 if (__rpte_sub_valid(rpte, subpg_index)) { in __hash_page_4K() 119 subpg_index); in __hash_page_4K() 155 pa += (subpg_index << shift); in __hash_page_4K() 218 new_pte |= pte_set_hidx(ptep, rpte, subpg_index, slot, PTRS_PER_PTE); in __hash_page_4K()
|
H A D | hash_utils.c | 1910 int ssize, real_pte_t rpte, unsigned int subpg_index) in pte_get_hash_gslot() 1915 hidx = __rpte_to_hidx(rpte, subpg_index); in pte_get_hash_gslot() 1909 pte_get_hash_gslot(unsigned long vpn, unsigned long shift, int ssize, real_pte_t rpte, unsigned int subpg_index) pte_get_hash_gslot() argument
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/book3s/64/ |
H A D | hash-64k.h | 133 unsigned int subpg_index, in pte_set_hidx() 138 rpte.hidx &= ~HIDX_BITS(0xfUL, subpg_index); in pte_set_hidx() 139 *hidxp = rpte.hidx | HIDX_BITS(HIDX_SHIFT_BY_ONE(hidx), subpg_index); in pte_set_hidx() 132 pte_set_hidx(pte_t *ptep, real_pte_t rpte, unsigned int subpg_index, unsigned long hidx, int offset) pte_set_hidx() argument
|
H A D | hash-4k.h | 100 unsigned int subpg_index, unsigned long hidx, in pte_set_hidx() 99 pte_set_hidx(pte_t *ptep, real_pte_t rpte, unsigned int subpg_index, unsigned long hidx, int offset) pte_set_hidx() argument
|
H A D | hash.h | 231 int ssize, real_pte_t rpte, unsigned int subpg_index);
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/64/ |
H A D | hash-64k.h | 133 unsigned int subpg_index, in pte_set_hidx() 138 rpte.hidx &= ~HIDX_BITS(0xfUL, subpg_index); in pte_set_hidx() 139 *hidxp = rpte.hidx | HIDX_BITS(HIDX_SHIFT_BY_ONE(hidx), subpg_index); in pte_set_hidx() 132 pte_set_hidx(pte_t *ptep, real_pte_t rpte, unsigned int subpg_index, unsigned long hidx, int offset) pte_set_hidx() argument
|
H A D | hash-4k.h | 100 unsigned int subpg_index, unsigned long hidx, in pte_set_hidx() 99 pte_set_hidx(pte_t *ptep, real_pte_t rpte, unsigned int subpg_index, unsigned long hidx, int offset) pte_set_hidx() argument
|
H A D | hash.h | 217 int ssize, real_pte_t rpte, unsigned int subpg_index);
|