Home
last modified time | relevance | path

Searched refs:guest_cp (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/s390/cio/
H A Dvfio_ccw_cp.h48 struct ccw1 *guest_cp; member
H A Dvfio_ccw_ops.c60 private->cp.guest_cp = kzalloc_objs(struct ccw1, CCWCHAIN_LEN_MAX); in vfio_ccw_mdev_init_dev()
61 if (!private->cp.guest_cp) in vfio_ccw_mdev_init_dev()
93 kfree(private->cp.guest_cp); in vfio_ccw_mdev_init_dev()
162 kfree(private->cp.guest_cp); in vfio_ccw_mdev_release_dev()
H A Dvfio_ccw_cp.c380 struct ccw1 *ccw = cp->guest_cp; in ccwchain_calc_length()
426 ret = vfio_dma_rw(vdev, gcda, cp->guest_cp, CCWCHAIN_LEN_MAX * sizeof(struct ccw1), false); in ccwchain_handle_ccw()
432 convert_ccw0_to_ccw1(cp->guest_cp, CCWCHAIN_LEN_MAX); in ccwchain_handle_ccw()
452 memcpy(chain->ch_ccw, cp->guest_cp, len * sizeof(struct ccw1)); in ccwchain_handle_ccw()