Searched refs:total_segments (Results 1 – 6 of 6) sorted by relevance
374 int total_segments = req->nr_segments + next->nr_segments; in pf_merge_requests_fn() local382 total_segments--; in pf_merge_requests_fn()386 if (total_segments > max_segments) in pf_merge_requests_fn()389 req->nr_segments = total_segments; in pf_merge_requests_fn()
342 int total_segments = req->nr_segments + next->nr_segments; in ll_merge_requests_fn() local345 total_segments--; in ll_merge_requests_fn()347 if (total_segments > max_segments) in ll_merge_requests_fn()350 req->nr_segments = total_segments; in ll_merge_requests_fn()
1004 int total_segments = rq->nr_segments + nxt->nr_segments; in carm_merge_requests_fn() local1007 total_segments--; in carm_merge_requests_fn()1009 if (total_segments > CARM_MAX_REQ_SG) in carm_merge_requests_fn()1012 rq->nr_segments = total_segments; in carm_merge_requests_fn()
462 int total_segments = rq->nr_segments + nxt->nr_segments; in cpq_merge_requests_fn() local465 total_segments--; in cpq_merge_requests_fn()467 if (total_segments > SG_MAX) in cpq_merge_requests_fn()470 rq->nr_segments = total_segments; in cpq_merge_requests_fn()
2407 int total_segments = rq->nr_segments + nxt->nr_segments; in cpq_merge_requests_fn() local2410 total_segments--; in cpq_merge_requests_fn()2412 if (total_segments > MAXSGENTRIES) in cpq_merge_requests_fn()2415 rq->nr_segments = total_segments; in cpq_merge_requests_fn()
494 int total_segments = req->nr_segments + next->nr_segments; in i2ob_merge_requests() local500 total_segments--; in i2ob_merge_requests()502 if (total_segments > max_segments) in i2ob_merge_requests()505 req->nr_segments = total_segments; in i2ob_merge_requests()