Lines Matching refs:do_dio
626 if (STp->buffer->do_dio) { in st_do_scsi()
1557 STbp->do_dio = i; in setup_buffering()
1561 STbp->do_dio = 0; /* fall back to buffering with any error */ in setup_buffering()
1562 STbp->sg_segs = STbp->do_dio; in setup_buffering()
1564 if (STbp->do_dio) { in setup_buffering()
1566 STp->nbr_pages += STbp->do_dio; in setup_buffering()
1570 STbp->do_dio = 0; in setup_buffering()
1573 if (!STbp->do_dio) { in setup_buffering()
1608 if (STbp->do_dio) { in release_buffering()
1609 sgl_unmap_user_pages(STbp, STbp->do_dio, is_read); in release_buffering()
1610 STbp->do_dio = 0; in release_buffering()
1701 !STbp->do_dio && in st_write()
1723 if (STbp->do_dio) { in st_write()
1745 async_write = STp->block_size == 0 && !STbp->do_dio && in st_write()
1761 if (!STbp->do_dio) in st_write()
1925 if (!STbp->do_dio && bytes > (STp->buffer)->buffer_size) in read_tape()
2098 int special, do_dio = 0; in st_read() local
2138 do_dio = STbp->do_dio; in st_read()
2151 if (do_dio) { in st_read()
2189 if (!do_dio) { in st_read()
2229 if (do_dio) { in st_read()
2706 WARN_ON(STp->buffer->do_dio != 0); in st_int_ioctl()