Home
last modified time | relevance | path

Searched refs:atomic (Results 1 – 25 of 254) sorted by relevance

1234567891011

/freebsd-12.1/contrib/libc++/include/
H A Datomic15 atomic synopsis
94 struct atomic
125 atomic(const atomic&) = delete;
126 atomic& operator=(const atomic&) = delete;
127 atomic& operator=(const atomic&) volatile = delete;
182 atomic(const atomic&) = delete;
183 atomic& operator=(const atomic&) = delete;
184 atomic& operator=(const atomic&) volatile = delete;
245 atomic(const atomic&) = delete;
246 atomic& operator=(const atomic&) = delete;
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrAtomics.td347 WebAssemblyBinRMW<I32, "i32.atomic.rmw8.add_u", 0xfe20>;
351 WebAssemblyBinRMW<I64, "i64.atomic.rmw8.add_u", 0xfe22>;
360 WebAssemblyBinRMW<I32, "i32.atomic.rmw8.sub_u", 0xfe27>;
364 WebAssemblyBinRMW<I64, "i64.atomic.rmw8.sub_u", 0xfe29>;
386 WebAssemblyBinRMW<I32, "i32.atomic.rmw8.or_u", 0xfe35>;
390 WebAssemblyBinRMW<I64, "i64.atomic.rmw8.or_u", 0xfe37>;
410 WebAssemblyBinRMW<I32, "i32.atomic.rmw.xchg", 0xfe41>;
412 WebAssemblyBinRMW<I64, "i64.atomic.rmw.xchg", 0xfe42>;
907 "atomic.notify \t${off}, ${p2align}", 0xfe00>;
914 "i32.atomic.wait \t${off}, ${p2align}", 0xfe01>;
[all …]
/freebsd-12.1/contrib/jemalloc/include/jemalloc/internal/
H A Dprng.h67 prng_lg_range_u32(atomic_u32_t *state, unsigned lg_range, bool atomic) { in prng_lg_range_u32() argument
75 if (atomic) { in prng_lg_range_u32()
104 prng_lg_range_zu(atomic_zu_t *state, unsigned lg_range, bool atomic) { in prng_lg_range_zu() argument
112 if (atomic) { in prng_lg_range_zu()
132 prng_range_u32(atomic_u32_t *state, uint32_t range, bool atomic) { in prng_range_u32() argument
143 ret = prng_lg_range_u32(state, lg_range, atomic); in prng_range_u32()
168 prng_range_zu(atomic_zu_t *state, size_t range, bool atomic) { in prng_range_zu() argument
179 ret = prng_lg_range_zu(state, lg_range, atomic); in prng_range_zu()
/freebsd-12.1/contrib/compiler-rt/lib/xray/
H A Dxray_x86_64.cc166 reinterpret_cast<std::atomic<uint16_t> *>(Sled.Address), MovR10Seq, in patchFunctionEntry()
170 reinterpret_cast<std::atomic<uint16_t> *>(Sled.Address), Jmp9Seq, in patchFunctionEntry()
211 reinterpret_cast<std::atomic<uint16_t> *>(Sled.Address), MovR10Seq, in patchFunctionExit()
215 reinterpret_cast<std::atomic<uint8_t> *>(Sled.Address), RetOpCode, in patchFunctionExit()
239 reinterpret_cast<std::atomic<uint16_t> *>(Sled.Address), MovR10Seq, in patchFunctionTailExit()
243 reinterpret_cast<std::atomic<uint16_t> *>(Sled.Address), Jmp9Seq, in patchFunctionTailExit()
277 reinterpret_cast<std::atomic<uint16_t> *>(Sled.Address), NopwSeq, in patchCustomEvent()
283 reinterpret_cast<std::atomic<uint16_t> *>(Sled.Address), Jmp15Seq, in patchCustomEvent()
289 reinterpret_cast<std::atomic<uint16_t> *>(Sled.Address), Jmp20Seq, in patchCustomEvent()
318 reinterpret_cast<std::atomic<uint16_t> *>(Sled.Address), NopwSeq, in patchTypedEvent()
[all …]
H A Dxray_AArch64.cc81 reinterpret_cast<std::atomic<uint32_t> *>(FirstAddress), in patchSled()
85 reinterpret_cast<std::atomic<uint32_t> *>(FirstAddress), in patchSled()
H A Dxray_arm.cc118 reinterpret_cast<std::atomic<uint32_t> *>(FirstAddress), in patchSled()
122 reinterpret_cast<std::atomic<uint32_t> *>(FirstAddress), in patchSled()
/freebsd-12.1/sys/dev/drm/
H A Ddrm_mm.c82 static struct drm_mm_node *drm_mm_kmalloc(struct drm_mm *mm, int atomic) in drm_mm_kmalloc() argument
86 if (atomic) in drm_mm_kmalloc()
131 unsigned long size, int atomic) in drm_mm_create_tail_node() argument
135 child = drm_mm_kmalloc(mm, atomic); in drm_mm_create_tail_node()
150 int drm_mm_add_space_to_tail(struct drm_mm *mm, unsigned long size, int atomic) in drm_mm_add_space_to_tail() argument
159 size, atomic); in drm_mm_add_space_to_tail()
167 int atomic) in drm_mm_split_at_start() argument
171 child = drm_mm_kmalloc(parent->mm, atomic); in drm_mm_split_at_start()
194 int atomic) in drm_mm_get_block_generic() argument
205 drm_mm_split_at_start(node, alignment - tmp, atomic); in drm_mm_get_block_generic()
[all …]
H A Ddrm_mm.h66 int atomic);
92 unsigned long size, int atomic);
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Utility/
H A DTimer.h35 std::atomic<uint64_t> m_nanos;
36 std::atomic<Category *> m_next;
70 static std::atomic<bool> g_quiet;
71 static std::atomic<unsigned> g_display_depth;
H A DLog.h65 std::atomic<Log *> log_ptr;
181 std::atomic<uint32_t> m_options{0};
182 std::atomic<uint32_t> m_mask{0};
/freebsd-12.1/contrib/llvm/include/llvm/Target/GlobalISel/
H A DSelectionDAGCompat.td27 // SelectionDAG has separate nodes for atomic and non-atomic memory operations
98 // G_LOAD handles both atomic and non-atomic loads where as SelectionDAG had
99 // separate nodes for them. This GINodeEquiv maps the non-atomic loads to
100 // G_LOAD with a non-atomic MachineMemOperand.
110 // G_STORE handles both atomic and non-atomic stores where as SelectionDAG had
111 // separate nodes for them. This GINodeEquiv maps the non-atomic stores to
112 // G_STORE with a non-atomic MachineMemOperand.
/freebsd-12.1/sbin/dump/
H A Dtape.c75 static int atomic(ssize_t (*)(), int, char *, int);
237 if (atomic(write, slp->fd, (char *)slp->req, siz) != siz) in flushtape()
248 if (atomic(read, slp->fd, (char *)&got, sizeof got) in flushtape()
265 if (atomic(read, slaves[i].fd, in flushtape()
323 if (atomic(read, slaves[f].fd, (char *)&got, sizeof got) in trewind()
447 if (atomic(write, slp->fd, (char *)q, size) != size) { in rollforward()
487 if (atomic(read, slp->fd, (char *)&got, sizeof got) in rollforward()
736 (void) atomic(write, slaves[i].fd, in enslave()
795 if (p->count != 1 || atomic(read, cmd, in doslave()
859 (void) atomic(write, cmd, (char *)&size, sizeof size); in doslave()
[all …]
/freebsd-12.1/sys/contrib/zstd/contrib/pzstd/utils/test/
H A DThreadPoolTest.cpp35 std::atomic<unsigned> numFinished{0}; in TEST()
36 std::atomic<bool> start{false}; in TEST()
56 std::atomic<bool> done{false}; in TEST()
H A DResourcePoolTest.cpp49 std::atomic<unsigned> numCreated{0}; in TEST()
50 std::atomic<unsigned> numDeleted{0}; in TEST()
/freebsd-12.1/sys/dev/cxgbe/
H A Doffload.h39 #define INIT_ULPTX_WRH(w, wrlen, atomic, tid) do { \ argument
40 (w)->wr_hi = htonl(V_FW_WR_OP(FW_ULPTX_WR) | V_FW_WR_ATOMIC(atomic)); \
46 #define INIT_ULPTX_WR(w, wrlen, atomic, tid) \ argument
47 INIT_ULPTX_WRH(&((w)->wr), wrlen, atomic, tid)
/freebsd-12.1/contrib/openmp/runtime/src/
H A Dkmp_wait_release.h68 std::atomic<P>
74 kmp_flag(std::atomic<P> *p, flag_type ft) : loc(p), t(ft) {} in kmp_flag()
78 std::atomic<P> *get() { return loc; } in get()
86 void set(std::atomic<P> *new_loc) { loc = new_loc; } in set()
637 kmp_basic_flag(std::atomic<FlagType> *p)
639 kmp_basic_flag(std::atomic<FlagType> *p, kmp_info_t *thr)
643 kmp_basic_flag(std::atomic<FlagType> *p, FlagType c)
723 kmp_flag_32(std::atomic<kmp_uint32> *p) : kmp_basic_flag<kmp_uint32>(p) {}
724 kmp_flag_32(std::atomic<kmp_uint32> *p, kmp_info_t *thr)
726 kmp_flag_32(std::atomic<kmp_uint32> *p, kmp_uint32 c)
H A Dkmp_lock.h124 std::atomic<kmp_int32> poll;
244 std::atomic<bool> initialized;
247 std::atomic<unsigned>
249 std::atomic<unsigned>
251 std::atomic<int> owner_id; // (gtid+1) of owning thread, 0 if unlocked
252 std::atomic<int> depth_locked; // depth locked, for nested locks only
449 std::atomic<std::atomic<kmp_uint64> *> polls;
450 std::atomic<kmp_uint64> mask; // is 2**num_polls-1 for mod op
452 std::atomic<kmp_uint64> *old_polls; // will deallocate old_polls
459 std::atomic<kmp_uint64> next_ticket;
H A Dkmp_global.cpp63 std::atomic<kmp_int32> __kmp_team_counter = ATOMIC_VAR_INIT(0);
64 std::atomic<kmp_int32> __kmp_task_counter = ATOMIC_VAR_INIT(0);
367 std::atomic<int> __kmp_debug_count =
434 std::atomic<int> __kmp_thread_pool_active_nth = ATOMIC_VAR_INIT(0);
/freebsd-12.1/contrib/llvm/tools/lldb/source/Utility/
H A DTimer.cpp28 static std::atomic<Timer::Category *> g_categories;
31 std::atomic<bool> Timer::g_quiet(true);
32 std::atomic<unsigned> Timer::g_display_depth(0);
/freebsd-12.1/contrib/netbsd-tests/lib/libc/sync/
H A Dcpp_atomic_ops_linkable.cc45 m_val.exchange(std::atomic<T>(8)); in ATest()
58 volatile std::atomic<T> m_val;
/freebsd-12.1/contrib/libucl/
H A Dconfigure.ac154 AC_MSG_CHECKING(for GCC atomic builtins)
169 AC_DEFINE([HAVE_ATOMIC_BUILTINS], [1], [Has gcc/MSVC atomic intrinsics])
173 AC_DEFINE([HAVE_ATOMIC_BUILTINS], [0], [Has gcc/MSVC atomic intrinsics])
174 AC_MSG_WARN([Libucl references could be thread-unsafe because atomic builtins are missing])
/freebsd-12.1/contrib/ofed/libibverbs/
H A Dcompat-1_0.c101 } atomic; member
447 real_wr->wr.atomic.remote_addr = in post_send_wrapper_1_0()
448 w->wr.atomic.remote_addr; in post_send_wrapper_1_0()
449 real_wr->wr.atomic.compare_add = in post_send_wrapper_1_0()
450 w->wr.atomic.compare_add; in post_send_wrapper_1_0()
451 real_wr->wr.atomic.swap = in post_send_wrapper_1_0()
452 w->wr.atomic.swap; in post_send_wrapper_1_0()
453 real_wr->wr.atomic.rkey = in post_send_wrapper_1_0()
454 w->wr.atomic.rkey; in post_send_wrapper_1_0()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Core/
H A DCommunication.h341 std::atomic<bool> m_read_thread_enabled;
342 std::atomic<bool> m_read_thread_did_exit;
/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DStatistic.h53 std::atomic<unsigned> Value;
54 std::atomic<bool> Initialized;
/freebsd-12.1/contrib/apr/
H A Dbuild-outputs.mk122 atomic/unix/builtins.lo: atomic/unix/builtins.c .make.dirs
123 atomic/unix/ia32.lo: atomic/unix/ia32.c .make.dirs
124 atomic/unix/mutex.lo: atomic/unix/mutex.c .make.dirs
125 atomic/unix/ppc.lo: atomic/unix/ppc.c .make.dirs
126 atomic/unix/s390.lo: atomic/unix/s390.c .make.dirs
127 atomic/unix/solaris.lo: atomic/unix/solaris.c .make.dirs
129 …BJECTS_atomic_unix = atomic/unix/builtins.lo atomic/unix/ia32.lo atomic/unix/mutex.lo atomic/unix/…
236 atomic/os390/atomic.lo: atomic/os390/atomic.c .make.dirs include/apr_allocator.h include/apr_atomic…
238 OBJECTS_atomic_os390 = atomic/os390/atomic.lo
308 atomic/win32/apr_atomic.lo: atomic/win32/apr_atomic.c .make.dirs include/apr_allocator.h include/ap…
[all …]

1234567891011