/drivers/staging/android/ |
H A D | sync_debug.c | 163 struct sync_fence_waiter *waiter; local 168 waiter = container_of(pos, struct sync_fence_waiter, work); 170 seq_printf(s, "waiter %pF\n", waiter->callback);
|
H A D | sync.h | 171 struct sync_fence_waiter *waiter); 174 * struct sync_fence_waiter - metadata for asynchronous waiter on a fence 184 static inline void sync_fence_waiter_init(struct sync_fence_waiter *waiter, argument 187 INIT_LIST_HEAD(&waiter->work.task_list); 188 waiter->callback = callback; 304 * @waiter: waiter callback struck 309 * @waiter should be initialized with sync_fence_waiter_init(). 312 struct sync_fence_waiter *waiter); 317 * @waiter [all...] |
H A D | sync.c | 328 struct sync_fence_waiter *waiter) 339 init_waitqueue_func_entry(&waiter->work, sync_fence_wake_up_wq); 340 waiter->work.private = fence; 345 __add_wait_queue_tail(&fence->wq, &waiter->work); 356 struct sync_fence_waiter *waiter) 362 if (!list_empty(&waiter->work.task_list)) 363 list_del_init(&waiter->work.task_list); 327 sync_fence_wait_async(struct sync_fence *fence, struct sync_fence_waiter *waiter) argument 355 sync_fence_cancel_async(struct sync_fence *fence, struct sync_fence_waiter *waiter) argument
|
/drivers/gpu/host1x/ |
H A D | intr.c | 44 * add a waiter to a waiter queue, sorted by threshold 47 static bool add_waiter_to_queue(struct host1x_waitlist *waiter, argument 51 u32 thresh = waiter->thresh; 55 list_add(&waiter->list, &pos->list); 59 list_add(&waiter->list, queue); 64 * run through a waiter queue for a single sync point ID 71 struct host1x_waitlist *waiter, *next, *prev; local 73 list_for_each_entry_safe(waiter, next, head, list) { 74 if ((s32)(waiter 110 action_submit_complete(struct host1x_waitlist *waiter) argument 122 action_wakeup(struct host1x_waitlist *waiter) argument 128 action_wakeup_interruptible(struct host1x_waitlist *waiter) argument 149 struct host1x_waitlist *waiter, *next; local 212 host1x_intr_add_action(struct host1x *host, u32 id, u32 thresh, enum host1x_intr_action action, void *data, struct host1x_waitlist *waiter, void **ref) argument 259 struct host1x_waitlist *waiter = ref; local 331 struct host1x_waitlist *waiter, *next; local [all...] |
H A D | syncpt.c | 193 struct host1x_waitlist *waiter; local 220 /* allocate a waiter */ 221 waiter = kzalloc(sizeof(*waiter), GFP_KERNEL); 222 if (!waiter) { 230 &wq, waiter, &ref);
|
/drivers/tty/ |
H A D | tty_ldsem.c | 7 * 2) Write waiter has priority 121 struct ldsem_waiter *waiter, *next; local 138 list_for_each_entry_safe(waiter, next, &sem->read_wait, list) { 139 tsk = waiter->task; 141 waiter->task = NULL; 165 struct ldsem_waiter *waiter; local 167 waiter = list_entry(sem->write_wait.next, struct ldsem_waiter, list); 168 wake_up_process(waiter->task); 202 struct ldsem_waiter waiter; local 221 list_add_tail(&waiter 270 struct ldsem_waiter waiter; local [all...] |
/drivers/md/persistent-data/ |
H A D | dm-block-manager.c | 49 struct waiter { struct 127 static void __wait(struct waiter *w) 141 static void __wake_waiter(struct waiter *w) 157 struct waiter *w, *tmp; 201 struct waiter w; 264 struct waiter w;
|
/drivers/gpu/drm/i915/ |
H A D | intel_ringbuffer.c | 875 struct intel_engine_cs *waiter; local 886 for_each_ring(waiter, dev_priv, i) { 900 MI_SEMAPHORE_TARGET(waiter->id)); 913 struct intel_engine_cs *waiter; local 924 for_each_ring(waiter, dev_priv, i) { 936 MI_SEMAPHORE_TARGET(waiter->id)); 1015 * intel_ring_sync - sync the waiter to the signaller on seqno 1017 * @waiter - ring that is waiting 1019 * @seqno - seqno which the waiter will block on 1023 gen8_ring_sync(struct intel_engine_cs *waiter, argument 1048 gen6_ring_sync(struct intel_engine_cs *waiter, struct intel_engine_cs *signaller, u32 seqno) argument [all...] |
/drivers/gpu/drm/omapdrm/ |
H A D | omap_gem.c | 1042 static inline bool is_waiting(struct omap_gem_sync_waiter *waiter) argument 1044 struct omap_gem_object *omap_obj = waiter->omap_obj; 1045 if ((waiter->op & OMAP_GEM_READ) && 1046 (omap_obj->sync->write_complete < waiter->write_target)) 1048 if ((waiter->op & OMAP_GEM_WRITE) && 1049 (omap_obj->sync->read_complete < waiter->read_target)) 1064 struct omap_gem_sync_waiter *waiter, *n; local 1065 list_for_each_entry_safe(waiter, n, &waiters, list) { 1066 if (!is_waiting(waiter)) { 1067 list_del(&waiter 1150 struct omap_gem_sync_waiter *waiter = local 1201 struct omap_gem_sync_waiter *waiter = local [all...] |
/drivers/staging/lustre/lustre/lov/ |
H A D | lov_object.c | 294 wait_queue_t *waiter; local 311 waiter = &lov_env_info(env)->lti_waiter; 312 init_waitqueue_entry(waiter, current); 313 add_wait_queue(&bkt->lsb_marche_funebre, waiter); 329 remove_wait_queue(&bkt->lsb_marche_funebre, waiter);
|
/drivers/staging/lustre/lustre/obdclass/ |
H A D | cl_lock.c | 926 wait_queue_t waiter; local 943 init_waitqueue_entry(&waiter, current); 944 add_wait_queue(&lock->cll_wq, &waiter); 961 remove_wait_queue(&lock->cll_wq, &waiter);
|
H A D | lu_object.c | 539 wait_queue_t *waiter, 574 init_waitqueue_entry(waiter, current); 575 add_wait_queue(&bkt->lsb_marche_funebre, waiter); 624 wait_queue_t *waiter) 650 * If dying object is found during index search, add @waiter to the 659 o = htable_lookup(s, &bd, f, waiter, &version); 676 shadow = htable_lookup(s, &bd, f, waiter, &version); 712 * lu_object_find_try() already added waiter into the 2082 wait_queue_t waiter; local 2091 shadow = htable_lookup(s, &bd, fid, &waiter, 536 htable_lookup(struct lu_site *s, struct cfs_hash_bd *bd, const struct lu_fid *f, wait_queue_t *waiter, __u64 *version) argument 620 lu_object_find_try(const struct lu_env *env, struct lu_device *dev, const struct lu_fid *f, const struct lu_object_conf *conf, wait_queue_t *waiter) argument [all...] |
/drivers/staging/lustre/lustre/lclient/ |
H A D | lcommon_cl.c | 1153 wait_queue_t waiter; local 1161 init_waitqueue_entry(&waiter, current); 1162 add_wait_queue(&bkt->lsb_marche_funebre, &waiter); 1172 remove_wait_queue(&bkt->lsb_marche_funebre, &waiter);
|
/drivers/block/ |
H A D | nvme-core.c | 2345 struct task_struct *waiter; member in struct:nvme_delq_ctx 2352 dq->waiter = current; 2377 if (dq->waiter) 2378 wake_up_process(dq->waiter); 2464 dq.waiter = NULL;
|