Home
last modified time | relevance | path

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

/linux-2.4.37.9/include/scsi/
Dsg.h272 #define SG_MAX_QUEUE 16 macro
/linux-2.4.37.9/drivers/scsi/
Dsg.c178 Sg_request req_arr[SG_MAX_QUEUE]; /* used as singly-linked list */
922 SZ_SG_REQ_INFO * SG_MAX_QUEUE); in sg_ioctl()
925 sg_req_info_t rinfo[SG_MAX_QUEUE]; in sg_ioctl()
928 for (srp = sfp->headrp, val = 0; val < SG_MAX_QUEUE; in sg_ioctl()
945 __copy_to_user((void *)arg, rinfo, SZ_SG_REQ_INFO * SG_MAX_QUEUE); in sg_ioctl()
1046 else if (count < SG_MAX_QUEUE) in sg_poll()
2277 for (k = 0; k < SG_MAX_QUEUE; ++k, ++rp) { in sg_add_request()
2281 if (k < SG_MAX_QUEUE) { in sg_add_request()