Lines Matching refs:uint64_t

91 	uint64_t	vgn_host_pfn;
99 uint64_t *vgn_entries;
100 uint64_t vgn_gpa;
137 node->vgn_entries = (uint64_t *)page; in vmm_gpt_node_alloc()
198 vmm_gpt_lvl_index(vmm_gpt_node_level_t level, uint64_t gpa) in vmm_gpt_lvl_index()
213 static inline uint64_t
218 const uint64_t gpa_mask[] = { in vmm_gpt_lvl_mask()
228 static inline uint64_t
233 const uint64_t gpa_len[] = { in vmm_gpt_lvl_len()
246 static inline uint64_t
267 vmm_gpt_node_entries_covered(vmm_gpt_node_t *node, uint64_t start, uint64_t end) in vmm_gpt_node_entries_covered()
269 const uint64_t node_end = vmm_gpt_node_end(node); in vmm_gpt_node_entries_covered()
276 const uint64_t mask = vmm_gpt_lvl_mask(node->vgn_level); in vmm_gpt_node_entries_covered()
277 const uint64_t covered_start = MAX(node->vgn_gpa, start & mask); in vmm_gpt_node_entries_covered()
278 const uint64_t covered_end = MIN(node_end, end & mask); in vmm_gpt_node_entries_covered()
279 const uint64_t per_entry = vmm_gpt_lvl_len(node->vgn_level); in vmm_gpt_node_entries_covered()
300 const uint64_t gpa_match = vmm_gpt_node_end(node); in vmm_gpt_node_next()
343 vmm_gpt_node_find_child(vmm_gpt_node_t *parent, uint64_t gpa) in vmm_gpt_node_find_child()
365 vmm_gpt_node_t *child, uint64_t gpa, vmm_gpt_node_t *prev_sibling) in vmm_gpt_node_add()
449 vmm_gpt_walk(vmm_gpt_t *gpt, uint64_t gpa, uint64_t **entries, in vmm_gpt_walk()
452 uint64_t *current_entries, entry; in vmm_gpt_walk()
469 current_entries = (uint64_t *)hat_kpm_pfn2va(pfn); in vmm_gpt_walk()
476 uint64_t *
477 vmm_gpt_lookup(vmm_gpt_t *gpt, uint64_t gpa) in vmm_gpt_lookup()
479 uint64_t *entries[MAX_GPT_LEVEL]; in vmm_gpt_lookup()
493 vmm_gpt_populate_region_lvl(vmm_gpt_t *gpt, uint64_t addr, uint64_t len, in vmm_gpt_populate_region_lvl()
497 const uint64_t end = addr + len; in vmm_gpt_populate_region_lvl()
498 const uint64_t incr = vmm_gpt_lvl_len(lvl); in vmm_gpt_populate_region_lvl()
499 uint64_t gpa = addr & vmm_gpt_lvl_mask(lvl); in vmm_gpt_populate_region_lvl()
566 vmm_gpt_populate_region(vmm_gpt_t *gpt, uint64_t addr, uint64_t len) in vmm_gpt_populate_region()
587 uint64_t gpa = addr; in vmm_gpt_populate_region()
588 const uint64_t end = addr + len; in vmm_gpt_populate_region()
622 vmm_gpt_map_at(vmm_gpt_t *gpt, uint64_t *ptep, pfn_t pfn, uint_t prot, in vmm_gpt_map_at()
625 uint64_t entry, old_entry; in vmm_gpt_map_at()
645 vmm_gpt_map(vmm_gpt_t *gpt, uint64_t gpa, pfn_t pfn, uint_t prot, uint8_t attr) in vmm_gpt_map()
647 uint64_t *entries[MAX_GPT_LEVEL]; in vmm_gpt_map()
661 vmm_gpt_vacate_region(vmm_gpt_t *gpt, uint64_t addr, uint64_t len) in vmm_gpt_vacate_region()
666 const uint64_t end = addr + len; in vmm_gpt_vacate_region()
684 uint64_t gpa = addr; in vmm_gpt_vacate_region()
729 vmm_gpt_unmap(vmm_gpt_t *gpt, uint64_t gpa) in vmm_gpt_unmap()
731 uint64_t *entries[MAX_GPT_LEVEL], entry; in vmm_gpt_unmap()
748 vmm_gpt_unmap_region(vmm_gpt_t *gpt, uint64_t addr, uint64_t len) in vmm_gpt_unmap_region()
753 const uint64_t end = addr + len; in vmm_gpt_unmap_region()
755 for (uint64_t gpa = addr; gpa < end; gpa += PAGESIZE) { in vmm_gpt_unmap_region()
770 vmm_gpt_is_mapped(vmm_gpt_t *gpt, uint64_t *ptep, pfn_t *pfnp, uint_t *protp) in vmm_gpt_is_mapped()
772 uint64_t entry; in vmm_gpt_is_mapped()
795 vmm_gpt_reset_accessed(vmm_gpt_t *gpt, uint64_t *entry, bool on) in vmm_gpt_reset_accessed()
807 vmm_gpt_reset_dirty(vmm_gpt_t *gpt, uint64_t *entry, bool on) in vmm_gpt_reset_dirty()
817 vmm_gpt_query(vmm_gpt_t *gpt, uint64_t *entry, vmm_gpt_query_t query) in vmm_gpt_query()
826 uint64_t