Home
last modified time | relevance | path

Searched refs:cmd_region (Results 1 – 4 of 4) sorted by relevance

/drivers/s390/cio/
Dvfio_ccw_fsm.c207 struct ccw_cmd_region *cmd_region = private->cmd_region; in fsm_async_error() local
210 cmd_region->command == VFIO_CCW_ASYNC_CMD_HSCH ? "halt" : in fsm_async_error()
211 cmd_region->command == VFIO_CCW_ASYNC_CMD_CSCH ? "clear" : in fsm_async_error()
213 cmd_region->ret_code = -EIO; in fsm_async_error()
219 private->cmd_region->ret_code = -EAGAIN; in fsm_async_retry()
334 struct ccw_cmd_region *cmd_region = private->cmd_region; in fsm_async_request() local
336 switch (cmd_region->command) { in fsm_async_request()
338 cmd_region->ret_code = fsm_do_halt(private); in fsm_async_request()
341 cmd_region->ret_code = fsm_do_clear(private); in fsm_async_request()
345 cmd_region->ret_code = -EINVAL; in fsm_async_request()
[all …]
Dvfio_ccw_ops.c68 private->cmd_region = kmem_cache_zalloc(vfio_ccw_cmd_region, in vfio_ccw_mdev_init_dev()
70 if (!private->cmd_region) in vfio_ccw_mdev_init_dev()
88 kmem_cache_free(vfio_ccw_cmd_region, private->cmd_region); in vfio_ccw_mdev_init_dev()
142 kmem_cache_free(vfio_ccw_cmd_region, private->cmd_region); in vfio_ccw_mdev_release_dev()
Dvfio_ccw_async.c86 private->cmd_region); in vfio_ccw_register_async_dev_regions()
Dvfio_ccw_private.h113 struct ccw_cmd_region *cmd_region; member