Lines Matching refs:use_sg
355 int use_sg, int timeout, int retries) in osst_execute() argument
373 if (use_sg) { in osst_execute()
377 pages = kzalloc(use_sg * sizeof(struct page *), GFP_KERNEL); in osst_execute()
381 for_each_sg(sgl, sg, use_sg, i) in osst_execute()
428 unsigned short use_sg; in osst_do_scsi() local
469 use_sg = (bytes > STp->buffer->sg[0].length) ? STp->buffer->use_sg : 0; in osst_do_scsi()
470 if (use_sg) { in osst_do_scsi()
472 if (STp->buffer->sg_segs < use_sg) in osst_do_scsi()
473 use_sg = STp->buffer->sg_segs; in osst_do_scsi()
483 use_sg, timeout, retries)) in osst_do_scsi()
5316 tb->use_sg = max_sg; in new_tape_buffer()
5343 nbr = max_segs = STbuffer->use_sg; in enlarge_buffer()