Lines Matching defs:map
518 * xpvtap_devmap). devmap will alloc and map the ring into the
540 * map in/out the grefs and fault them in/out.
621 * need to do is map it into the user app's VA.
874 xpvtap_user_map_t *map;
878 map = &state->bt_map;
893 xpvtap_rs_init(0, (BLKIF_RING_SIZE - 1), &map->um_rs);
900 map->um_outstanding_reqs = kmem_zalloc(
901 sizeof (*map->um_outstanding_reqs) * BLKIF_RING_SIZE,
916 xpvtap_rs_fini(&map->um_rs);
917 kmem_free(map->um_outstanding_reqs,
918 sizeof (*map->um_outstanding_reqs) * BLKIF_RING_SIZE);
1037 xpvtap_user_map_t *map;
1040 map = &state->bt_map;
1043 xpvtap_rs_fini(&map->um_rs);
1044 kmem_free(map->um_outstanding_reqs,
1045 sizeof (*map->um_outstanding_reqs) * BLKIF_RING_SIZE);
1135 /* we got a request, map the grefs into the user app's VA */
1139 * If we couldn't map the request (e.g. user app hasn't
1221 /* if we don't have any segments to map, we're done */
1268 xpvtap_user_map_t *map;
1272 map = &state->bt_map;
1280 outstanding_req = &map->um_outstanding_reqs[uid];