Lines Matching refs:pending
1032 unsigned pending; member
1059 ctx->pending--; in ctrl_complete()
1141 if ((status == 0) && (ctx->pending < ctx->count)) { in ctrl_complete()
1149 ctx->pending++; in ctrl_complete()
1154 if (ctx->pending == 0) in ctrl_complete()
1174 context.pending = 0; in test_ctrl_queue()
1352 context.count = context.pending; in test_ctrl_queue()
1355 context.pending++; in test_ctrl_queue()
1362 if (context.pending > 0) in test_ctrl_queue()
1487 atomic_t pending; member
1509 if (atomic_dec_and_test(&ctx->pending)) in unlink_queued_callback()
1524 atomic_set(&ctx.pending, 1); /* One more than the actual value */ in unlink_queued()
1554 atomic_inc(&ctx.pending); in unlink_queued()
1559 atomic_dec(&ctx.pending); in unlink_queued()
1572 if (atomic_dec_and_test(&ctx.pending)) /* The extra count */ in unlink_queued()
1819 unsigned pending; member
1846 if (urb->status == 0 && ctx->count > (ctx->pending - 1) in complicated_callback()
1864 ctx->pending--; in complicated_callback()
1865 if (ctx->pending == 0) { in complicated_callback()
1988 ++context.pending; in test_queue()
1999 context.pending--; in test_queue()