Home
last modified time | relevance | path

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

/drivers/s390/char/
Dtape_block.c84 __tapeblock_end_request(struct tape_request *ccw_req, void *data) in __tapeblock_end_request() argument
91 device = ccw_req->device; in __tapeblock_end_request()
93 tapeblock_end_request(req, (ccw_req->rc == 0) ? 0 : -EIO); in __tapeblock_end_request()
94 if (ccw_req->rc == 0) in __tapeblock_end_request()
101 device->discipline->free_bread(ccw_req); in __tapeblock_end_request()
113 struct tape_request * ccw_req; in tapeblock_start_request() local
118 ccw_req = device->discipline->bread(device, req); in tapeblock_start_request()
119 if (IS_ERR(ccw_req)) { in tapeblock_start_request()
122 return PTR_ERR(ccw_req); in tapeblock_start_request()
124 ccw_req->callback = __tapeblock_end_request; in tapeblock_start_request()
[all …]