Searched refs:ksglen (Results 1 – 1 of 1) sorted by relevance
/linux-2.4.37.9/drivers/scsi/ |
D | sg.c | 1863 int j, k, onum, usglen, ksglen, res, ok; in sg_write_xfer() local 1910 ksglen = (int)sclp->length; in sg_write_xfer() 1917 for ( ; p; ++sclp, ksglen = (int)sclp->length, p = sclp->address) { in sg_write_xfer() 1921 if (ksglen > usglen) { in sg_write_xfer() 1928 ksglen -= usglen; in sg_write_xfer() 1932 if (ksglen >= num_xfer) { in sg_write_xfer() 1936 if (ok) __copy_from_user(p, up, ksglen); in sg_write_xfer() 1937 up += ksglen; in sg_write_xfer() 1938 usglen -= ksglen; in sg_write_xfer() 2018 int j, k, onum, usglen, ksglen, res, ok; in sg_read_xfer() local [all …]
|