Lines Matching refs:rsp
229 struct request *rsp) in sas_smp_host_handler() argument
236 if (blk_rq_bytes(req) < 8 || blk_rq_bytes(rsp) < 8) in sas_smp_host_handler()
240 bio_offset(rsp->bio) + blk_rq_bytes(rsp) > PAGE_SIZE) { in sas_smp_host_handler()
250 resp_data = kzalloc(max(blk_rq_bytes(rsp), 128U), GFP_KERNEL); in sas_smp_host_handler()
278 rsp->resid_len -= 32; in sas_smp_host_handler()
285 rsp->resid_len -= 64; in sas_smp_host_handler()
304 rsp->resid_len -= 56; in sas_smp_host_handler()
320 rsp->resid_len -= 60; in sas_smp_host_handler()
342 rsp->resid_len -= 8; in sas_smp_host_handler()
357 rsp->resid_len -= 8; in sas_smp_host_handler()
373 buf = kmap_atomic(bio_page(rsp->bio)); in sas_smp_host_handler()
374 memcpy(buf, resp_data, blk_rq_bytes(rsp)); in sas_smp_host_handler()
375 flush_kernel_dcache_page(bio_page(rsp->bio)); in sas_smp_host_handler()
376 kunmap_atomic(buf - bio_offset(rsp->bio)); in sas_smp_host_handler()