Lines Matching refs:use_sg
357 int use_sg, int timeout, int retries) in osst_execute() argument
375 if (use_sg) { in osst_execute()
379 pages = kzalloc(use_sg * sizeof(struct page *), GFP_KERNEL); in osst_execute()
383 for_each_sg(sgl, sg, use_sg, i) in osst_execute()
430 unsigned short use_sg; in osst_do_scsi() local
471 use_sg = (bytes > STp->buffer->sg[0].length) ? STp->buffer->use_sg : 0; in osst_do_scsi()
472 if (use_sg) { in osst_do_scsi()
474 if (STp->buffer->sg_segs < use_sg) in osst_do_scsi()
475 use_sg = STp->buffer->sg_segs; in osst_do_scsi()
485 use_sg, timeout, retries)) in osst_do_scsi()
5317 tb->use_sg = max_sg; in new_tape_buffer()
5344 nbr = max_segs = STbuffer->use_sg; in enlarge_buffer()