Name
ccw_device_clear —
terminate I/O request processing
Arguments
cdev
target ccw device
intparm
interruption parameter; value is only used if no I/O is
outstanding, otherwise the intparm associated with the I/O request
is returned
Returns
0
on success,
-ENODEV
on device not operational,
-EINVAL
on invalid device state.
Context
Interrupts disabled, ccw device lock held