Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/scsi/
Dsg.c220 static void sg_read_oxfer(Sg_request * srp, char * outp, int num_read_xfer);
2104 static void sg_read_oxfer(Sg_request * srp, char * outp, int num_read_xfer) in sg_read_oxfer() argument
2109 num_read_xfer)); in sg_read_oxfer()
2110 if ((! outp) || (num_read_xfer <= 0)) in sg_read_oxfer()
2118 if (num > num_read_xfer) { in sg_read_oxfer()
2119 __copy_to_user(outp, sclp->address, num_read_xfer); in sg_read_oxfer()
2124 num_read_xfer -= num; in sg_read_oxfer()
2125 if (num_read_xfer <= 0) in sg_read_oxfer()
2132 __copy_to_user(outp, schp->buffer, num_read_xfer); in sg_read_oxfer()