Lines Matching refs:sg_used
1568 BYTE sg_used = 0; in cciss_bigpassthru() local
1617 buff_size[sg_used] = sz; in cciss_bigpassthru()
1618 buff[sg_used] = kmalloc(sz, GFP_KERNEL); in cciss_bigpassthru()
1619 if (buff[sg_used] == NULL) { in cciss_bigpassthru()
1624 if (copy_from_user(buff[sg_used], data_ptr, sz)) { in cciss_bigpassthru()
1629 memset(buff[sg_used], 0, sz); in cciss_bigpassthru()
1633 sg_used++; in cciss_bigpassthru()
1642 c->Header.SGList = sg_used; in cciss_bigpassthru()
1643 c->Header.SGTotal = sg_used; in cciss_bigpassthru()
1648 for (i = 0; i < sg_used; i++) { in cciss_bigpassthru()
1660 for (i = 0; i < sg_used; i++) { in cciss_bigpassthru()
1678 for (i = 0; i < sg_used; i++) { in cciss_bigpassthru()
1691 for (i = 0; i < sg_used; i++) in cciss_bigpassthru()