Lines Matching refs:use_sg
360 int use_sg, int timeout, int retries) in osst_execute() argument
380 if (use_sg) { in osst_execute()
384 pages = kcalloc(use_sg, sizeof(struct page *), GFP_KERNEL); in osst_execute()
388 for_each_sg(sgl, sg, use_sg, i) in osst_execute()
433 unsigned short use_sg; in osst_do_scsi() local
474 use_sg = (bytes > STp->buffer->sg[0].length) ? STp->buffer->use_sg : 0; in osst_do_scsi()
475 if (use_sg) { in osst_do_scsi()
477 if (STp->buffer->sg_segs < use_sg) in osst_do_scsi()
478 use_sg = STp->buffer->sg_segs; in osst_do_scsi()
488 use_sg, timeout, retries)) in osst_do_scsi()
5320 tb->use_sg = max_sg; in new_tape_buffer()
5347 nbr = max_segs = STbuffer->use_sg; in enlarge_buffer()