/dragonfly/sys/dev/drm/i915/ |
H A D | intel_breadcrumbs.c | 32 struct intel_wait *wait; in __intel_breadcrumbs_wakeup() local 37 wait = b->irq_wait; in __intel_breadcrumbs_wakeup() 38 if (wait) { in __intel_breadcrumbs_wakeup() 40 if (wake_up_process(wait->tsk)) in __intel_breadcrumbs_wakeup() 206 RB_CLEAR_NODE(&wait->node); in intel_engine_disarm_breadcrumbs() 207 if (wake_up_process(wait->tsk) && wait == first) in intel_engine_disarm_breadcrumbs() 316 RB_CLEAR_NODE(&wait->node); in __intel_breadcrumbs_finish() 407 b->irq_wait = wait; in __intel_engine_add_wait() 460 wait->seqno - 1); in intel_engine_add_wait() 487 if (b->irq_wait == wait) { in __intel_engine_remove_wait() [all …]
|
H A D | intel_ringbuffer.h | 470 u32 wait[GEN6_NUM_SEMAPHORES]; member 784 wait->tsk = current; in intel_wait_init() 785 wait->request = rq; in intel_wait_init() 790 wait->tsk = current; in intel_wait_init_for_seqno() 791 wait->seqno = seqno; in intel_wait_init_for_seqno() 796 return wait->seqno; in intel_wait_has_seqno() 802 wait->seqno = seqno; in intel_wait_update_seqno() 803 return intel_wait_has_seqno(wait); in intel_wait_update_seqno() 816 return wait->seqno == seqno; in intel_wait_check_seqno() 832 struct intel_wait *wait); [all …]
|
H A D | i915_gem_clflush.c | 33 struct i915_sw_fence wait; member 57 i915_sw_fence_fini(&clflush->wait); in i915_clflush_release() 67 .wait = dma_fence_default_wait, 103 struct clflush *clflush = container_of(fence, typeof(*clflush), wait); in i915_clflush_notify() 160 i915_sw_fence_init(&clflush->wait, i915_clflush_notify); in i915_gem_clflush_object() 167 i915_sw_fence_await_reservation(&clflush->wait, in i915_gem_clflush_object() 176 i915_sw_fence_commit(&clflush->wait); in i915_gem_clflush_object()
|
H A D | i915_sw_fence.c | 137 wait_queue_head_t *x = &fence->wait; in __i915_sw_fence_wake_up_all() 223 __init_waitqueue_head(&fence->wait, name, key); in __i915_sw_fence_init() 255 list_for_each_entry(wq, &fence->wait.head, entry) { in __i915_sw_fence_check_if_after() 273 list_for_each_entry(wq, &fence->wait.head, entry) { in __i915_sw_fence_clear_checked_bit() 337 spin_lock_irqsave(&signaler->wait.lock, flags); in __i915_sw_fence_await_sw_fence() 339 __add_wait_queue_entry_tail(&signaler->wait, wq); in __i915_sw_fence_await_sw_fence() 345 spin_unlock_irqrestore(&signaler->wait.lock, flags); in __i915_sw_fence_await_sw_fence()
|
H A D | i915_gem_request.c | 95 .wait = i915_fence_wait, 1136 struct intel_wait wait; in i915_wait_request() local 1158 intel_wait_init(&wait, req); in i915_wait_request() 1163 if (intel_wait_update_request(&wait, req)) in i915_wait_request() 1183 GEM_BUG_ON(!intel_wait_has_seqno(&wait)); in i915_wait_request() 1191 if (intel_engine_add_wait(req->engine, &wait)) in i915_wait_request() 1214 if (intel_wait_complete(&wait) && in i915_wait_request() 1215 intel_wait_check_request(&wait, req)) in i915_wait_request() 1247 if (!intel_wait_check_request(&wait, req)) { in i915_wait_request() 1248 intel_engine_remove_wait(req->engine, &wait); in i915_wait_request() [all …]
|
/dragonfly/sys/dev/drm/include/linux/ |
H A D | completion.h | 36 wait_queue_head_t wait; member 43 init_waitqueue_head(&c->wait); in init_completion() 62 lockmgr(&c->wait.lock, LK_EXCLUSIVE); in complete() 65 lockmgr(&c->wait.lock, LK_RELEASE); in complete() 66 wakeup_one(&c->wait); in complete() 72 lockmgr(&c->wait.lock, LK_EXCLUSIVE); in complete_all() 74 lockmgr(&c->wait.lock, LK_RELEASE); in complete_all() 75 wakeup(&c->wait); in complete_all() 90 ret = lksleep(&c->wait, &c->wait.lock, flags, "lwfcg", timeout); in __wait_for_completion_generic() 104 lockmgr(&c->wait.lock, LK_RELEASE); in __wait_for_completion_generic() [all …]
|
H A D | wait.h | 38 typedef int (*wait_queue_func_t)(wait_queue_entry_t *wait, unsigned mode, int flags, void *key); 40 int default_wake_function(wait_queue_entry_t *wait, unsigned mode, int flags, void *key); 41 int autoremove_wake_function(wait_queue_entry_t *wait, unsigned mode, int sync, void *key); 93 void prepare_to_wait(wait_queue_head_t *q, wait_queue_entry_t *wait, int state); 94 void finish_wait(wait_queue_head_t *q, wait_queue_entry_t *wait); 223 add_wait_queue(wait_queue_head_t *head, wait_queue_entry_t *wait) in add_wait_queue() argument 226 __add_wait_queue(head, wait); in add_wait_queue()
|
/dragonfly/sys/dev/drm/ |
H A D | linux_wait.c | 38 autoremove_wake_function(wait_queue_entry_t *wait, unsigned mode, int sync, void *key) in autoremove_wake_function() argument 40 int ret = default_wake_function(wait, mode, sync, key); in autoremove_wake_function() 44 list_del_init(&wait->entry); in autoremove_wake_function() 77 prepare_to_wait(wait_queue_head_t *q, wait_queue_entry_t *wait, int state) in prepare_to_wait() argument 80 if (list_empty(&wait->entry)) in prepare_to_wait() 81 __add_wait_queue(q, wait); in prepare_to_wait() 87 finish_wait(wait_queue_head_t *q, wait_queue_entry_t *wait) in finish_wait() argument 92 if (!list_empty(&wait->entry)) in finish_wait() 93 list_del_init(&wait->entry); in finish_wait()
|
H A D | drm_syncobj.c | 209 .wait = dma_fence_default_wait, 659 struct syncobj_wait_entry *wait = 662 wake_up_process(wait->task); 668 struct syncobj_wait_entry *wait = 672 wait->fence = dma_fence_get(syncobj->fence); 673 wake_up_process(wait->task); 837 struct drm_syncobj_wait *wait, 840 signed long timeout = drm_timeout_abs_to_jiffies(wait->timeout_nsec); 845 wait->count_handles, 846 wait->flags, [all …]
|
/dragonfly/usr.bin/talk/ |
H A D | ctl_transact.c | 50 struct timeval wait; in ctl_transact() local 63 wait.tv_sec = CTL_WAIT; in ctl_transact() 64 wait.tv_usec = 0; in ctl_transact() 76 nready = select(32, &read_mask, 0, 0, &wait); in ctl_transact() 97 timerclear(&wait); in ctl_transact() 98 nready = select(32, &read_mask, 0, 0, &wait); in ctl_transact()
|
H A D | io.c | 59 struct timeval wait; in talk() local 94 wait.tv_sec = A_LONG_TIME; in talk() 95 wait.tv_usec = 0; in talk() 96 nb = select(32, &read_set, 0, 0, &wait); in talk()
|
/dragonfly/contrib/tnftp/src/ |
H A D | progressbar.c | 139 struct timeval now, wait; local 180 timersub(&now, &lastupdate, &wait); 184 wait.tv_sec = 0; 187 if (quit_time > 0 && wait.tv_sec > quit_time) { 190 getprogname(), (unsigned long)wait.tv_sec); 277 } else if (wait.tv_sec >= STALLTIME) { 319 struct timeval now, td, wait; local 378 timersub(&now, &lastupdate, &wait); 379 if (wait.tv_sec >= STALLTIME) 408 alarmtimer(int wait) argument [all …]
|
/dragonfly/tools/regression/bin/sh/builtins/ |
H A D | wait1.0 | 11 wait $p4 13 wait $p8 18 wait $p7 20 wait $p3
|
/dragonfly/stand/boot/pc32/libi386/ |
H A D | vidconsole.c | 581 int wait; in probe_keyboard() local 593 for (wait = PROBE_MAXWAIT; wait > 0; --wait) { in probe_keyboard() 603 if (wait <= 0) in probe_keyboard() 610 for (wait = PROBE_MAXWAIT; wait > 0; --wait) { in probe_keyboard() 615 if (wait <= 0) in probe_keyboard()
|
H A D | comconsole.c | 129 int wait; in comc_putchar() local 131 for (wait = COMC_TXWAIT; wait > 0; wait--) { in comc_putchar()
|
/dragonfly/usr.bin/top/ |
H A D | top.c | 602 struct timeval wait; in do_wait() local 604 wait.tv_sec = gstate->delay; in do_wait() 605 wait.tv_usec = 0; in do_wait() 606 select(0, NULL, NULL, NULL, &wait); in do_wait() 614 struct timeval wait = {0, 0}; in do_command() local 629 wait = gstate->refresh; in do_command() 630 wait.tv_usec -= now.tv_usec; in do_command() 631 if (wait.tv_usec < 0) in do_command() 633 wait.tv_usec += 1000000; in do_command() 634 wait.tv_sec--; in do_command() [all …]
|
/dragonfly/sys/dev/drm/amd/amdgpu/ |
H A D | amdgpu_cs.c | 1352 union drm_amdgpu_wait_cs *wait = data; in amdgpu_cs_wait_ioctl() local 1365 wait->in.ip_type, wait->in.ip_instance, in amdgpu_cs_wait_ioctl() 1366 wait->in.ring, &ring); in amdgpu_cs_wait_ioctl() 1387 memset(wait, 0, sizeof(*wait)); in amdgpu_cs_wait_ioctl() 1388 wait->out.status = (r == 0); in amdgpu_cs_wait_ioctl() 1521 memset(wait, 0, sizeof(*wait)); in amdgpu_cs_wait_all_fences() 1522 wait->out.status = (r > 0); in amdgpu_cs_wait_all_fences() 1575 memset(wait, 0, sizeof(*wait)); in amdgpu_cs_wait_any_fence() 1576 wait->out.status = (r > 0); in amdgpu_cs_wait_any_fence() 1577 wait->out.first_signaled = first; in amdgpu_cs_wait_any_fence() [all …]
|
H A D | mmsch_v1_0.h | 112 uint32_t mask, uint32_t wait) in mmsch_v1_0_insert_direct_poll() argument 116 direct_poll->wait_value = wait; in mmsch_v1_0_insert_direct_poll() 136 #define MMSCH_V1_0_INSERT_DIRECT_POLL(reg, mask, wait) { \ argument 139 (mask), (wait)); \
|
/dragonfly/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_xmit.c | 603 u_int wait; in ar9300_stop_tx_dma() 615 for (wait = timeout / AH_TIME_QUANTUM; wait != 0; wait--) { in ar9300_stop_tx_dma() 623 if (wait == 0) { in ar9300_stop_tx_dma() 677 wait = timeout / AH_TIME_QUANTUM; in ar9300_stop_tx_dma() 679 if ((--wait) == 0) { in ar9300_stop_tx_dma() 693 return (wait != 0); in ar9300_stop_tx_dma() 708 u_int wait; in ar9300_stop_tx_dma_indv_que() local 720 for (wait = timeout / AH_TIME_QUANTUM; wait != 0; wait--) { in ar9300_stop_tx_dma_indv_que() 728 if (wait == 0) { in ar9300_stop_tx_dma_indv_que() 784 if ((--wait) == 0) { in ar9300_stop_tx_dma_indv_que() [all …]
|
H A D | ar9300_recv.c | 109 int wait; in ar9300_stop_dma_receive() local 141 for (wait = timeout / AH_TIME_QUANTUM; wait != 0; wait--) { in ar9300_stop_dma_receive() 148 if (wait == 0) { in ar9300_stop_dma_receive()
|
/dragonfly/sys/ddb/ |
H A D | db_output.c | 327 int wait; in PCHAR_() local 340 for (wait = COMC_TXWAIT; wait > 0; wait--) { in PCHAR_()
|
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/std/ |
H A D | condition_variable | 86 wait(unique_lock<mutex>& __lock); 90 wait(unique_lock<mutex>& __lock, _Predicate __p) 93 wait(__lock); 223 wait(_Lock& __lock) 230 _M_cond.wait(__my_lock2); 236 wait(_Lock& __lock, _Predicate __p) 239 wait(__lock);
|
/dragonfly/contrib/binutils-2.27/gold/ |
H A D | gold-threads.h | 148 wait(Lock_impl*) = 0; 169 wait() in wait() function 170 { this->condvar_->wait(this->lock_.get_impl()); } in wait()
|
/dragonfly/contrib/binutils-2.34/gold/ |
H A D | gold-threads.h | 148 wait(Lock_impl*) = 0; 169 wait() in wait() function 170 { this->condvar_->wait(this->lock_.get_impl()); } in wait()
|
/dragonfly/usr.sbin/traceroute/ |
H A D | traceroute.c | 738 struct timeval now, wait; in wait_for_reply() local 748 wait.tv_sec = (sent->tv_sec + waittime) - now.tv_sec; in wait_for_reply() 749 wait.tv_usec = sent->tv_usec - now.tv_usec; in wait_for_reply() 750 if (wait.tv_usec < 0) { in wait_for_reply() 751 wait.tv_usec += 1000000; in wait_for_reply() 752 wait.tv_sec--; in wait_for_reply() 754 if (wait.tv_sec < 0) in wait_for_reply() 755 wait.tv_sec = wait.tv_usec = 0; in wait_for_reply() 757 if (select(sock+1, fdsp, NULL, NULL, &wait) > 0) in wait_for_reply()
|