Searched refs:SG_MAX_QUEUE (Results 1 – 3 of 3) sorted by relevance
206 #define SG_MAX_QUEUE 16 macro
162 Sg_request req_arr[SG_MAX_QUEUE]; /* used as singly-linked list */1011 if (!access_ok(VERIFY_WRITE, p, SZ_SG_REQ_INFO * SG_MAX_QUEUE)) in sg_ioctl()1017 rinfo = kmalloc(SZ_SG_REQ_INFO * SG_MAX_QUEUE, in sg_ioctl()1022 for (srp = sfp->headrp, val = 0; val < SG_MAX_QUEUE; in sg_ioctl()1051 SZ_SG_REQ_INFO * SG_MAX_QUEUE); in sg_ioctl()1169 } else if (count < SG_MAX_QUEUE) in sg_poll()2063 for (k = 0; k < SG_MAX_QUEUE; ++k, ++rp) { in sg_add_request()2067 if (k < SG_MAX_QUEUE) { in sg_add_request()
388 r = compat_alloc_user_space(sizeof(sg_req_info_t)*SG_MAX_QUEUE); in sg_grt_trans()392 for (i = 0; i < SG_MAX_QUEUE; i++) { in sg_grt_trans()