Home
last modified time | relevance | path

Searched refs:max_segs (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/scsi/
Dst.c3517 int segs, nbr, max_segs, b_size, priority, order, got; in enlarge_buffer() local
3521 max_segs = STbuffer->use_sg; in enlarge_buffer()
3522 if (max_segs > st_max_sg_segs) in enlarge_buffer()
3523 max_segs = st_max_sg_segs; in enlarge_buffer()
3524 nbr = max_segs - STbuffer->sg_segs; in enlarge_buffer()
3537 segs < max_segs && got < new_size;) { in enlarge_buffer()
3541 if (new_size - got <= (max_segs - segs) * b_size / 2) { in enlarge_buffer()
Dosst.c5223 int segs, nbr, max_segs, b_size, priority, order, got; in enlarge_buffer() local
5227 max_segs = STbuffer->use_sg; in enlarge_buffer()
5228 if (max_segs > osst_max_sg_segs) in enlarge_buffer()
5229 max_segs = osst_max_sg_segs; in enlarge_buffer()
5230 nbr = max_segs - STbuffer->sg_segs; in enlarge_buffer()
5242 segs < max_segs && got < new_size; ) { in enlarge_buffer()
5247 if (new_size - got <= (max_segs - segs) * b_size / 2 && order) { in enlarge_buffer()