Home
last modified time | relevance | path

Searched refs:waiters (Results 1 – 18 of 18) sorted by relevance

/drivers/gpu/drm/radeon/
Dradeon_semaphore.c50 (*semaphore)->waiters = 0; in radeon_semaphore_create()
66 --semaphore->waiters; in radeon_semaphore_emit_signal()
83 ++semaphore->waiters; in radeon_semaphore_emit_wait()
99 if ((*semaphore)->waiters > 0) { in radeon_semaphore_free()
Dradeon_trace.h175 __field(signed, waiters)
181 __entry->waiters = sem->waiters;
186 __entry->waiters, __entry->gpu_addr)
Dradeon.h595 signed waiters; member
/drivers/gpu/drm/amd/amdkfd/
Dkfd_events.c44 struct list_head waiters; member
358 list_del(&ev->waiters); in destroy_event()
422 INIT_LIST_HEAD(&ev->waiters); in kfd_event_create()
483 ev->signaled = !ev->auto_reset || list_empty(&ev->waiters); in set_event()
485 list_for_each_entry_safe(waiter, next, &ev->waiters, waiters) { in set_event()
489 list_del_init(&waiter->waiters); in set_event()
612 INIT_LIST_HEAD(&event_waiters[i].waiters); in alloc_event_waiters()
635 list_add(&waiter->waiters, &ev->waiters); in init_event_waiter()
708 static void free_waiters(uint32_t num_events, struct kfd_event_waiter *waiters) in free_waiters() argument
713 list_del(&waiters[i].waiters); in free_waiters()
[all …]
Dkfd_events.h59 struct list_head waiters; /* List of kfd_event_waiter by waiters. */ member
/drivers/gpu/drm/i915/
Dintel_breadcrumbs.c166 rb_erase(&wait->node, &b->waiters); in __intel_breadcrumbs_finish()
207 p = &b->waiters.rb_node; in __intel_engine_add_wait()
234 rb_insert_color(&wait->node, &b->waiters); in __intel_engine_add_wait()
269 GEM_BUG_ON(rb_first(&b->waiters) != &wait->node); in __intel_engine_add_wait()
285 GEM_BUG_ON(rb_first(&b->waiters) != &b->first_wait->node); in __intel_engine_add_wait()
392 GEM_BUG_ON(rb_first(&b->waiters) == &wait->node); in intel_engine_remove_wait()
396 rb_erase(&wait->node, &b->waiters); in intel_engine_remove_wait()
400 GEM_BUG_ON(rb_first(&b->waiters) != in intel_engine_remove_wait()
402 GEM_BUG_ON(!rcu_access_pointer(b->irq_seqno_bh) ^ RB_EMPTY_ROOT(&b->waiters)); in intel_engine_remove_wait()
Di915_gpu_error.c492 if (IS_ERR(ee->waiters)) { in i915_error_state_to_str()
501 ee->waiters[j].seqno, in i915_error_state_to_str()
502 ee->waiters[j].comm, in i915_error_state_to_str()
503 ee->waiters[j].pid); in i915_error_state_to_str()
654 if (!IS_ERR_OR_NULL(ee->waiters)) in i915_error_state_free()
655 kfree(ee->waiters); in i915_error_state_free()
938 ee->waiters = NULL; in error_record_engine_waiters()
940 if (RB_EMPTY_ROOT(&b->waiters)) in error_record_engine_waiters()
944 ee->waiters = ERR_PTR(-EDEADLK); in error_record_engine_waiters()
949 for (rb = rb_first(&b->waiters); rb != NULL; rb = rb_next(rb)) in error_record_engine_waiters()
[all …]
Dintel_ringbuffer.h181 struct rb_root waiters; /* sorted by retirement, priority */ member
Di915_drv.h827 } *waiters; member
Di915_debugfs.c705 for (rb = rb_first(&b->waiters); rb; rb = rb_next(rb)) { in i915_ring_seqno_info()
/drivers/md/persistent-data/
Ddm-block-manager.c40 struct list_head waiters; member
151 list_for_each_entry_safe(w, tmp, &lock->waiters, list) { in __wake_many()
177 INIT_LIST_HEAD(&lock->waiters); in bl_init()
186 list_empty(&lock->waiters); in __available_for_read()
212 list_add_tail(&w.list, &lock->waiters); in bl_down_read()
247 if (!list_empty(&lock->waiters)) in bl_up_read()
264 if (lock->count == 0 && list_empty(&lock->waiters)) { in bl_down_write()
279 list_add(&w.list, &lock->waiters); in bl_down_write()
293 if (!list_empty(&lock->waiters)) in bl_up_write()
/drivers/staging/greybus/
Dgreybus_trace.h103 __field(int, waiters)
113 __entry->waiters = atomic_read(&operation->waiters);
119 __entry->active, __entry->waiters, __entry->errno)
Doperation.c91 if (atomic_read(&operation->waiters)) in gb_operation_put_active()
530 atomic_set(&operation->waiters, 0); in gb_operation_create_common()
1060 atomic_inc(&operation->waiters); in gb_operation_cancel()
1063 atomic_dec(&operation->waiters); in gb_operation_cancel()
1087 atomic_inc(&operation->waiters); in gb_operation_cancel_incoming()
1090 atomic_dec(&operation->waiters); in gb_operation_cancel_incoming()
Doperation.h103 atomic_t waiters; member
/drivers/tee/optee/
Dcall.c51 list_add_tail(&w->list_node, &cq->waiters); in optee_cq_wait_init()
66 list_add_tail(&w->list_node, &cq->waiters); in optee_cq_wait_for_completion()
75 list_for_each_entry(w, &cq->waiters, list_node) { in optee_cq_complete_one()
Doptee_private.h42 struct list_head waiters; member
Dcore.c603 INIT_LIST_HEAD(&optee->call_queue.waiters); in optee_probe()
/drivers/gpu/drm/omapdrm/
Domap_gem.c1096 static LIST_HEAD(waiters);
1121 list_for_each_entry_safe(waiter, n, &waiters, list) { in sync_op_update()
1208 list_add_tail(&waiter->list, &waiters); in omap_gem_op_sync()
1259 list_add_tail(&waiter->list, &waiters); in omap_gem_op_async()