Home
last modified time | relevance | path

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

12345678910>>...16

/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__atomic/
H A Daliases.h28 using atomic_bool = atomic<bool>;
29 using atomic_char = atomic<char>;
30 using atomic_schar = atomic<signed char>;
31 using atomic_uchar = atomic<unsigned char>;
32 using atomic_short = atomic<short>;
33 using atomic_ushort = atomic<unsigned short>;
34 using atomic_int = atomic<int>;
35 using atomic_uint = atomic<unsigned int>;
36 using atomic_long = atomic<long>;
37 using atomic_ulong = atomic<unsigned long>;
[all …]
H A Datomic.h36 struct atomic : public __atomic_base<_Tp> { struct
41 _LIBCPP_HIDE_FROM_ABI atomic() _NOEXCEPT = default; argument
43 _LIBCPP_HIDE_FROM_ABI atomic(_Tp __d) _NOEXCEPT : __base(__d) {} in atomic() function
54 atomic& operator=(const atomic&) = delete; argument
55 atomic& operator=(const atomic&) volatile = delete; argument
61 struct atomic<_Tp*> : public __atomic_base<_Tp*> {
66 _LIBCPP_HIDE_FROM_ABI atomic() _NOEXCEPT = default;
68 _LIBCPP_HIDE_FROM_ABI atomic(_Tp* __d) _NOEXCEPT : __base(__d) {}
116 atomic& operator=(const atomic&) = delete;
117 atomic& operator=(const atomic&) volatile = delete;
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__atomic/
H A Daliases.h29 using atomic_bool = atomic<bool>;
30 using atomic_char = atomic<char>;
31 using atomic_schar = atomic<signed char>;
32 using atomic_uchar = atomic<unsigned char>;
33 using atomic_short = atomic<short>;
34 using atomic_ushort = atomic<unsigned short>;
35 using atomic_int = atomic<int>;
36 using atomic_uint = atomic<unsigned int>;
37 using atomic_long = atomic<long>;
38 using atomic_ulong = atomic<unsigned long>;
[all …]
H A Datomic.h241 struct atomic : public __atomic_base<typename __check_atomic_mandates<_Tp>::type> {
245 _LIBCPP_HIDE_FROM_ABI atomic() = default;
247 _LIBCPP_HIDE_FROM_ABI atomic() _NOEXCEPT = default;
250 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR atomic(_Tp __d) _NOEXCEPT : __base(__d) {}
261 atomic& operator=(const atomic&) = delete;
262 atomic& operator=(const atomic&) volatile = delete;
268 struct atomic<_Tp*> : public __atomic_base<_Tp*> {
273 _LIBCPP_HIDE_FROM_ABI atomic() _NOEXCEPT = default;
275 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR atomic(_Tp* __d) _NOEXCEPT : __base(__d) {}
323 atomic& operator=(const atomic&) = delete;
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Datomic14 atomic synopsis
62 struct atomic
70 atomic() noexcept = default; // until C++20
71 constexpr atomic() noexcept(is_nothrow_default_constructible_v<T>); // since C++20
72 constexpr atomic(T desr) noexcept;
73 atomic(const atomic&) = delete;
74 atomic& operator=(const atomic&) = delete;
75 atomic& operator=(const atomic&) volatile = delete;
113 struct atomic<integral>
122 atomic() noexcept = default;
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Datomic14 atomic synopsis
62 struct atomic
70 atomic() noexcept = default; // until C++20
71 constexpr atomic() noexcept(is_nothrow_default_constructible_v<T>); // since C++20
72 constexpr atomic(T desr) noexcept;
73 atomic(const atomic&) = delete;
74 atomic& operator=(const atomic&) = delete;
75 atomic& operator=(const atomic&) volatile = delete;
113 struct atomic<integral>
122 atomic() noexcept = default;
[all …]
H A Dversion34 __cpp_lib_atomic_flag_test 201907L <atomic>
35 __cpp_lib_atomic_float 201711L <atomic>
36 __cpp_lib_atomic_is_always_lock_free 201603L <atomic>
37 __cpp_lib_atomic_lock_free_type_aliases 201907L <atomic>
38 __cpp_lib_atomic_min_max 202403L <atomic>
39 __cpp_lib_atomic_ref 201806L <atomic>
40 __cpp_lib_atomic_shared_ptr 201711L <atomic>
41 __cpp_lib_atomic_value_initialization 201911L <atomic> <memory>
42 __cpp_lib_atomic_wait 201907L <atomic>
55 __cpp_lib_char8_t 201907L <atomic> <filesystem> <istream>
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrAtomics.td40 "memory.atomic.notify \t$dst, ${off}(${addr})${p2align}, $count",
41 "memory.atomic.notify \t${off}${p2align}", 0x00, false>;
46 "memory.atomic.notify \t$dst, ${off}(${addr})${p2align}, $count",
47 "memory.atomic.notify \t${off}${p2align}", 0x00, true>;
54 "memory.atomic.wait32 \t$dst, ${off}(${addr})${p2align}, $exp, $timeout",
55 "memory.atomic.wait32 \t${off}${p2align}", 0x01, false>;
61 "memory.atomic.wait32 \t$dst, ${off}(${addr})${p2align}, $exp, $timeout",
62 "memory.atomic.wait32 \t${off}${p2align}", 0x01, true>;
68 "memory.atomic.wait64 \t$dst, ${off}(${addr})${p2align}, $exp, $timeout",
69 "memory.atomic.wait64 \t${off}${p2align}", 0x02, false>;
[all …]
/freebsd/sys/dev/qat/qat_api/common/utils/
H A Dlac_lock_free_stack.h12 uint64_t atomic; member
41 old_top.atomic = stack->top.atomic; in pop()
48 } while (!__sync_bool_compare_and_swap(&stack->top.atomic, in pop()
49 old_top.atomic, in pop()
50 new_top.atomic)); in pop()
62 old_top.atomic = stack->top.atomic; in push()
66 } while (!__sync_bool_compare_and_swap(&stack->top.atomic, in push()
67 old_top.atomic, in push()
68 new_top.atomic)); in push()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/
H A DStdSpecialSymbolMap.inc282 // Only add headers for the generic atomic template.
284 SYMBOL(atomic, std::, <atomic>)
286 SYMBOL(atomic_bool, std::, <atomic>)
287 SYMBOL(atomic_bool, None, <atomic>)
289 SYMBOL(atomic_char, std::, <atomic>)
290 SYMBOL(atomic_char, None, <atomic>)
292 SYMBOL(atomic_char16_t, std::, <atomic>)
293 SYMBOL(atomic_char16_t, None, <atomic>)
295 SYMBOL(atomic_char32_t, std::, <atomic>)
296 SYMBOL(atomic_char32_t, None, <atomic>)
[all …]
/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Dprng.h67 prng_lg_range_u32(atomic_u32_t * state,unsigned lg_range,bool atomic) prng_lg_range_u32() argument
104 prng_lg_range_zu(atomic_zu_t * state,unsigned lg_range,bool atomic) prng_lg_range_zu() argument
132 prng_range_u32(atomic_u32_t * state,uint32_t range,bool atomic) prng_range_u32() argument
168 prng_range_zu(atomic_zu_t * state,size_t range,bool atomic) prng_range_zu() argument
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DTimer.h33 std::atomic<uint64_t> m_nanos;
34 std::atomic<uint64_t> m_nanos_total;
35 std::atomic<uint64_t> m_count;
36 std::atomic<Category *> m_next;
71 static std::atomic<bool> g_quiet;
72 static std::atomic<unsigned> g_display_depth;
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_x86_64.cpp164 reinterpret_cast<std::atomic<uint16_t> *>(Address), MovR10Seq, in patchFunctionEntry()
168 reinterpret_cast<std::atomic<uint16_t> *>(Address), Jmp9Seq, in patchFunctionEntry()
213 reinterpret_cast<std::atomic<uint16_t> *>(Address), MovR10Seq, in patchFunctionExit()
217 reinterpret_cast<std::atomic<uint8_t> *>(Address), RetOpCode, in patchFunctionExit()
244 reinterpret_cast<std::atomic<uint16_t> *>(Address), MovR10Seq, in patchFunctionTailExit()
248 reinterpret_cast<std::atomic<uint16_t> *>(Address), Jmp9Seq, in patchFunctionTailExit()
273 reinterpret_cast<std::atomic<uint16_t> *>(Address), NopwSeq, in patchCustomEvent()
277 reinterpret_cast<std::atomic<uint16_t> *>(Address), Jmp15Seq, in patchCustomEvent()
305 reinterpret_cast<std::atomic<uint16_t> *>(Address), NopwSeq, in patchTypedEvent()
309 reinterpret_cast<std::atomic<uint16_t> *>(Address), Jmp20Seq, in patchTypedEvent()
H A Dxray_AArch64.cpp78 reinterpret_cast<std::atomic<uint32_t> *>(FirstAddress), in patchSled()
82 reinterpret_cast<std::atomic<uint32_t> *>(FirstAddress), in patchSled()
129 reinterpret_cast<std::atomic<uint32_t> *>(Sled.address()), Inst, in patchCustomEvent()
140 reinterpret_cast<std::atomic<uint32_t> *>(Sled.address()), Inst, in patchTypedEvent()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DArrayList.h111 std::atomic<ItemsGroup *> Next = nullptr;
117 std::atomic<size_t> ItemsCount = 0;
131 bool allocateNewGroup(std::atomic<ItemsGroup *> &AtomicGroup) { in allocateNewGroup()
158 std::atomic<ItemsGroup *> GroupsHead = nullptr;
159 std::atomic<ItemsGroup *> LastGroup = nullptr;
H A DDWARFLinkerCompileUnit.h142 std::atomic<bool> &HasNewInterconnectedCUs);
178 std::atomic<uint16_t> Flags = {0};
316 return reinterpret_cast<std::atomic<uint64_t> *>(&OutDieOffsetArray[Idx]) in getDieOutOffset()
323 return reinterpret_cast<std::atomic<TypeEntry *> *>(&TypeEntries[Idx]) in getDieTypeEntry()
330 return reinterpret_cast<std::atomic<uint64_t> *>( in getDieOutOffset()
338 return reinterpret_cast<std::atomic<TypeEntry *> *>( in getDieTypeEntry()
346 reinterpret_cast<std::atomic<uint64_t> *>(&OutDieOffsetArray[Idx]) in rememberDieOutOffset()
353 reinterpret_cast<std::atomic<TypeEntry *> *>(&TypeEntries[Idx]) in setDieTypeEntry()
361 reinterpret_cast<std::atomic<TypeEntry *> *>( in setDieTypeEntry()
717 std::atomic<Stage> Stage;
H A DTypePool.h27 using TypeEntry = StringMapEntry<std::atomic<TypeEntryBody *>>;
59 std::atomic<DIE *> Die = {nullptr};
62 std::atomic<DIE *> DeclarationDie = {nullptr};
65 std::atomic<bool> ParentIsDeclaration = {true};
H A DDWARFLinkerImpl.h197 std::atomic<bool> HasNewInterconnectedCUs = {false};
199 std::atomic<bool> HasNewGlobalDependency = {false};
202 std::atomic<size_t> &UniqueUnitID;
206 std::atomic<size_t> &UniqueUnitID);
340 std::atomic<size_t> UniqueUnitID;
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_wait_release.h110 std::atomic<bool> *sleepLoc;
117 kmp_flag(std::atomic<bool> *sloc)
156 kmp_flag_native(volatile PtrType *p, PtrType c, std::atomic<bool> *sloc)
237 std::atomic<PtrType> *loc; /**< Pointer to flag location to wait on */
242 kmp_flag_atomic(std::atomic<PtrType> *p) : kmp_flag<FlagType>(), loc(p) {}
243 kmp_flag_atomic(std::atomic<PtrType> *p, kmp_info_t *thr)
247 kmp_flag_atomic(std::atomic<PtrType> *p, PtrType c)
249 kmp_flag_atomic(std::atomic<PtrType> *p, PtrType c, std::atomic<bool> *sloc)
252 std::atomic<PtrType> *get() { return loc; }
256 void set(std::atomic<PtrType> *new_loc) { loc = new_loc; }
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__stop_token/
H A Datomic_unique_lock.h34 std::atomic<_State>& __state_;
38 _LIBCPP_HIDE_FROM_ABI explicit __atomic_unique_lock(std::atomic<_State>& __state) noexcept in __atomic_unique_lock()
44 …_LIBCPP_HIDE_FROM_ABI __atomic_unique_lock(std::atomic<_State>& __state, _Pred&& __give_up_locking… in __atomic_unique_lock()
51 std::atomic<_State>& __state, in __atomic_unique_lock()
H A Dstop_state.h36 atomic<bool> __completed_ = false;
54 atomic<uint32_t> __state_ = 0;
59 atomic<uint32_t> __ref_count_ = 0;
227 _LIBCPP_HIDE_FROM_ABI static atomic<uint32_t>& __get_atomic_ref_count(__stop_state& __state) {
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DProgress.h124 static std::atomic<uint64_t> g_id;
147 std::atomic<uint64_t> m_completed = 0;
150 std::atomic<uint64_t> m_last_report_time_ns;
/freebsd/crypto/openssl/doc/man3/
H A DCRYPTO_THREAD_run_once.pod94 result of the operation in I<*ret>. I<lock> will be locked, unless atomic
97 be the only way that the variable is modified. If atomic operations are not
103 result of the operation in I<*ret>. I<lock> will be locked, unless atomic
106 be the only way that the variable is modified. If atomic operations are not
111 CRYPTO_atomic_and() performs an atomic bitwise and of I<op> and I<*val> and stores
113 I<*ret>. I<lock> will be locked, unless atomic operations are supported on the
116 be the only way that the variable is modified. If atomic operations are not
121 CRYPTO_atomic_or() performs an atomic bitwise or of I<op> and I<*val> and stores
123 I<*ret>. I<lock> will be locked, unless atomic operations are supported on the
126 be the only way that the variable is modified. If atomic operations are not
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicsBPF.td44 llvm_i8_ty, // atomic order
54 ImmArg <ArgIndex<2>>, // atomic order
64 llvm_i8_ty, // atomic order
74 ImmArg <ArgIndex<3>>, // atomic order
/freebsd/sys/dev/cxgbe/
H A Doffload.h38 #define INIT_ULPTX_WRH(w, wrlen, atomic, tid) do { \ argument
39 (w)->wr_hi = htonl(V_FW_WR_OP(FW_ULPTX_WR) | V_FW_WR_ATOMIC(atomic)); \
45 #define INIT_ULPTX_WR(w, wrlen, atomic, tid) \ argument
46 INIT_ULPTX_WRH(&((w)->wr), wrlen, atomic, tid)

12345678910>>...16