• Home
  • Raw
  • Download

Lines Matching refs: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()
1224 urb = kcalloc(param->sglen, sizeof(struct urb *), GFP_KERNEL); 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()
2048 if (!param->sglen || param->iterations > UINT_MAX / param->sglen) in test_queue()
2051 if (param->sglen > MAX_SGLEN) in test_queue()
2054 urbs = kcalloc(param->sglen, sizeof(*urbs), GFP_KERNEL); in test_queue()
2059 context.count = param->iterations * param->sglen; in test_queue()
2067 for (i = 0; i < param->sglen; i++) { in test_queue()
2107 for (i = 0; i < param->sglen; i++) { in test_queue()
2128 for (i = 0; i < param->sglen; i++) { in test_queue()
2149 for (i = 0; i < param->sglen; i++) { in test_queue()
2192 if (param->sglen > MAX_SGLEN) in usbtest_do_ioctl()
2276 if (dev->out_pipe == 0 || param->sglen == 0) in usbtest_do_ioctl()
2281 param->sglen, param->length); in usbtest_do_ioctl()
2282 sg = alloc_sglist(param->sglen, param->length, in usbtest_do_ioctl()
2290 &req, sg, param->sglen); in usbtest_do_ioctl()
2291 free_sglist(sg, param->sglen); in usbtest_do_ioctl()
2295 if (dev->in_pipe == 0 || param->sglen == 0) in usbtest_do_ioctl()
2300 param->sglen, param->length); in usbtest_do_ioctl()
2301 sg = alloc_sglist(param->sglen, param->length, in usbtest_do_ioctl()
2309 &req, sg, param->sglen); in usbtest_do_ioctl()
2310 free_sglist(sg, param->sglen); in usbtest_do_ioctl()
2313 if (dev->out_pipe == 0 || param->sglen == 0 || param->vary == 0) in usbtest_do_ioctl()
2318 param->sglen, param->length); in usbtest_do_ioctl()
2319 sg = alloc_sglist(param->sglen, param->length, in usbtest_do_ioctl()
2327 &req, sg, param->sglen); in usbtest_do_ioctl()
2328 free_sglist(sg, param->sglen); in usbtest_do_ioctl()
2331 if (dev->in_pipe == 0 || param->sglen == 0 || param->vary == 0) in usbtest_do_ioctl()
2336 param->sglen, param->length); in usbtest_do_ioctl()
2337 sg = alloc_sglist(param->sglen, param->length, in usbtest_do_ioctl()
2345 &req, sg, param->sglen); in usbtest_do_ioctl()
2346 free_sglist(sg, param->sglen); in usbtest_do_ioctl()
2367 param->sglen, in usbtest_do_ioctl()
2428 if (dev->out_iso_pipe == 0 || param->sglen == 0) in usbtest_do_ioctl()
2433 param->sglen, param->length); in usbtest_do_ioctl()
2441 if (dev->in_iso_pipe == 0 || param->sglen == 0) in usbtest_do_ioctl()
2446 param->sglen, param->length); in usbtest_do_ioctl()
2523 if (dev->out_iso_pipe == 0 || param->sglen == 0) in usbtest_do_ioctl()
2528 param->sglen, param->length); in usbtest_do_ioctl()
2534 if (dev->in_iso_pipe == 0 || param->sglen == 0) in usbtest_do_ioctl()
2539 param->sglen, param->length); in usbtest_do_ioctl()
2546 if (dev->out_pipe == 0 || !param->length || param->sglen < 4) in usbtest_do_ioctl()
2551 param->iterations, param->sglen, param->length); in usbtest_do_ioctl()
2554 param->sglen, param->length); in usbtest_do_ioctl()
2599 if (dev->out_pipe == 0 || param->sglen == 0 || pattern != 0) in usbtest_do_ioctl()
2603 param->sglen * param->length) / (1024 * 1024)); in usbtest_do_ioctl()
2608 if (dev->in_pipe == 0 || param->sglen == 0 || pattern != 0) in usbtest_do_ioctl()
2612 param->sglen * param->length) / (1024 * 1024)); in usbtest_do_ioctl()
2702 temp.sglen = param_64->sglen; in usbtest_ioctl()