Home
last modified time | relevance | path

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

/openbmc/linux/include/scsi/
H A Dsg.h265 #define SG_MAX_QUEUE 16 macro
/openbmc/linux/drivers/scsi/
H A Dsg.c151 Sg_request req_arr[SG_MAX_QUEUE]; /* used as singly-linked list */
868 if (val >= SG_MAX_QUEUE) in sg_fill_request_table()
908 for (i = 0; i < SG_MAX_QUEUE; i++) { in put_compat_request_table()
1084 rinfo = kcalloc(SG_MAX_QUEUE, SZ_SG_REQ_INFO, in sg_ioctl_common()
1097 SZ_SG_REQ_INFO * SG_MAX_QUEUE); in sg_ioctl_common()
1200 } else if (count < SG_MAX_QUEUE) in sg_poll()
2115 for (k = 0; k < SG_MAX_QUEUE; ++k, ++rp) { in sg_add_request()
2119 if (k >= SG_MAX_QUEUE) in sg_add_request()