Home
last modified time | relevance | path

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

/drivers/s390/cio/
Dvfio_ccw_drv.c135 private->cp.guest_cp = kcalloc(CCWCHAIN_LEN_MAX, sizeof(struct ccw1), in vfio_ccw_sch_probe()
137 if (!private->cp.guest_cp) in vfio_ccw_sch_probe()
183 kfree(private->cp.guest_cp); in vfio_ccw_sch_probe()
200 kfree(private->cp.guest_cp); in vfio_ccw_sch_remove()
Dvfio_ccw_cp.c372 struct ccw1 *ccw = cp->guest_cp; in ccwchain_calc_length()
429 len = copy_from_iova(cp->mdev, cp->guest_cp, cda, in ccwchain_handle_ccw()
436 convert_ccw0_to_ccw1(cp->guest_cp, CCWCHAIN_LEN_MAX); in ccwchain_handle_ccw()
450 memcpy(chain->ch_ccw, cp->guest_cp, len * sizeof(struct ccw1)); in ccwchain_handle_ccw()
Dvfio_ccw_cp.h41 struct ccw1 *guest_cp; member