Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/s390/cio/
Dvfio_ccw_fsm.c205 struct ccw_cmd_region *cmd_region = private->cmd_region; in fsm_async_error() local
208 cmd_region->command == VFIO_CCW_ASYNC_CMD_HSCH ? "halt" : in fsm_async_error()
209 cmd_region->command == VFIO_CCW_ASYNC_CMD_CSCH ? "clear" : in fsm_async_error()
211 cmd_region->ret_code = -EIO; in fsm_async_error()
217 private->cmd_region->ret_code = -EAGAIN; in fsm_async_retry()
332 struct ccw_cmd_region *cmd_region = private->cmd_region; in fsm_async_request() local
334 switch (cmd_region->command) { in fsm_async_request()
336 cmd_region->ret_code = fsm_do_halt(private); in fsm_async_request()
339 cmd_region->ret_code = fsm_do_clear(private); in fsm_async_request()
343 cmd_region->ret_code = -EINVAL; in fsm_async_request()
[all …]
Dvfio_ccw_drv.c146 if (private->cmd_region) in vfio_ccw_free_regions()
147 kmem_cache_free(vfio_ccw_cmd_region, private->cmd_region); in vfio_ccw_free_regions()
178 private->cmd_region = kmem_cache_zalloc(vfio_ccw_cmd_region, in vfio_ccw_sch_probe()
180 if (!private->cmd_region) in vfio_ccw_sch_probe()
Dvfio_ccw_async.c87 private->cmd_region); in vfio_ccw_register_async_dev_regions()
Dvfio_ccw_private.h99 struct ccw_cmd_region *cmd_region; member