Lines Matching full:sglen
34 __u32 sglen; member
51 __u32 sglen; member
1157 for (i = 1; i < ctx->param->sglen; i++) { in ctrl_complete()
1160 % ctx->param->sglen]; in ctrl_complete()
1208 if (param->sglen == 0 || param->iterations > UINT_MAX / param->sglen) in test_ctrl_queue()
1214 context.count = param->sglen * param->iterations; in test_ctrl_queue()
1221 * as with bulk/intr sglists, sglen is the queue depth; it also in test_ctrl_queue()
1222 * controls which subtests run (more tests than sglen) or rerun. in test_ctrl_queue()
1224 urb = kzalloc_objs(struct urb *, param->sglen); in test_ctrl_queue()
1227 for (i = 0; i < param->sglen; i++) { in test_ctrl_queue()
1388 for (i = 0; i < param->sglen; i++) { in test_ctrl_queue()
1407 for (i = 0; i < param->sglen; i++) { in test_ctrl_queue()
1911 * - multi-buffers according to sglen
2049 if (!param->sglen || param->iterations > UINT_MAX / param->sglen) in test_queue()
2052 if (param->sglen > MAX_SGLEN) in test_queue()
2055 urbs = kzalloc_objs(*urbs, param->sglen); in test_queue()
2060 context.count = param->iterations * param->sglen; in test_queue()
2068 for (i = 0; i < param->sglen; i++) { in test_queue()
2108 for (i = 0; i < param->sglen; i++) { in test_queue()
2129 for (i = 0; i < param->sglen; i++) { in test_queue()
2150 for (i = 0; i < param->sglen; i++) { in test_queue()
2193 if (param->sglen > MAX_SGLEN) in usbtest_do_ioctl()
2277 if (dev->out_pipe == 0 || param->sglen == 0) in usbtest_do_ioctl()
2282 param->sglen, param->length); in usbtest_do_ioctl()
2283 sg = alloc_sglist(param->sglen, param->length, in usbtest_do_ioctl()
2291 &req, sg, param->sglen); in usbtest_do_ioctl()
2292 free_sglist(sg, param->sglen); in usbtest_do_ioctl()
2296 if (dev->in_pipe == 0 || param->sglen == 0) in usbtest_do_ioctl()
2301 param->sglen, param->length); in usbtest_do_ioctl()
2302 sg = alloc_sglist(param->sglen, param->length, in usbtest_do_ioctl()
2310 &req, sg, param->sglen); in usbtest_do_ioctl()
2311 free_sglist(sg, param->sglen); in usbtest_do_ioctl()
2314 if (dev->out_pipe == 0 || param->sglen == 0 || param->vary == 0) in usbtest_do_ioctl()
2319 param->sglen, param->length); in usbtest_do_ioctl()
2320 sg = alloc_sglist(param->sglen, param->length, in usbtest_do_ioctl()
2328 &req, sg, param->sglen); in usbtest_do_ioctl()
2329 free_sglist(sg, param->sglen); in usbtest_do_ioctl()
2332 if (dev->in_pipe == 0 || param->sglen == 0 || param->vary == 0) in usbtest_do_ioctl()
2337 param->sglen, param->length); in usbtest_do_ioctl()
2338 sg = alloc_sglist(param->sglen, param->length, in usbtest_do_ioctl()
2346 &req, sg, param->sglen); in usbtest_do_ioctl()
2347 free_sglist(sg, param->sglen); in usbtest_do_ioctl()
2368 param->sglen, in usbtest_do_ioctl()
2429 if (dev->out_iso_pipe == 0 || param->sglen == 0) in usbtest_do_ioctl()
2434 param->sglen, param->length); in usbtest_do_ioctl()
2442 if (dev->in_iso_pipe == 0 || param->sglen == 0) in usbtest_do_ioctl()
2447 param->sglen, param->length); in usbtest_do_ioctl()
2524 if (dev->out_iso_pipe == 0 || param->sglen == 0) in usbtest_do_ioctl()
2529 param->sglen, param->length); in usbtest_do_ioctl()
2535 if (dev->in_iso_pipe == 0 || param->sglen == 0) in usbtest_do_ioctl()
2540 param->sglen, param->length); in usbtest_do_ioctl()
2547 if (dev->out_pipe == 0 || !param->length || param->sglen < 4) in usbtest_do_ioctl()
2552 param->iterations, param->sglen, param->length); in usbtest_do_ioctl()
2555 param->sglen, param->length); in usbtest_do_ioctl()
2600 if (dev->out_pipe == 0 || param->sglen == 0 || pattern != 0) in usbtest_do_ioctl()
2604 param->sglen * param->length) / (1024 * 1024)); in usbtest_do_ioctl()
2609 if (dev->in_pipe == 0 || param->sglen == 0 || pattern != 0) in usbtest_do_ioctl()
2613 param->sglen * param->length) / (1024 * 1024)); in usbtest_do_ioctl()
2703 temp.sglen = param_64->sglen; in usbtest_ioctl()