Searched refs:guest_cp (Results 1 – 3 of 3) sorted by relevance
40 struct ccw1 *guest_cp; member
58 private->cp.guest_cp = kzalloc_objs(struct ccw1, CCWCHAIN_LEN_MAX); in vfio_ccw_mdev_init_dev()59 if (!private->cp.guest_cp) in vfio_ccw_mdev_init_dev()91 kfree(private->cp.guest_cp); in vfio_ccw_mdev_init_dev()143 kfree(private->cp.guest_cp); in vfio_ccw_mdev_release_dev()
378 struct ccw1 *ccw = cp->guest_cp; in ccwchain_calc_length()431 ret = vfio_dma_rw(vdev, gcda, cp->guest_cp, CCWCHAIN_LEN_MAX * sizeof(struct ccw1), false); in ccwchain_handle_ccw()437 convert_ccw0_to_ccw1(cp->guest_cp, CCWCHAIN_LEN_MAX); in ccwchain_handle_ccw()453 memcpy(chain->ch_ccw, cp->guest_cp, len * sizeof(struct ccw1)); in ccwchain_handle_ccw()