Searched refs:cmd_region (Results 1 – 4 of 4) sorted by relevance
207 struct ccw_cmd_region *cmd_region = private->cmd_region; in fsm_async_error() local210 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() local336 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 …]
68 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()
86 private->cmd_region); in vfio_ccw_register_async_dev_regions()
113 struct ccw_cmd_region *cmd_region; member