test_and_clear_bit
old = test_and_clear_bit(q->doorbell_id, qpd->doorbell_bitmap);
if (!test_and_clear_bit(id, dcp->memdesc_map)) {
if (!test_and_clear_bit(I915_FENCE_FLAG_SIGNAL,
if (!test_and_clear_bit(I915_FENCE_FLAG_SIGNAL, &rq->fence.flags)) {
if (!test_and_clear_bit(I915_FENCE_FLAG_SIGNAL,
return test_and_clear_bit(INTEL_RPS_ACTIVE, &rps->flags);
&& !test_and_clear_bit(index, spt->post_shadow_bitmap))
if (test_and_clear_bit(INTEL_GVT_REQUEST_EMULATE_VBLANK + id,
if (!test_and_clear_bit(engine->id, (void *)s->tlb_handle_pending))
if (test_and_clear_bit(INTEL_GVT_REQUEST_SCHED,
return test_and_clear_bit(I915_VMA_GGTT_WRITE_BIT,