Home
last modified time | relevance | path

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

1234567891011

/freebsd-13.1/contrib/llvm-project/libcxx/include/
H A Datomic62 struct atomic
73 atomic(const atomic&) = delete;
74 atomic& operator=(const atomic&) = delete;
75 atomic& operator=(const atomic&) volatile = delete;
124 atomic(const atomic&) = delete;
125 atomic& operator=(const atomic&) = delete;
126 atomic& operator=(const atomic&) volatile = delete;
208 atomic(const atomic&) = delete;
209 atomic& operator=(const atomic&) = delete;
1822 atomic& operator=(const atomic&) = delete;
[all …]
H A Dversion28 __cpp_lib_atomic_flag_test 201907L <atomic>
29 __cpp_lib_atomic_float 201711L <atomic>
30 __cpp_lib_atomic_is_always_lock_free 201603L <atomic>
31 __cpp_lib_atomic_lock_free_type_aliases 201907L <atomic>
32 __cpp_lib_atomic_ref 201806L <atomic>
33 __cpp_lib_atomic_shared_ptr 201711L <atomic>
34 __cpp_lib_atomic_value_initialization 201911L <atomic> <memory>
35 __cpp_lib_atomic_wait 201907L <atomic>
44 __cpp_lib_char8_t 201811L <atomic> <filesystem> <istream>
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrAtomics.td484 WebAssemblyBinRMW<I32, "i32.atomic.rmw8.add_u", 0x20>;
488 WebAssemblyBinRMW<I64, "i64.atomic.rmw8.add_u", 0x22>;
497 WebAssemblyBinRMW<I32, "i32.atomic.rmw8.sub_u", 0x27>;
501 WebAssemblyBinRMW<I64, "i64.atomic.rmw8.sub_u", 0x29>;
510 WebAssemblyBinRMW<I32, "i32.atomic.rmw8.and_u", 0x2e>;
514 WebAssemblyBinRMW<I64, "i64.atomic.rmw8.and_u", 0x30>;
523 WebAssemblyBinRMW<I32, "i32.atomic.rmw8.or_u", 0x35>;
525 WebAssemblyBinRMW<I32, "i32.atomic.rmw16.or_u", 0x36>;
527 WebAssemblyBinRMW<I64, "i64.atomic.rmw8.or_u", 0x37>;
547 WebAssemblyBinRMW<I32, "i32.atomic.rmw.xchg", 0x41>;
[all …]
/freebsd-13.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-13.1/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_x86_64.cpp160 reinterpret_cast<std::atomic<uint16_t> *>(Address), MovR10Seq, in patchFunctionEntry()
164 reinterpret_cast<std::atomic<uint16_t> *>(Address), Jmp9Seq, in patchFunctionEntry()
206 reinterpret_cast<std::atomic<uint16_t> *>(Address), MovR10Seq, in patchFunctionExit()
210 reinterpret_cast<std::atomic<uint8_t> *>(Address), RetOpCode, in patchFunctionExit()
235 reinterpret_cast<std::atomic<uint16_t> *>(Address), MovR10Seq, in patchFunctionTailExit()
239 reinterpret_cast<std::atomic<uint16_t> *>(Address), Jmp9Seq, in patchFunctionTailExit()
274 reinterpret_cast<std::atomic<uint16_t> *>(Address), NopwSeq, in patchCustomEvent()
281 reinterpret_cast<std::atomic<uint16_t> *>(Address), Jmp15Seq, in patchCustomEvent()
287 reinterpret_cast<std::atomic<uint16_t> *>(Address), Jmp20Seq, in patchCustomEvent()
317 reinterpret_cast<std::atomic<uint16_t> *>(Address), NopwSeq, in patchTypedEvent()
[all …]
H A Dxray_AArch64.cpp80 reinterpret_cast<std::atomic<uint32_t> *>(FirstAddress), in patchSled()
84 reinterpret_cast<std::atomic<uint32_t> *>(FirstAddress), in patchSled()
H A Dxray_arm.cpp117 reinterpret_cast<std::atomic<uint32_t> *>(FirstAddress), in patchSled()
121 reinterpret_cast<std::atomic<uint32_t> *>(FirstAddress), in patchSled()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Utility/
H A DTimer.h38 std::atomic<uint64_t> m_nanos;
39 std::atomic<uint64_t> m_nanos_total;
40 std::atomic<uint64_t> m_count;
41 std::atomic<Category *> m_next;
76 static std::atomic<bool> g_quiet;
77 static std::atomic<unsigned> g_display_depth;
H A DLog.h61 std::atomic<Log *> log_ptr;
182 std::atomic<uint32_t> m_options{0};
183 std::atomic<uint32_t> m_mask{0};
/freebsd-13.1/sbin/dump/
H A Dtape.c77 static int atomic(ssize_t (*)(), int, char *, int);
239 if (atomic(write, wp->fd, (char *)wp->req, siz) != siz) in flushtape()
250 if (atomic(read, wp->fd, (char *)&got, sizeof got) in flushtape()
267 if (atomic(read, workers[i].fd, in flushtape()
325 if (atomic(read, workers[f].fd, (char *)&got, sizeof got) in trewind()
449 if (atomic(write, wp->fd, (char *)q, size) != size) { in rollforward()
489 if (atomic(read, wp->fd, (char *)&got, sizeof got) in rollforward()
738 (void) atomic(write, workers[i].fd, in create_workers()
797 if (p->count != 1 || atomic(read, cmd, in worker()
861 (void) atomic(write, cmd, (char *)&size, sizeof size); in worker()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Target/GlobalISel/
H A DSelectionDAGCompat.td26 // SelectionDAG has separate nodes for atomic and non-atomic memory operations
160 // G_LOAD handles both atomic and non-atomic loads where as SelectionDAG had
161 // separate nodes for them. This GINodeEquiv maps the non-atomic loads to
162 // G_LOAD with a non-atomic MachineMemOperand.
177 // G_STORE handles both atomic and non-atomic stores where as SelectionDAG had
178 // separate nodes for them. This GINodeEquiv maps the non-atomic stores to
179 // G_STORE with a non-atomic MachineMemOperand.
/freebsd-13.1/cddl/lib/libspl/
H A DMakefile27 atomic.c \
47 CFLAGS.atomic.c+= -Wno-error=atomic-alignment
/freebsd-13.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-13.1/sys/contrib/openzfs/config/
H A Duser-libatomic.m42 dnl # If -latomic exists and atomic.c doesn't link without it,
16 …AC_LINK_IFELSE([AC_LANG_PROGRAM([#include "lib/libspl/atomic.c"], [])], [], [LIBATOMIC_LIBS="-lato…
/freebsd-13.1/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_wait_release.h73 std::atomic<P>
79 kmp_flag(std::atomic<P> *p, flag_type ft) in kmp_flag()
84 std::atomic<P> *get() { return loc; } in get()
92 void set(std::atomic<P> *new_loc) { loc = new_loc; } in set()
503 std::atomic<kmp_int32> *unfinished_threads = in __kmp_wait_template()
774 kmp_basic_flag(std::atomic<FlagType> *p)
776 kmp_basic_flag(std::atomic<FlagType> *p, kmp_info_t *thr)
780 kmp_basic_flag(std::atomic<FlagType> *p, FlagType c)
866 kmp_flag_32(std::atomic<kmp_uint32> *p)
868 kmp_flag_32(std::atomic<kmp_uint32> *p, kmp_info_t *thr)
[all …]
H A Dkmp_lock.h123 std::atomic<kmp_int32> poll;
243 std::atomic<bool> initialized;
246 std::atomic<unsigned>
248 std::atomic<unsigned>
250 std::atomic<int> owner_id; // (gtid+1) of owning thread, 0 if unlocked
251 std::atomic<int> depth_locked; // depth locked, for nested locks only
448 std::atomic<std::atomic<kmp_uint64> *> polls;
449 std::atomic<kmp_uint64> mask; // is 2**num_polls-1 for mod op
451 std::atomic<kmp_uint64> *old_polls; // will deallocate old_polls
458 std::atomic<kmp_uint64> next_ticket;
H A Dkmp_global.cpp65 std::atomic<kmp_int32> __kmp_team_counter = ATOMIC_VAR_INIT(0);
66 std::atomic<kmp_int32> __kmp_task_counter = ATOMIC_VAR_INIT(0);
385 std::atomic<int> __kmp_debug_count =
446 std::atomic<int> __kmp_thread_pool_active_nth = ATOMIC_VAR_INIT(0);
/freebsd-13.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-13.1/contrib/llvm-project/lldb/source/Utility/
H A DTimer.cpp30 static std::atomic<Timer::Category *> g_categories;
38 std::atomic<bool> Timer::g_quiet(true);
39 std::atomic<unsigned> Timer::g_display_depth(0);
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DManagedStatic.h52 mutable std::atomic<void *> Ptr{};
58 mutable std::atomic<void *> Ptr;
/freebsd-13.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-13.1/contrib/llvm-project/lldb/include/lldb/Core/
H A DCommunication.h305 std::atomic<bool> m_read_thread_enabled;
306 std::atomic<bool> m_read_thread_did_exit;
/freebsd-13.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-13.1/contrib/llvm-project/llvm/lib/Support/
H A DParallel.cpp112 std::atomic<bool> Stop{false};
147 static std::atomic<int> TaskGroupInstances;
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStatistic.h55 std::atomic<unsigned> Value;
56 std::atomic<bool> Initialized;

1234567891011