Lines Matching defs:rsp
134 struct request *rsp)
141 if (blk_rq_bytes(req) < 8 || blk_rq_bytes(rsp) < 8)
145 bio_offset(rsp->bio) + blk_rq_bytes(rsp) > PAGE_SIZE) {
155 resp_data = kzalloc(max(blk_rq_bytes(rsp), 128U), GFP_KERNEL);
183 rsp->resid_len -= 32;
190 rsp->resid_len -= 64;
208 rsp->resid_len -= 56;
222 rsp->resid_len -= 60;
244 rsp->resid_len -= 8;
259 buf = kmap_atomic(bio_page(rsp->bio), KM_USER0) + bio_offset(rsp->bio);
260 memcpy(buf, resp_data, blk_rq_bytes(rsp));
261 flush_kernel_dcache_page(bio_page(rsp->bio));
262 kunmap_atomic(buf - bio_offset(rsp->bio), KM_USER0);