Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/scsi/
Dsg.c1862 int num_xfer = 0; in sg_write_xfer() local
1872 num_xfer = (int)(new_interface ? hp->dxfer_len : hp->flags); in sg_write_xfer()
1873 if (schp->bufflen < num_xfer) in sg_write_xfer()
1874 num_xfer = schp->bufflen; in sg_write_xfer()
1876 if ((num_xfer <= 0) || in sg_write_xfer()
1882 num_xfer, iovec_count, schp->k_use_sg)); in sg_write_xfer()
1898 usglen = (num_xfer > usglen) ? usglen : num_xfer; in sg_write_xfer()
1901 num_xfer -= usglen; in sg_write_xfer()
1902 if (num_xfer <= 0) in sg_write_xfer()
1922 if (usglen >= num_xfer) { in sg_write_xfer()
[all …]