Searched refs:nr_phys_segments (Results 1 – 5 of 5) sorted by relevance
656 if (req->nr_phys_segments + nr_phys_segs > blk_rq_get_max_segments(req)) in ll_new_hw_segment()663 req->nr_phys_segments += nr_phys_segs; in ll_new_hw_segment()722 req->nr_phys_segments = segments + blk_rq_nr_discard_segments(next); in req_attempt_discard_merge()744 total_phys_segments = req->nr_phys_segments + next->nr_phys_segments; in ll_merge_requests_fn()758 req->nr_phys_segments = total_phys_segments; in ll_merge_requests_fn()1099 req->nr_phys_segments = segments + 1; in bio_attempt_discard_merge()
214 size_t sz = (sizeof(struct scatterlist) * req->nr_phys_segments); in bsg_map_buffer()216 BUG_ON(!req->nr_phys_segments); in bsg_map_buffer()221 sg_init_table(buf->sg_list, req->nr_phys_segments); in bsg_map_buffer()
436 rq->nr_phys_segments = 0; in blk_mq_rq_ctx_init()844 req->nr_phys_segments, in blk_print_req_error()1027 req->nr_phys_segments = blk_recalc_rq_segments(req); in blk_update_request()3204 rq->nr_phys_segments = blk_recalc_rq_segments(rq); in blk_insert_cloned_request()3205 if (rq->nr_phys_segments > max_segments) { in blk_insert_cloned_request()3207 __func__, rq->nr_phys_segments, max_segments); in blk_insert_cloned_request()3305 rq->nr_phys_segments = rq_src->nr_phys_segments; in blk_rq_prep_clone()
151 unsigned short nr_phys_segments; member983 rq->nr_phys_segments = nr_segs; in blk_rq_bio_prep()1149 return rq->nr_phys_segments; in blk_rq_nr_phys_segments()1158 return max_t(unsigned short, rq->nr_phys_segments, 1); in blk_rq_nr_discard_segments()
726 max_grefs = req->nr_phys_segments * GRANTS_PER_PSEG; in blkif_queue_rw_req()2041 BUG_ON(req->nr_phys_segments > in blkif_recover()