Searched refs:atomic (Results 1 - 25 of 467) sorted by relevance

1234567891011>>

/freebsd-current/cddl/contrib/opensolaris/head/
H A Datomic.h32 #include <sys/atomic.h>
/freebsd-current/sys/compat/linuxkpi/common/include/linux/
H A Datomic.h30 #include <asm/atomic.h>
32 #include <asm/atomic-long.h>
/freebsd-current/contrib/llvm-project/libcxx/include/__atomic/
H A Daliases.h12 #include <__atomic/atomic.h>
29 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<lon
[all...]
H A Datomic.h36 struct atomic : public __atomic_base<_Tp> { struct in inherits:__atomic_base
42 _LIBCPP_HIDE_FROM_ABI atomic() = default;
44 _LIBCPP_HIDE_FROM_ABI atomic() _NOEXCEPT = default;
47 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR atomic(_Tp __d) _NOEXCEPT : __base(__d) {}
58 atomic& operator=(const atomic&) = delete;
59 atomic& operator=(const atomic&) volatile = delete;
62 // atomic<T*>
65 struct atomic<_T
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A DBuryPointer.cpp11 #include <atomic>
23 static std::atomic<unsigned> GraveYardSize;
/freebsd-current/sys/dev/qat/qat_api/common/utils/
H A Dlac_lock_free_stack.h12 uint64_t atomic; member in union:__anon4284
41 old_top.atomic = stack->top.atomic;
48 } while (!__sync_bool_compare_and_swap(&stack->top.atomic,
49 old_top.atomic,
50 new_top.atomic));
62 old_top.atomic = stack->top.atomic;
66 } while (!__sync_bool_compare_and_swap(&stack->top.atomic,
67 old_top.atomic,
[all...]
/freebsd-current/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-atomic.c26 #include <sys/atomic.h>
29 /* Global atomic lock declarations */
/freebsd-current/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_trampoline_powerpc64.cpp1 #include <atomic>
6 extern std::atomic<void (*)(int32_t, XRayEntryType)> XRayPatchedFunction;
H A Dxray_AArch64.cpp17 #include <atomic>
55 // Replacement of the first 4-byte instruction should be the last and atomic
78 reinterpret_cast<std::atomic<uint32_t> *>(FirstAddress),
82 reinterpret_cast<std::atomic<uint32_t> *>(FirstAddress),
124 reinterpret_cast<std::atomic<uint32_t> *>(Sled.address()), Inst,
135 reinterpret_cast<std::atomic<uint32_t> *>(Sled.address()), Inst,
H A Dxray_x86_64.cpp16 #include <atomic>
143 // 4. Do an atomic write over the jmp instruction for the "mov r10d"
161 reinterpret_cast<std::atomic<uint16_t> *>(Address), MovR10Seq,
165 reinterpret_cast<std::atomic<uint16_t> *>(Address), Jmp9Seq,
189 // 4. Do an atomic write over the jmp instruction for the "mov r10d"
208 reinterpret_cast<std::atomic<uint16_t> *>(Address), MovR10Seq,
212 reinterpret_cast<std::atomic<uint8_t> *>(Address), RetOpCode,
238 reinterpret_cast<std::atomic<uint16_t> *>(Address), MovR10Seq,
242 reinterpret_cast<std::atomic<uint16_t> *>(Address), Jmp9Seq,
267 reinterpret_cast<std::atomic<uint16_
[all...]
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Utility/
H A DTimer.h14 #include <atomic>
33 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-current/contrib/jemalloc/include/jemalloc/internal/
H A Dprng.h4 #include "jemalloc/internal/atomic.h"
62 * 2**lg_range). If atomic is true, they do so safely from multiple threads.
67 prng_lg_range_u32(atomic_u32_t *state, unsigned lg_range, bool atomic) { argument
75 if (atomic) {
104 prng_lg_range_zu(atomic_zu_t *state, unsigned lg_range, bool atomic) { argument
112 if (atomic) {
132 prng_range_u32(atomic_u32_t *state, uint32_t range, bool atomic) { argument
143 ret = prng_lg_range_u32(state, lg_range, atomic);
168 prng_range_zu(atomic_zu_t *state, size_t range, bool atomic) { argument
179 ret = prng_lg_range_zu(state, lg_range, atomic);
[all...]
/freebsd-current/sys/compat/linuxkpi/common/include/asm/
H A Dbarrier.h32 #include <machine/atomic.h>
34 #include <asm/atomic.h>
/freebsd-current/contrib/googletest/googletest/test/
H A Dgtest_xml_outfile2_test_.cc33 #include <atomic>
75 std::atomic<int> atomic_int_prop(10);
/freebsd-current/contrib/llvm-project/compiler-rt/lib/orc/
H A Ddebug.h16 #include <atomic>
22 extern std::atomic<const char *> DebugTypes;
/freebsd-current/sbin/hastd/
H A Drefcnt.h31 #include <machine/atomic.h>
/freebsd-current/sys/sys/
H A D_blockcount.h34 #include <machine/atomic.h>
/freebsd-current/contrib/llvm-project/lld/include/lld/Common/
H A DTimer.h15 #include <atomic>
52 std::atomic<std::chrono::nanoseconds::rep> total;
/freebsd-current/contrib/llvm-project/lldb/source/Utility/
H A DLLDBAssert.cpp19 #include <atomic>
31 static std::atomic<LLDBAssertCallback> g_lldb_assert_callback =
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Core/
H A DProgress.h14 #include <atomic>
98 static std::atomic<uint64_t> g_id;
H A DThreadedCommunication.h16 #include <atomic>
235 std::atomic<bool> m_read_thread_enabled;
240 std::atomic<bool> m_read_thread_did_exit;
/freebsd-current/contrib/netbsd-tests/lib/libc/sync/
H A Dcpp_atomic_ops_linkable.cc33 * This is a simple link-time test to verify all builtin atomic sync
34 * operations for C++ <atomic> are available.
37 #include <atomic>
45 m_val.exchange(std::atomic<T>(8));
58 volatile std::atomic<T> m_val;
/freebsd-current/contrib/llvm-project/libcxx/include/__stop_token/
H A Datomic_unique_lock.h15 #include <atomic>
26 // It uses std::atomic<State>,
34 std::atomic<_State>& __state_;
38 _LIBCPP_HIDE_FROM_ABI explicit __atomic_unique_lock(std::atomic<_State>& __state) noexcept
44 _LIBCPP_HIDE_FROM_ABI __atomic_unique_lock(std::atomic<_State>& __state, _Pred&& __give_up_locking) noexcept
51 std::atomic<_State>& __state,
95 // At this stage, until we exit the inner while loop, other than the atomic state, we are not reading any order
123 // Some use cases need to set other bits at the same time as an atomic
/freebsd-current/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DArrayList.h13 #include <atomic>
111 std::atomic<ItemsGroup *> Next = nullptr;
117 std::atomic<size_t> ItemsCount = 0;
131 bool allocateNewGroup(std::atomic<ItemsGroup *> &AtomicGroup) {
158 std::atomic<ItemsGroup *> GroupsHead = nullptr;
159 std::atomic<ItemsGroup *> LastGroup = nullptr;
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/
H A DManagedStatic.h16 #include <atomic>
52 mutable std::atomic<void *> Ptr{};
58 mutable std::atomic<void *> Ptr;

Completed in 205 milliseconds

1234567891011>>