Home
last modified time | relevance | path

Searched refs:HASH_PTE_SIZE_64 (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/target/ppc/
H A Dmmu-hash64.h67 #define HASH_PTE_SIZE_64 16 macro
68 #define HASH_PTEG_SIZE_64 (HASH_PTE_SIZE_64 * HPTES_PER_GROUP)
106 #define HPTE64_DW1 (HASH_PTE_SIZE_64 / 2)
H A Dmmu-hash64.c555 hwaddr pte_offset = ptex * HASH_PTE_SIZE_64; in ppc_hash64_map_hptes()
557 hwaddr plen = n * HASH_PTE_SIZE_64; in ppc_hash64_map_hptes()
571 if (plen < (n * HASH_PTE_SIZE_64)) { in ppc_hash64_map_hptes()
585 address_space_unmap(CPU(cpu)->as, (void *)hptes, n * HASH_PTE_SIZE_64, in ppc_hash64_unmap_hptes()
586 false, n * HASH_PTE_SIZE_64); in ppc_hash64_unmap_hptes()
867 hwaddr base, offset = ptex * HASH_PTE_SIZE_64 + HPTE64_DW1_R; in ppc_hash64_set_r()
882 hwaddr base, offset = ptex * HASH_PTE_SIZE_64 + HPTE64_DW1_C; in ppc_hash64_set_c()
H A Dkvm.c2725 HASH_PTE_SIZE_64 * head->n_valid; in kvmppc_save_htab()
2731 HASH_PTE_SIZE_64 * head->n_valid); in kvmppc_save_htab()
2748 size_t chunksize = sizeof(*buf) + n_valid * HASH_PTE_SIZE_64; in kvmppc_load_htab_chunk()
2756 qemu_get_buffer(f, (void *)(buf + 1), HASH_PTE_SIZE_64 * n_valid); in kvmppc_load_htab_chunk()
2791 char buf[sizeof(*hdr) + HPTES_PER_GROUP * HASH_PTE_SIZE_64]; in kvmppc_read_hptes()
2793 rc = read(fd, buf, sizeof(*hdr) + m * HASH_PTE_SIZE_64); in kvmppc_read_hptes()
2810 memcpy(hptes + i, hdr + 1, HASH_PTE_SIZE_64 * valid); in kvmppc_read_hptes()
2816 memset(hptes + i, 0, invalid * HASH_PTE_SIZE_64); in kvmppc_read_hptes()
2820 ((char *)(hdr + 1) + HASH_PTE_SIZE_64 * hdr->n_valid); in kvmppc_read_hptes()
/openbmc/qemu/hw/ppc/
H A Dspapr_vhyp_mmu.c415 addr += slot * HASH_PTE_SIZE_64; in new_hpte_load0()
425 addr += slot * HASH_PTE_SIZE_64; in new_hpte_store()
H A Dspapr.c1518 hwaddr pte_offset = ptex * HASH_PTE_SIZE_64; in spapr_map_hptes()
1553 hwaddr offset = ptex * HASH_PTE_SIZE_64; in spapr_store_hpte()
1583 hwaddr offset = ptex * HASH_PTE_SIZE_64 + HPTE64_DW1_C; in spapr_hpte_set_c()
1599 hwaddr offset = ptex * HASH_PTE_SIZE_64 + HPTE64_DW1_R; in spapr_hpte_set_r()
1675 for (i = 0; i < size / HASH_PTE_SIZE_64; i++) { in spapr_reallocate_hpt()
2235 HASH_PTE_SIZE_64 * n_valid); in htab_save_chunk()
2249 int htabslots = HTAB_SIZE(spapr) / HASH_PTE_SIZE_64; in htab_save_first_pass()
2297 int htabslots = HTAB_SIZE(spapr) / HASH_PTE_SIZE_64; in htab_save_later_pass()
2501 (HTAB_SIZE(spapr) / HASH_PTE_SIZE_64)) { in htab_load()
2512 HASH_PTE_SIZE_64 * n_valid); in htab_load()
[all …]
/openbmc/qemu/scripts/
H A Danalyze-migration.py225 HASH_PTE_SIZE_64 = 16 variable in HTABSection
255 self.file.readvar(n_valid * self.HASH_PTE_SIZE_64)