Searched refs:nr_hw_segments (Results 1 – 3 of 3) sorted by relevance
337 if (req->nr_hw_segments >= SHpnt->sg_tablesize || in scsi_new_segment()340 req->nr_hw_segments++; in scsi_new_segment()625 if (req->nr_hw_segments + next->nr_hw_segments - 1 > SHpnt->sg_tablesize) { in __scsi_merge_requests_fn()682 req->nr_hw_segments += next->nr_hw_segments - 1; in __scsi_merge_requests_fn()698 req->nr_hw_segments += next->nr_hw_segments - 1; in __scsi_merge_requests_fn()699 } else if (req->nr_hw_segments + next->nr_hw_segments > SHpnt->sg_tablesize) { in __scsi_merge_requests_fn()702 req->nr_hw_segments += next->nr_hw_segments; in __scsi_merge_requests_fn()
41 unsigned int nr_hw_segments; member
1156 req->nr_hw_segments = 1; /* Always 1 for a new request. */ in __make_request()