Lines Matching refs:pending
1019 unsigned pending; member
1046 ctx->pending--; in ctrl_complete()
1128 if ((status == 0) && (ctx->pending < ctx->count)) { in ctrl_complete()
1136 ctx->pending++; in ctrl_complete()
1141 if (ctx->pending == 0) in ctrl_complete()
1161 context.pending = 0; in test_ctrl_queue()
1339 context.count = context.pending; in test_ctrl_queue()
1342 context.pending++; in test_ctrl_queue()
1349 if (context.pending > 0) in test_ctrl_queue()
1474 atomic_t pending; member
1496 if (atomic_dec_and_test(&ctx->pending)) in unlink_queued_callback()
1511 atomic_set(&ctx.pending, 1); /* One more than the actual value */ in unlink_queued()
1541 atomic_inc(&ctx.pending); in unlink_queued()
1546 atomic_dec(&ctx.pending); in unlink_queued()
1559 if (atomic_dec_and_test(&ctx.pending)) /* The extra count */ in unlink_queued()
1806 unsigned pending; member
1832 if (urb->status == 0 && ctx->count > (ctx->pending - 1) in iso_callback()
1850 ctx->pending--; in iso_callback()
1851 if (ctx->pending == 0) { in iso_callback()
1967 ++context.pending; in test_iso_queue()
1978 context.pending--; in test_iso_queue()