| /openbsd-src/sys/dev/pci/drm/i915/display/ |
| H A D | intel_display_rps.c | 15 struct wait_queue_entry wait; member 24 struct wait_rps_boost *wait = container_of(_wait, typeof(*wait), wait); in do_rps_boost() local 25 struct i915_request *rq = wait->request; in do_rps_boost() 36 drm_crtc_vblank_put(wait->crtc); in do_rps_boost() 38 list_del(&wait->wait.entry); in do_rps_boost() 39 kfree(wait); in do_rps_boost() 46 struct wait_rps_boost *wait; in intel_display_rps_boost_after_vblank() local 57 wait = kmalloc(sizeof(*wait), GFP_KERNEL); in intel_display_rps_boost_after_vblank() 58 if (!wait) { in intel_display_rps_boost_after_vblank() 63 wait->request = to_request(dma_fence_get(fence)); in intel_display_rps_boost_after_vblank() [all …]
|
| /openbsd-src/regress/usr.sbin/ospfd/ |
| H A D | Client.pm | 50 my $wait; 124 if ($wait) { 125 $reason = $compare->($wait); 129 } elsif (!$wait || $wait->{dr} || $wait->{bdr} || $wait->{nbrs}) { 159 if ($wait) { 160 $reason = $compare->($wait); 164 } elsif (!$wait || $wait->{dd_bits} || $wait->{dd_options} || 165 $wait->{dd_seq}) { 304 $wait = $task->{wait};
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | GraphWriter.cpp | 136 StringRef Filename, bool wait, in ExecGraphViewer() argument 138 if (wait) { in ExecGraphViewer() 190 bool llvm::DisplayGraph(StringRef FilenameRef, bool wait, in DisplayGraph() argument 198 wait &= !*ViewBackground; in DisplayGraph() 202 if (wait) in DisplayGraph() 206 if (!ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg)) in DisplayGraph() 215 if (!ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg)) in DisplayGraph() 226 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg); in DisplayGraph() 239 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg); in DisplayGraph() 301 wait = false; in DisplayGraph() [all …]
|
| H A D | ThreadPool.cpp | 67 QueueCondition.wait(LockGuard, [&] { in processTasks() 143 void ThreadPool::wait() { in wait() function in ThreadPool 147 CompletionCondition.wait(LockGuard, in wait() 151 void ThreadPool::wait(ThreadPoolTaskGroup &Group) { in wait() function in ThreadPool 155 CompletionCondition.wait(LockGuard, in wait() 200 void ThreadPool::wait() { in wait() function in ThreadPool 209 void ThreadPool::wait(ThreadPoolTaskGroup &) { in wait() function in ThreadPool 212 wait(); in wait() 219 ThreadPool::~ThreadPool() { wait(); } in ~ThreadPool()
|
| /openbsd-src/usr.sbin/nsd/ |
| H A D | mini_event.c | 161 struct timeval* wait) in handle_timeouts() argument 166 wait->tv_sec = (time_t)-1; in handle_timeouts() 176 wait->tv_sec = p->ev_timeout.tv_sec - now->tv_sec; in handle_timeouts() 178 wait->tv_sec--; in handle_timeouts() 179 wait->tv_usec = 1000000 - (now->tv_usec - in handle_timeouts() 182 wait->tv_usec = p->ev_timeout.tv_usec in handle_timeouts() 199 handle_select(struct event_base* base, struct timeval* wait) in handle_select() argument 205 if(wait->tv_sec==(time_t)-1) in handle_select() 206 wait = NULL; in handle_select() 212 if((ret = select(base->maxfd+1, &r, &w, NULL, wait)) == -1) { in handle_select() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Formatter/ |
| H A D | Base.pm | 329 elsif ( my $wait = $parser->wait ) { 331 $self->_failure_output(" Non-zero wait status: $wait\n"); 389 my $wait = $parser->wait; 391 if (defined $wait) { 392 my $signum = $wait & 0x7f; 401 my $dumped = $wait & 0x80; 404 elsif ($wait ! [all...] |
| /openbsd-src/usr.sbin/unbound/util/ |
| H A D | winsock_event.c | 164 struct timeval* wait) in handle_timeouts() argument 168 wait->tv_sec = (time_t)-1; in handle_timeouts() 179 wait->tv_sec = p->ev_timeout.tv_sec - now->tv_sec; in handle_timeouts() 181 wait->tv_sec--; in handle_timeouts() 182 wait->tv_usec = 1000000 - (now->tv_usec - in handle_timeouts() 185 wait->tv_usec = p->ev_timeout.tv_usec in handle_timeouts() 189 (long long)wait->tv_sec, (int)wait->tv_usec); in handle_timeouts() 230 static int handle_select(struct event_base* base, struct timeval* wait) in handle_select() argument 243 if(wait->tv_sec==(time_t)-1) in handle_select() 244 wait = NULL; in handle_select() [all …]
|
| H A D | mini_event.c | 143 struct timeval* wait) in handle_timeouts() argument 147 wait->tv_sec = (time_t)-1; in handle_timeouts() 157 wait->tv_sec = p->ev_timeout.tv_sec - now->tv_sec; in handle_timeouts() 159 wait->tv_sec--; in handle_timeouts() 160 wait->tv_usec = 1000000 - (now->tv_usec - in handle_timeouts() 163 wait->tv_usec = p->ev_timeout.tv_usec in handle_timeouts() 178 static int handle_select(struct event_base* base, struct timeval* wait) in handle_select() argument 184 if(wait->tv_sec==(time_t)-1) in handle_select() 185 wait = NULL; in handle_select() 191 if((ret = select(base->maxfd+1, &r, &w, NULL, wait)) == -1) { in handle_select() [all …]
|
| /openbsd-src/sbin/unwind/libunbound/util/ |
| H A D | winsock_event.c | 164 struct timeval* wait) in handle_timeouts() argument 168 wait->tv_sec = (time_t)-1; in handle_timeouts() 179 wait->tv_sec = p->ev_timeout.tv_sec - now->tv_sec; in handle_timeouts() 181 wait->tv_sec--; in handle_timeouts() 182 wait->tv_usec = 1000000 - (now->tv_usec - in handle_timeouts() 185 wait->tv_usec = p->ev_timeout.tv_usec in handle_timeouts() 189 (long long)wait->tv_sec, (int)wait->tv_usec); in handle_timeouts() 230 static int handle_select(struct event_base* base, struct timeval* wait) in handle_select() argument 243 if(wait->tv_sec==(time_t)-1) in handle_select() 244 wait = NULL; in handle_select() [all …]
|
| H A D | mini_event.c | 143 struct timeval* wait) in handle_timeouts() argument 147 wait->tv_sec = (time_t)-1; in handle_timeouts() 157 wait->tv_sec = p->ev_timeout.tv_sec - now->tv_sec; in handle_timeouts() 159 wait->tv_sec--; in handle_timeouts() 160 wait->tv_usec = 1000000 - (now->tv_usec - in handle_timeouts() 163 wait->tv_usec = p->ev_timeout.tv_usec in handle_timeouts() 178 static int handle_select(struct event_base* base, struct timeval* wait) in handle_select() argument 184 if(wait->tv_sec==(time_t)-1) in handle_select() 185 wait = NULL; in handle_select() 191 if((ret = select(base->maxfd+1, &r, &w, NULL, wait)) == -1) { in handle_select() [all …]
|
| /openbsd-src/sys/dev/pci/drm/ |
| H A D | drm_syncobj.c | 3 * Parts ported from amdgpu (fence wait code). 107 * Host-side wait on syncobjs 111 * host-side wait on all of the syncobj fences simultaneously. 112 * If &DRM_SYNCOBJ_WAIT_FLAGS_WAIT_ALL is set, the wait ioctl will wait on 119 * the host-side wait will first wait for the syncobj to receive a non-NULL 120 * fence and then wait on that fence. 124 * to do a host wait in one thread (or process) which waits on GPU work 130 * handles as well as an array of u64 points and does a host-side wait o 265 drm_syncobj_fence_add_wait(struct drm_syncobj * syncobj,struct syncobj_wait_entry * wait) drm_syncobj_fence_add_wait() argument 290 drm_syncobj_remove_wait(struct drm_syncobj * syncobj,struct syncobj_wait_entry * wait) drm_syncobj_remove_wait() argument 441 struct syncobj_wait_entry wait; drm_syncobj_find_fence() local 1059 struct syncobj_wait_entry *wait = syncobj_wait_fence_func() local 1066 syncobj_wait_syncobj_func(struct drm_syncobj * syncobj,struct syncobj_wait_entry * wait) syncobj_wait_syncobj_func() argument 1275 drm_syncobj_array_wait(struct drm_device * dev,struct drm_file * file_private,struct drm_syncobj_wait * wait,struct drm_syncobj_timeline_wait * timeline_wait,struct drm_syncobj ** syncobjs,bool timeline) drm_syncobj_array_wait() argument [all...] |
| /openbsd-src/sys/kern/ |
| H A D | uipc_mbuf2.c | 222 m_dup1(struct mbuf *m, int off, int len, int wait) in m_dup1() 230 MGETHDR(n, wait, m->m_type); in m_dup1() 233 if (m_dup_pkthdr(n, m, wait)) { in m_dup1() 239 MGET(n, wait, m->m_type); in m_dup1() 243 MCLGETL(n, wait, len); in m_dup1() 260 m_tag_get(int type, int len, int wait) in m_tag_get() 268 t = pool_get(&mtagpool, wait == M_WAITOK ? PR_WAITOK : PR_NOWAIT); in m_tag_get() 336 m_tag_copy(struct m_tag *t, int wait) in m_tag_copy() 340 p = m_tag_get(t->m_tag_id, t->m_tag_len, wait); in m_tag_copy() 354 m_tag_copy_chain(struct mbuf *to, struct mbuf *from, int wait) in m_tag_copy_chain() 217 m_dup1(struct mbuf * m,int off,int len,int wait) m_dup1() argument 255 m_tag_get(int type,int len,int wait) m_tag_get() argument 331 m_tag_copy(struct m_tag * t,int wait) m_tag_copy() argument 349 m_tag_copy_chain(struct mbuf * to,struct mbuf * from,int wait) m_tag_copy_chain() argument [all...] |
| /openbsd-src/lib/libc/rpc/ |
| H A D | clnt_udp_bufcreate.c | 71 struct timeval wait, int *sockp, u_int sendsz, u_int recvsz) in clntudp_bufcreate() argument 78 args.wait = wait; in clntudp_bufcreate() 124 struct timeval wait, int *sockp) in clntudp_create() argument 127 return(clntudp_bufcreate(raddr, program, version, wait, sockp, in clntudp_create()
|
| H A D | clnt_udp.c | 92 args->cu->cu_wait = args->wait; in clntudp_bufcreate1() 150 struct timeval wait, int *sockp, u_int sendsz, u_int recvsz) in clntudp_bufcreate_simple() argument 157 args.wait = wait; in clntudp_bufcreate_simple() 199 struct timespec time_waited, start, after, duration, wait; in clntudp_call() local 212 TIMEVAL_TO_TIMESPEC(&cu->cu_wait, &wait); in clntudp_call() 256 switch (ppoll(pfd, 1, &wait, NULL)) { in clntudp_call() 258 timespecadd(&time_waited, &wait, &time_waited); in clntudp_call()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.brendan/ |
| H A D | crash36.C | 3 struct wait { int w_status; }; argument 4 int wait(); 5 extern "C" int wait(int*);
|
| /openbsd-src/usr.sbin/unbound/testcode/ |
| H A D | delayer.c | 106 struct timeval wait; member 654 item->wait = *now; 655 dl_tv_add(&item->wait, delay); 678 if(!dl_tv_smaller(&p->wait, now)) 754 if(dl_tv_smaller(&p->querylist->wait, now)) 761 dl_tv_smaller(&p->querylist->wait, now)) 769 if(dl_tv_smaller(&p->answerlist->wait, now)) 775 if(p->answerlist && dl_tv_smaller(&p->answerlist->wait, 808 service_findwait(struct timeval* now, struct timeval* wait, argument 824 if(p->querylist && dl_tv_smaller(&p->querylist->wait, &tcv)) [all …]
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/ |
| H A D | gnu-nat.c | 183 struct inf_wait wait; /* What to return from target_wait. */ member 337 else if (proc == inf->wait.thread && inf->wait.exc.reply && !force) in proc_abort() 614 if (proc == inf->wait.thread) in _proc_free() 647 inf->wait.status.kind = TARGET_WAITKIND_SPURIOUS; in make_inf() 648 inf->wait.thread = 0; in make_inf() 649 inf->wait.exc.handler = MACH_PORT_NULL; in make_inf() 650 inf->wait.exc.reply = MACH_PORT_NULL; in make_inf() 676 inf->wait.status.kind = TARGET_WAITKIND_SPURIOUS; in inf_clear_wait() 677 inf->wait.thread = 0; in inf_clear_wait() 678 inf->wait.suppress = 0; in inf_clear_wait() [all …]
|
| /openbsd-src/gnu/llvm/libcxx/include/ |
| H A D | condition_variable | 33 void wait(unique_lock<mutex>& lock); 35 void wait(unique_lock<mutex>& lock, Predicate pred); 78 void wait(Lock& lock); 80 void wait(Lock& lock, Predicate pred); 139 void wait(_Lock& __lock); 142 void wait(_Lock& __lock, _Predicate __pred); 199 condition_variable_any::wait(_Lock& __lock) 206 __cv_.wait(__lk); 212 condition_variable_any::wait(_Lock& __lock, _Predicate __pred) 215 wait(__lock);
|
| /openbsd-src/usr.bin/tmux/ |
| H A D | cmd-if-shell.c | 84 int wait = !args_has(args, 'b'); in cmd_if_shell_exec() local 106 cdata->cmd_if = args_make_commands_prepare(self, item, 1, NULL, wait, in cmd_if_shell_exec() 110 NULL, wait, 0); in cmd_if_shell_exec() 113 if (wait) { in cmd_if_shell_exec() 132 if (!wait) in cmd_if_shell_exec()
|
| /openbsd-src/sys/dev/pci/drm/amd/amdgpu/ |
| H A D | mmsch_v1_0.h | 122 uint32_t mask, uint32_t wait) in mmsch_v1_0_insert_direct_poll() argument 126 direct_poll->wait_value = wait; in mmsch_v1_0_insert_direct_poll() 146 #define MMSCH_V1_0_INSERT_DIRECT_POLL(reg, mask, wait) { \ argument 149 (mask), (wait)); \
|
| H A D | amdgpu_cs.c | 1472 * amdgpu_cs_wait_ioctl - wait for a command submission to finish in amdgpu_cs_wait_ioctl() 1483 union drm_amdgpu_wait_cs *wait = data; in amdgpu_cs_wait_ioctl() 1484 unsigned long timeout = amdgpu_gem_timeout(wait->in.timeout); in amdgpu_cs_wait_ioctl() 1490 ctx = amdgpu_ctx_get(filp->driver_priv, wait->in.ctx_id); in amdgpu_cs_wait_ioctl() 1494 r = amdgpu_ctx_get_entity(ctx, wait->in.ip_type, wait->in.ip_instance, in amdgpu_cs_wait_ioctl() 1495 wait->in.ring, &entity); in amdgpu_cs_wait_ioctl() 1501 fence = amdgpu_ctx_get_fence(ctx, entity, wait->in.handle); 1516 memset(wait, 0, sizeof(*wait)); in amdgpu_cs_get_fence() 1461 union drm_amdgpu_wait_cs *wait = data; amdgpu_cs_wait_ioctl() local 1603 amdgpu_cs_wait_all_fences(struct amdgpu_device * adev,struct drm_file * filp,union drm_amdgpu_wait_fences * wait,struct drm_amdgpu_fence * fences) amdgpu_cs_wait_all_fences() argument 1648 amdgpu_cs_wait_any_fence(struct amdgpu_device * adev,struct drm_file * filp,union drm_amdgpu_wait_fences * wait,struct drm_amdgpu_fence * fences) amdgpu_cs_wait_any_fence() argument 1714 union drm_amdgpu_wait_fences *wait = data; amdgpu_cs_wait_fences_ioctl() local [all...] |
| /openbsd-src/regress/lib/libc/sys/ |
| H A D | t_minherit.c | 75 ATF_REQUIRE(wait(NULL) != -1); in ATF_TC_BODY() 102 ATF_REQUIRE(wait(NULL) != -1); in ATF_TC_BODY() 135 ATF_REQUIRE(wait(&status) != -1); in ATF_TC_BODY() 162 ATF_REQUIRE(wait(NULL) != -1); in ATF_TC_BODY()
|
| H A D | t_wait_noproc.c | 45 ATF_TC(wait); 46 ATF_TC_HEAD(wait, tc) in ATF_TC_HEAD() argument 52 ATF_TC_BODY(wait, tc) in ATF_TC_BODY() argument 54 ATF_REQUIRE_ERRNO(ECHILD, wait(NULL) == -1); in ATF_TC_BODY() 336 ATF_TP_ADD_TC(tp, wait); in ATF_TP_ADD_TCS()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | ThreadPool.h | 98 void wait(); 105 void wait(ThreadPoolTaskGroup &Group); 231 ~ThreadPoolTaskGroup() { wait(); } in ~ThreadPoolTaskGroup() 241 void wait() { Pool.wait(*this); } in wait() function
|
| /openbsd-src/gnu/llvm/clang/utils/analyzer/ |
| H A D | entrypoint.py | 13 if settings.wait: 14 wait() 22 def wait(): function
|