Searched refs:guest_cp (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/s390/cio/ |
H A D | vfio_ccw_drv.c | 168 private->cp.guest_cp = kcalloc(CCWCHAIN_LEN_MAX, sizeof(struct ccw1), in vfio_ccw_sch_probe() 170 if (!private->cp.guest_cp) in vfio_ccw_sch_probe() 232 kfree(private->cp.guest_cp); in vfio_ccw_sch_probe() 254 kfree(private->cp.guest_cp); in vfio_ccw_sch_remove()
|
H A D | vfio_ccw_cp.h | 42 struct ccw1 *guest_cp; member
|
H A D | vfio_ccw_cp.c | 373 struct ccw1 *ccw = cp->guest_cp; in ccwchain_calc_length() 430 len = copy_from_iova(cp->mdev, cp->guest_cp, cda, in ccwchain_handle_ccw() 437 convert_ccw0_to_ccw1(cp->guest_cp, CCWCHAIN_LEN_MAX); in ccwchain_handle_ccw() 451 memcpy(chain->ch_ccw, cp->guest_cp, len * sizeof(struct ccw1)); in ccwchain_handle_ccw()
|
/kernel/linux/linux-6.6/drivers/s390/cio/ |
H A D | vfio_ccw_cp.h | 40 struct ccw1 *guest_cp; member
|
H A D | vfio_ccw_cp.c | 377 struct ccw1 *ccw = cp->guest_cp; in ccwchain_calc_length() 428 ret = vfio_dma_rw(vdev, cda, cp->guest_cp, CCWCHAIN_LEN_MAX * sizeof(struct ccw1), false); in ccwchain_handle_ccw() 434 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()
|
H A D | vfio_ccw_ops.c | 58 private->cp.guest_cp = kcalloc(CCWCHAIN_LEN_MAX, sizeof(struct ccw1), in vfio_ccw_mdev_init_dev() 60 if (!private->cp.guest_cp) in vfio_ccw_mdev_init_dev() 92 kfree(private->cp.guest_cp); in vfio_ccw_mdev_init_dev() 144 kfree(private->cp.guest_cp); in vfio_ccw_mdev_release_dev()
|
Completed in 5 milliseconds