Lines Matching defs:kva
231 uint8_t *kva;
235 * of this request's kva region.
534 * Global pool of kva used for mapping remote domain ring
537 vm_offset_t kva;
539 /** Pseudo-physical address corresponding to kva. */
542 /** The size of the global kva pool. */
694 * associated with our per-instance kva region.
826 * calculate an offset into a request's kva region.
828 * \param reqlist The request structure whose kva region will be accessed.
829 * \param pagenr The page index used to compute the kva offset.
831 * kva offset.
838 return (reqlist->kva + (PAGE_SIZE * pagenr) + (sector << 9));
888 (uintptr_t)(reqlist->kva - xbb->kva) +
958 free_kva = xbb->kva +
961 KASSERT(free_kva >= (uint8_t *)xbb->kva &&
965 "kva = %#jx, ring VA = %#jx\n", free_kva,
966 nr_pages * PAGE_SIZE, (uintmax_t)xbb->kva,
998 start_page = (intptr_t)(kva_ptr - xbb->kva) >> PAGE_SHIFT;
1053 reqlist->kva = NULL;
1084 if (reqlist->kva != NULL)
1085 xbb_free_kva(xbb, reqlist->kva, reqlist->nr_segments);
1488 reqlist->kva = NULL;
1490 reqlist->kva = xbb_get_kva(xbb, reqlist->nr_segments);
1491 if (reqlist->kva == NULL) {
2598 if (xbb->kva != 0) {
2605 xbb->kva = 0;
2704 * Kva for our ring is at the tail of the region of kva allocated
2707 xbb->ring_config.va = xbb->kva
2841 * into kva. These pages will only be backed by machine
2849 xbb->kva = 0;
2852 xbb->kva = (vm_offset_t)rman_get_virtual(xbb->pseudo_phys_res);
2855 DPRINTF("%s: kva: %#jx, gnt_base_addr: %#jx\n",
2856 device_get_nameunit(xbb->dev), (uintmax_t)xbb->kva,