Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/scsi/
Dscsi_merge.c96 printk("nr_segments is %x\n", req->nr_segments); in dump_stats()
116 if( req->nr_segments != __count_segments(req, _CLUSTER, _DMA, NULL) ) \
298 req->nr_segments = __count_segments(req, in recount_segments()
320 if (req->nr_segments >= max_segments || in scsi_new_mergeable()
321 req->nr_segments >= SHpnt->sg_tablesize) in scsi_new_mergeable()
323 req->nr_segments++; in scsi_new_mergeable()
338 req->nr_segments >= SHpnt->sg_tablesize) in scsi_new_segment()
341 req->nr_segments++; in scsi_new_segment()
350 if (req->nr_segments < SHpnt->sg_tablesize && in scsi_new_segment()
351 req->nr_segments < max_segments) { in scsi_new_segment()
[all …]
Dscsi_lib.c78 rq->nr_segments = 0; in __scsi_insert_special()
/linux-2.4.37.9/drivers/block/paride/
Dpf.c348 if (req->nr_segments < max_segments) { in pf_new_segment()
349 req->nr_segments++; in pf_new_segment()
374 int total_segments = req->nr_segments + next->nr_segments; in pf_merge_requests_fn()
389 req->nr_segments = total_segments; in pf_merge_requests_fn()
/linux-2.4.37.9/drivers/block/
Dll_rw_blk.c314 if (req->nr_segments < max_segments) { in ll_new_segment()
315 req->nr_segments++; in ll_new_segment()
342 int total_segments = req->nr_segments + next->nr_segments; in ll_merge_requests_fn()
350 req->nr_segments = total_segments; in ll_merge_requests_fn()
1155 req->nr_segments = 1; /* Always 1 for a new request. */ in __make_request()
Dsx8.c662 rq->nr_segments = 0; in carm_insert_special()
978 if (rq->nr_segments < CARM_MAX_REQ_SG) { in carm_new_segment()
979 rq->nr_segments++; in carm_new_segment()
1004 int total_segments = rq->nr_segments + nxt->nr_segments; in carm_merge_requests_fn()
1012 rq->nr_segments = total_segments; in carm_merge_requests_fn()
Dcpqarray.c436 if (rq->nr_segments < SG_MAX) { in cpq_new_segment()
437 rq->nr_segments++; in cpq_new_segment()
462 int total_segments = rq->nr_segments + nxt->nr_segments; in cpq_merge_requests_fn()
470 rq->nr_segments = total_segments; in cpq_merge_requests_fn()
1003 if (creq->nr_segments > SG_MAX) in do_ida_request()
Dcciss.c2381 if (rq->nr_segments < MAXSGENTRIES) { in cpq_new_segment()
2382 rq->nr_segments++; in cpq_new_segment()
2407 int total_segments = rq->nr_segments + nxt->nr_segments; in cpq_merge_requests_fn()
2415 rq->nr_segments = total_segments; in cpq_merge_requests_fn()
2446 if (creq->nr_segments > MAXSGENTRIES) in do_cciss_request()
DDAC960.c1957 if (Request->nr_segments < MaxSegments && in DAC960_BackMergeFunction()
1958 Request->nr_segments < Controller->DriverScatterGatherLimit) in DAC960_BackMergeFunction()
1960 Request->nr_segments++; in DAC960_BackMergeFunction()
1980 if (Request->nr_segments < MaxSegments && in DAC960_FrontMergeFunction()
1981 Request->nr_segments < Controller->DriverScatterGatherLimit) in DAC960_FrontMergeFunction()
1983 Request->nr_segments++; in DAC960_FrontMergeFunction()
2002 int TotalSegments = Request->nr_segments + NextRequest->nr_segments; in DAC960_MergeRequestsFunction()
2009 Request->nr_segments = TotalSegments; in DAC960_MergeRequestsFunction()
2995 Command->SegmentCount = Request->nr_segments; in DAC960_ProcessRequest()
/linux-2.4.37.9/drivers/message/i2o/
Di2o_block.c465 if (req->nr_segments < max_segments) { in i2ob_new_segment()
466 req->nr_segments++; in i2ob_new_segment()
494 int total_segments = req->nr_segments + next->nr_segments; in i2ob_merge_requests()
505 req->nr_segments = total_segments; in i2ob_merge_requests()
/linux-2.4.37.9/include/linux/
Dblkdev.h40 unsigned int nr_segments; member