Home
last modified time | relevance | path

Searched refs:wait (Results 1 – 25 of 682) sorted by relevance

12345678910>>...28

/openbsd/sys/dev/pci/drm/i915/display/
H A Dintel_display_rps.c15 struct wait_queue_entry wait; member
24 struct wait_rps_boost *wait = container_of(_wait, typeof(*wait), wait); in do_rps_boost() local
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()
64 wait->crtc = crtc; in intel_display_rps_boost_after_vblank()
66 wait->wait.func = do_rps_boost; in intel_display_rps_boost_after_vblank()
67 wait->wait.flags = 0; in intel_display_rps_boost_after_vblank()
[all …]
/openbsd/regress/usr.sbin/ospfd/
H A DClient.pm50 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/gnu/llvm/llvm/lib/Support/
H A DGraphWriter.cpp136 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 DThreadPool.cpp67 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/usr.sbin/nsd/
H A Dmini_event.c161 struct timeval* wait) in handle_timeouts() argument
166 wait->tv_sec = (time_t)-1; 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()
205 if(wait->tv_sec==(time_t)-1) in handle_select()
206 wait = NULL; in handle_select()
252 struct timeval wait; in event_base_loop() local
261 if(handle_select(base, &wait) < 0) { in event_base_loop()
273 struct timeval wait; in event_base_dispatch() local
[all …]
/openbsd/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Formatter/
H A DBase.pm329 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 != 0) {
405 $description = sprintf 'exited %d', ($wait >> 8);
408 $wait .= " ($description)" if $wait != 0;
411 $wait = '(none)';
[all …]
/openbsd/usr.sbin/unbound/util/
H A Dwinsock_event.c164 struct timeval* wait) in handle_timeouts() argument
168 wait->tv_sec = (time_t)-1; in handle_timeouts()
189 (long long)wait->tv_sec, (int)wait->tv_usec); in handle_timeouts()
243 if(wait->tv_sec==(time_t)-1) in handle_select()
244 wait = NULL; in handle_select()
245 if(wait) in handle_select()
246 timeout = wait->tv_sec*1000 + wait->tv_usec/1000; in handle_select()
248 wait = &nultm; in handle_select()
272 if(wait) { in handle_select()
279 wait?timeout:WSA_INFINITE, in handle_select()
[all …]
H A Dmini_event.c143 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()
184 if(wait->tv_sec==(time_t)-1) in handle_select()
185 wait = NULL; in handle_select()
232 struct timeval wait; in event_base_dispatch() local
238 handle_timeouts(base, base->time_tv, &wait); in event_base_dispatch()
[all …]
/openbsd/sbin/unwind/libunbound/util/
H A Dwinsock_event.c164 struct timeval* wait) in handle_timeouts() argument
168 wait->tv_sec = (time_t)-1; in handle_timeouts()
189 (long long)wait->tv_sec, (int)wait->tv_usec); in handle_timeouts()
243 if(wait->tv_sec==(time_t)-1) in handle_select()
244 wait = NULL; in handle_select()
245 if(wait) in handle_select()
246 timeout = wait->tv_sec*1000 + wait->tv_usec/1000; in handle_select()
248 wait = &nultm; in handle_select()
272 if(wait) { in handle_select()
279 wait?timeout:WSA_INFINITE, in handle_select()
[all …]
H A Dmini_event.c143 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()
184 if(wait->tv_sec==(time_t)-1) in handle_select()
185 wait = NULL; in handle_select()
232 struct timeval wait; in event_base_dispatch() local
238 handle_timeouts(base, base->time_tv, &wait); in event_base_dispatch()
[all …]
/openbsd/sys/dev/pci/drm/
H A Ddrm_syncobj.c269 if (wait->fence) in drm_syncobj_fence_add_wait()
284 wait->fence = fence; in drm_syncobj_fence_add_wait()
292 if (!wait->node.next) in drm_syncobj_remove_wait()
480 memset(&wait, 0, sizeof(wait)); in drm_syncobj_find_fence()
482 wait.task = current; in drm_syncobj_find_fence()
484 wait.task = curproc; in drm_syncobj_find_fence()
486 wait.point = point; in drm_syncobj_find_fence()
491 if (wait.fence) { in drm_syncobj_find_fence()
509 *fence = wait.fence; in drm_syncobj_find_fence()
511 if (wait.node.next) in drm_syncobj_find_fence()
[all …]
/openbsd/sys/kern/
H A Duipc_mbuf2.c217 m_dup1(struct mbuf *m, int off, int len, int wait) in m_dup1() argument
225 MGETHDR(n, wait, m->m_type); in m_dup1()
228 if (m_dup_pkthdr(n, m, wait)) { in m_dup1()
234 MGET(n, wait, m->m_type); in m_dup1()
238 MCLGETL(n, wait, len); in m_dup1()
255 m_tag_get(int type, int len, int wait) in m_tag_get() argument
263 t = pool_get(&mtagpool, wait == M_WAITOK ? PR_WAITOK : PR_NOWAIT); in m_tag_get()
331 m_tag_copy(struct m_tag *t, int wait) in m_tag_copy() argument
335 p = m_tag_get(t->m_tag_id, t->m_tag_len, wait); in m_tag_copy()
349 m_tag_copy_chain(struct mbuf *to, struct mbuf *from, int wait) in m_tag_copy_chain() argument
[all …]
/openbsd/lib/libc/rpc/
H A Dclnt_udp_bufcreate.c71 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 Dclnt_udp.c92 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/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.brendan/
H A Dcrash36.C3 struct wait { int w_status; }; argument
4 int wait();
5 extern "C" int wait(int*);
/openbsd/usr.sbin/unbound/testcode/
H A Ddelayer.c106 struct timeval wait; member
654 item->wait = *now;
825 tcv = p->querylist->wait;
827 tcv = p->answerlist->wait;
832 memmove(wait, peek, sizeof(*wait));
834 tcv = *wait;
836 tcv = *wait;
840 *wait = tcv;
841 dl_tv_subtract(wait, now);
900 struct timeval now, wait; local
[all …]
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dgnu-nat.c337 else if (proc == inf->wait.thread && inf->wait.exc.reply && !force) in proc_abort()
648 inf->wait.thread = 0; in make_inf()
677 inf->wait.thread = 0; in inf_clear_wait()
678 inf->wait.suppress = 0; in inf_clear_wait()
1567 if (inf->wait.suppress) in gnu_wait()
1579 thread = inf->wait.thread; in gnu_wait()
1680 inf->wait.exc.code = code; in S_exception_raise_request()
1693 inf->wait.suppress = 1; in S_exception_raise_request()
1726 inf->wait.suppress = 1; in do_mach_notify_dead_name()
1743 inf->wait.suppress = 1; in do_mach_notify_dead_name()
[all …]
/openbsd/gnu/llvm/libcxx/include/
H A Dcondition_variable33 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/usr.bin/tmux/
H A Dcmd-if-shell.c84 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/sys/dev/pci/drm/amd/amdgpu/
H A Dmmsch_v1_0.h122 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 Damdgpu_cs.c1461 union drm_amdgpu_wait_cs *wait = data; in amdgpu_cs_wait_ioctl() local
1472 r = amdgpu_ctx_get_entity(ctx, wait->in.ip_type, wait->in.ip_instance, in amdgpu_cs_wait_ioctl()
1473 wait->in.ring, &entity); in amdgpu_cs_wait_ioctl()
1494 memset(wait, 0, sizeof(*wait)); in amdgpu_cs_wait_ioctl()
1495 wait->out.status = (r == 0); in amdgpu_cs_wait_ioctl()
1632 memset(wait, 0, sizeof(*wait)); in amdgpu_cs_wait_all_fences()
1633 wait->out.status = (r > 0); in amdgpu_cs_wait_all_fences()
1686 memset(wait, 0, sizeof(*wait)); in amdgpu_cs_wait_any_fence()
1687 wait->out.status = (r > 0); in amdgpu_cs_wait_any_fence()
1688 wait->out.first_signaled = first; in amdgpu_cs_wait_any_fence()
[all …]
/openbsd/regress/lib/libc/sys/
H A Dt_minherit.c75 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 Dt_wait_noproc.c45 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/gnu/llvm/llvm/include/llvm/Support/
H A DThreadPool.h98 void wait();
105 void wait(ThreadPoolTaskGroup &Group);
231 ~ThreadPoolTaskGroup() { wait(); } in ~ThreadPoolTaskGroup()
241 void wait() { Pool.wait(*this); } in wait() function
/openbsd/gnu/llvm/clang/utils/analyzer/
H A Dentrypoint.py13 if settings.wait:
14 wait()
22 def wait(): function

12345678910>>...28