Home
last modified time | relevance | path

Searched refs:atomic_store (Results 1 – 25 of 221) sorted by relevance

123456789

/netbsd/external/mpl/bind/dist/lib/isc/tests/
H A Duv_wrap.h303 atomic_store(&__state_uv_udp_open, 0); \
304 atomic_store(&__state_uv_udp_bind, 0); \
305 atomic_store(&__state_uv_udp_connect, 0); \
306 atomic_store(&__state_uv_udp_getpeername, 0); \
307 atomic_store(&__state_uv_udp_getsockname, 0); \
308 atomic_store(&__state_uv_udp_send, 0); \
309 atomic_store(&__state_uv_udp_recv_start, 0); \
310 atomic_store(&__state_uv_udp_recv_stop, 0); \
311 atomic_store(&__state_uv_tcp_open, 0); \
312 atomic_store(&__state_uv_tcp_bind, 0); \
[all …]
H A Dnetmgr_test.c301 atomic_store(&saccepts, 0); in nm_setup()
302 atomic_store(&sreads, 0); in nm_setup()
303 atomic_store(&ssends, 0); in nm_setup()
306 atomic_store(&csends, 0); in nm_setup()
307 atomic_store(&creads, 0); in nm_setup()
847 atomic_store(&nsends, 1); in udp_recv_one()
887 atomic_store(&nsends, 2); in udp_recv_two()
1257 atomic_store(&nsends, 1); in stream_recv_one()
1297 atomic_store(&nsends, 2); in stream_recv_two()
1814 atomic_store(&nsends, 1); in tcpdns_recv_one()
[all …]
H A Dtask_test.c434 atomic_store(&done2, true); in sleep_cb()
450 atomic_store(&done2, true); in sleep_cb()
463 atomic_store(&done, false); in pause_unpause()
464 atomic_store(&done2, false); in pause_unpause()
490 atomic_store(&done, true); in pause_unpause()
679 atomic_store(&done, true); in exclusive_cb()
761 atomic_store(&done, true); in maxtask_shutdown()
962 atomic_store(&ready, true); in task_shutdown()
1036 atomic_store(&done, true); in post_shutdown()
1131 atomic_store(&done, true); in pg_sde()
[all …]
/netbsd/sys/external/bsd/compiler_rt/dist/lib/xray/
H A Dxray_profiling.cc95 atomic_store(&TLD.Allocators, 0, memory_order_release); in getThreadLocalData()
133 atomic_store(&TLD.Allocators, Allocators, memory_order_release); in getThreadLocalData()
146 atomic_store(&TLD.FCT, FCT, memory_order_release); in getThreadLocalData()
220 atomic_store(&ProfilerLogFlushStatus, in profilingFlush()
264 atomic_store(&ProfilerLogFlushStatus, XRayLogFlushStatus::XRAY_LOG_FLUSHED, in profilingFlush()
266 atomic_store(&ProfilerLogStatus, XRayLogInitStatus::XRAY_LOG_UNINITIALIZED, in profilingFlush()
347 atomic_store(&ProfilerLogStatus, XRayLogInitStatus::XRAY_LOG_FINALIZED, in profilingFinalize()
400 atomic_store(&ProfilerLogStatus, in profilingLoggingInit()
417 atomic_store(&ProfilerLogStatus, in profilingLoggingInit()
478 atomic_store(&ProfilerLogStatus, XRayLogInitStatus::XRAY_LOG_INITIALIZED, in profilingLoggingInit()
H A Dxray_interface.cc217 atomic_store(&XRayPatching, false, in patchFunction()
245 atomic_store(&XRayPatching, false, in controlPatching()
307 atomic_store(&XRayPatching, false, in controlPatching()
377 atomic_store(&__xray::XRayPatchedFunction, in __xray_set_handler()
389 atomic_store(&__xray::XRayPatchedCustomEvent, in __xray_set_customevent_handler()
401 atomic_store(&__xray::XRayPatchedTypedEvent, in __xray_set_typedevent_handler()
457 atomic_store(&XRayArgLogger, reinterpret_cast<uint64_t>(entry), in __xray_set_handler_arg1()
H A Dxray_buffer_queue.cc116 atomic_store(&BackingStore->RefCount, 1, memory_order_release); in init()
117 atomic_store(&ExtentsBackingStore->RefCount, 1, memory_order_release); in init()
128 atomic_store(Buf.Extents, 0, memory_order_release); in init()
141 atomic_store(&Finalizing, 0, memory_order_release); in init()
213 atomic_store(B->Buff.Extents, atomic_load(Buf.Extents, memory_order_acquire), in releaseBuffer()
H A Dxray_fdr_logging.cc314 atomic_store(&LoggingStatus, XRayLogInitStatus::XRAY_LOG_UNINITIALIZED, in fdrLoggingFlush()
328 atomic_store(&LogFlushStatus, XRayLogFlushStatus::XRAY_LOG_FLUSHED, in fdrLoggingFlush()
345 atomic_store(&LogFlushStatus, Result, memory_order_release); in fdrLoggingFlush()
383 atomic_store(&LogFlushStatus, XRayLogFlushStatus::XRAY_LOG_FLUSHED, in fdrLoggingFlush()
407 atomic_store(&LoggingStatus, XRayLogInitStatus::XRAY_LOG_FINALIZED, in fdrLoggingFinalize()
684 atomic_store(&TicksPerSec, in fdrLoggingInit()
705 atomic_store(&ThresholdTicks, in fdrLoggingInit()
720 atomic_store(&LoggingStatus, XRayLogInitStatus::XRAY_LOG_INITIALIZED, in fdrLoggingInit()
H A Dxray_init.cc75 atomic_store(&XRayFlagsInitialized, true, memory_order_release); in __xray_init()
91 atomic_store(&XRayInitialized, true, memory_order_release); in __xray_init()
/netbsd/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_persistent_allocator.h54 atomic_store(&region_pos, 0, memory_order_relaxed); in alloc()
58 atomic_store(&region_end, mem + allocsz, memory_order_release); in alloc()
59 atomic_store(&region_pos, mem, memory_order_release); in alloc()
H A Dsanitizer_addrhashmap.h270 atomic_store(&b->add, (uptr)add, memory_order_relaxed); in acquire()
282 atomic_store(&b->add, (uptr)add1, memory_order_relaxed); in acquire()
305 atomic_store(&c->addr, h->addr_, memory_order_release); in release()
310 atomic_store(&c->addr, 0, memory_order_release); in release()
320 atomic_store(&c->addr, addr1, memory_order_release); in release()
321 atomic_store(&c1->addr, 0, memory_order_release); in release()
329 atomic_store(&c1->addr, 0, memory_order_relaxed); in release()
H A Dsanitizer_allocator_stats.h34 atomic_store(&stats_[i], v, memory_order_relaxed); in Add()
39 atomic_store(&stats_[i], v, memory_order_relaxed); in Sub()
43 atomic_store(&stats_[i], v, memory_order_relaxed); in Set()
H A Dsanitizer_mutex.h24 atomic_store(&state_, 0, memory_order_relaxed); in Init()
38 atomic_store(&state_, 0, memory_order_release); in Unlock()
99 atomic_store(&state_, kUnlocked, memory_order_relaxed); in RWMutex()
/netbsd/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_persistent_allocator.h56 atomic_store(&region_pos, 0, memory_order_relaxed); in alloc()
60 atomic_store(&region_end, mem + allocsz, memory_order_release); in alloc()
61 atomic_store(&region_pos, mem, memory_order_release); in alloc()
H A Dsanitizer_addrhashmap.h272 atomic_store(&b->add, (uptr)add, memory_order_relaxed); in acquire()
284 atomic_store(&b->add, (uptr)add1, memory_order_relaxed); in acquire()
307 atomic_store(&c->addr, h->addr_, memory_order_release); in release()
312 atomic_store(&c->addr, 0, memory_order_release); in release()
322 atomic_store(&c->addr, addr1, memory_order_release); in release()
323 atomic_store(&c1->addr, 0, memory_order_release); in release()
331 atomic_store(&c1->addr, 0, memory_order_relaxed); in release()
H A Dsanitizer_allocator_stats.h36 atomic_store(&stats_[i], v, memory_order_relaxed); in Add()
41 atomic_store(&stats_[i], v, memory_order_relaxed); in Sub()
45 atomic_store(&stats_[i], v, memory_order_relaxed); in Set()
H A Dsanitizer_mutex.h26 atomic_store(&state_, 0, memory_order_relaxed); in Init()
40 atomic_store(&state_, 0, memory_order_release); in Unlock()
101 atomic_store(&state_, kUnlocked, memory_order_relaxed); in RWMutex()
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_persistent_allocator.h54 atomic_store(&region_pos, 0, memory_order_relaxed); in alloc()
58 atomic_store(&region_end, mem + allocsz, memory_order_release); in alloc()
59 atomic_store(&region_pos, mem, memory_order_release); in alloc()
H A Dsanitizer_addrhashmap.h270 atomic_store(&b->add, (uptr)add, memory_order_relaxed); in acquire()
282 atomic_store(&b->add, (uptr)add1, memory_order_relaxed); in acquire()
305 atomic_store(&c->addr, h->addr_, memory_order_release); in release()
310 atomic_store(&c->addr, 0, memory_order_release); in release()
320 atomic_store(&c->addr, addr1, memory_order_release); in release()
321 atomic_store(&c1->addr, 0, memory_order_release); in release()
329 atomic_store(&c1->addr, 0, memory_order_relaxed); in release()
H A Dsanitizer_allocator_stats.h34 atomic_store(&stats_[i], v, memory_order_relaxed); in Add()
39 atomic_store(&stats_[i], v, memory_order_relaxed); in Sub()
43 atomic_store(&stats_[i], v, memory_order_relaxed); in Set()
H A Dsanitizer_mutex.h24 atomic_store(&state_, 0, memory_order_relaxed); in Init()
38 atomic_store(&state_, 0, memory_order_release); in Unlock()
99 atomic_store(&state_, kUnlocked, memory_order_relaxed); in RWMutex()
/netbsd/external/mpl/bind/dist/lib/isc/netmgr/
H A Dudp.c196 atomic_store(&sock->active, true); in isc_nm_listenudp()
205 atomic_store(&sock->active, false); in isc_nm_listenudp()
318 atomic_store(&sock->listening, true); in isc__nm_async_udplisten()
729 atomic_store(&sock->connected, true); in udp_connect_direct()
767 atomic_store(&sock->active, false); in isc__nm_async_udpconnect()
825 atomic_store(&sock->closed, true); in isc_nm_udpconnect()
845 atomic_store(&sock->active, true); in isc_nm_udpconnect()
860 atomic_store(&sock->active, true); in isc_nm_udpconnect()
1085 atomic_store(&csock->active, false); in stop_udp_parent()
1090 atomic_store(&csock->active, false); in stop_udp_parent()
[all …]
H A Dtcpdns.c97 atomic_store(&sock->connecting, true); in tcpdns_connect_direct()
147 atomic_store(&sock->connected, true); in tcpdns_connect_direct()
183 atomic_store(&sock->active, false); in isc__nm_async_tcpdnsconnect()
289 atomic_store(&sock->closed, true); in isc_nm_tcpdnsconnect()
301 atomic_store(&sock->active, true); in isc_nm_tcpdnsconnect()
317 atomic_store(&sock->active, true); in isc_nm_tcpdnsconnect()
463 atomic_store(&sock->active, true); in isc_nm_listentcpdns()
472 atomic_store(&sock->active, false); in isc_nm_listentcpdns()
579 atomic_store(&sock->listening, true); in isc__nm_async_tcpdnslisten()
1074 atomic_store(&csock->active, false); in accept_connection()
[all …]
H A Dtcp.c132 atomic_store(&sock->connecting, true); in tcp_connect_direct()
177 atomic_store(&sock->connected, true); in tcp_connect_direct()
210 atomic_store(&sock->active, false); in isc__nm_async_tcpconnect()
331 atomic_store(&sock->closed, true); in isc_nm_tcpconnect()
339 atomic_store(&sock->active, true); in isc_nm_tcpconnect()
354 atomic_store(&sock->active, true); in isc_nm_tcpconnect()
497 atomic_store(&sock->active, true); in isc_nm_listentcp()
506 atomic_store(&sock->active, false); in isc_nm_listentcp()
613 atomic_store(&sock->listening, true); in isc__nm_async_tcplisten()
1065 atomic_store(&csock->active, false); in accept_connection()
[all …]
/netbsd/external/gpl3/gcc/dist/libsanitizer/tsan/
H A Dtsan_fd.cc51 atomic_store(&s->rc, 1, memory_order_relaxed); in allocsync()
121 atomic_store(&fdctx.globsync.rc, (u64)-1, memory_order_relaxed); in FdInit()
122 atomic_store(&fdctx.filesync.rc, (u64)-1, memory_order_relaxed); in FdInit()
123 atomic_store(&fdctx.socksync.rc, (u64)-1, memory_order_relaxed); in FdInit()
/netbsd/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
H A Dtsan_fd.cc53 atomic_store(&s->rc, 1, memory_order_relaxed); in allocsync()
123 atomic_store(&fdctx.globsync.rc, (u64)-1, memory_order_relaxed); in FdInit()
124 atomic_store(&fdctx.filesync.rc, (u64)-1, memory_order_relaxed); in FdInit()
125 atomic_store(&fdctx.socksync.rc, (u64)-1, memory_order_relaxed); in FdInit()

123456789