Home
last modified time | relevance | path

Searched full:atomic (Results 1 – 25 of 2359) sorted by relevance

12345678910>>...95

/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/
H A Datomic25 /** @file include/atomic
29 // Based on "C++ Atomic Types and Operations" by Hans Boehm and Lawrence Crowl.
57 struct atomic;
59 /// atomic<bool>
62 struct atomic<bool>
70 atomic() noexcept = default;
71 ~atomic() noexcept = default;
72 atomic(const atomic&) = delete;
73 atomic& operator=(const atomic&) = delete;
74 atomic& operator=(const atomic&) volatile = delete;
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/
H A Datomic25 /** @file include/atomic
29 // Based on "C++ Atomic Types and Operations" by Hans Boehm and Lawrence Crowl.
57 struct atomic;
59 /// atomic<bool>
62 struct atomic<bool>
70 atomic() noexcept = default;
71 ~atomic() noexcept = default;
72 atomic(const atomic&) = delete;
73 atomic& operator=(const atomic&) = delete;
74 atomic& operator=(const atomic&) volatile = delete;
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/hdf5/files/
H A DH5Tinit-32.c157 dt->shared->u.atomic.order = H5T_ORDER_LE; in H5TN_init_interface()
158 dt->shared->u.atomic.offset = 0; in H5TN_init_interface()
159 dt->shared->u.atomic.prec = 8; in H5TN_init_interface()
160 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO; in H5TN_init_interface()
161 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO; in H5TN_init_interface()
162 dt->shared->u.atomic.u.i.sign = H5T_SGN_2; in H5TN_init_interface()
178 dt->shared->u.atomic.order = H5T_ORDER_LE; in H5TN_init_interface()
179 dt->shared->u.atomic.offset = 0; in H5TN_init_interface()
180 dt->shared->u.atomic.prec = 8; in H5TN_init_interface()
181 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO; in H5TN_init_interface()
[all …]
H A DH5Tinit-64.c157 dt->shared->u.atomic.order = H5T_ORDER_LE; in H5TN_init_interface()
158 dt->shared->u.atomic.offset = 0; in H5TN_init_interface()
159 dt->shared->u.atomic.prec = 8; in H5TN_init_interface()
160 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO; in H5TN_init_interface()
161 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO; in H5TN_init_interface()
162 dt->shared->u.atomic.u.i.sign = H5T_SGN_2; in H5TN_init_interface()
178 dt->shared->u.atomic.order = H5T_ORDER_LE; in H5TN_init_interface()
179 dt->shared->u.atomic.offset = 0; in H5TN_init_interface()
180 dt->shared->u.atomic.prec = 8; in H5TN_init_interface()
181 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO; in H5TN_init_interface()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/libcxx/include/
H A Datomic2 //===--------------------------- atomic -----------------------------------===//
15 atomic synopsis
94 struct atomic
123 atomic() noexcept = default;
124 constexpr atomic(T desr) noexcept;
125 atomic(const atomic&) = delete;
126 atomic& operator=(const atomic&) = delete;
127 atomic& operator=(const atomic&) volatile = delete;
133 struct atomic<integral>
180 atomic() noexcept = default;
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/libcxx/include/
H A Datomic2 //===--------------------------- atomic -----------------------------------===//
15 atomic synopsis
94 struct atomic
123 atomic() noexcept = default;
124 constexpr atomic(T desr) noexcept;
125 atomic(const atomic&) = delete;
126 atomic& operator=(const atomic&) = delete;
127 atomic& operator=(const atomic&) volatile = delete;
133 struct atomic<integral>
180 atomic() noexcept = default;
[all …]
/OK3568_Linux_fs/external/security/librkcrypto/third_party/libdrm/include/
H A Dxf86atomic.h31 * Private definitions for atomic operations
42 int atomic; member
45 # define atomic_read(x) ((x)->atomic)
46 # define atomic_set(x, val) ((x)->atomic = (val))
47 # define atomic_inc(x) ((void) __sync_fetch_and_add (&(x)->atomic, 1))
48 # define atomic_inc_return(x) (__sync_add_and_fetch (&(x)->atomic, 1))
49 # define atomic_dec_and_test(x) (__sync_add_and_fetch (&(x)->atomic, -1) == 0)
50 # define atomic_add(x, v) ((void) __sync_add_and_fetch(&(x)->atomic, (v)))
51 # define atomic_dec(x, v) ((void) __sync_sub_and_fetch(&(x)->atomic, (v)))
52 # define atomic_cmpxchg(x, oldv, newv) __sync_val_compare_and_swap (&(x)->atomic, oldv, newv)
[all …]
/OK3568_Linux_fs/kernel/arch/mips/include/asm/octeon/
H A Dcvmx-fau.h123 * @reg: FAU atomic register to access. 0 <= reg < 2048.
127 * Returns Address to store for atomic update
139 * @tagwait: Should the atomic add wait for the current tag switch
143 * @reg: FAU atomic register to access. 0 <= reg < 2048.
150 * Returns Address to read from for atomic update
162 * Perform an atomic 64 bit add
164 * @reg: FAU atomic register to access. 0 <= reg < 2048.
177 * Perform an atomic 32 bit add
179 * @reg: FAU atomic register to access. 0 <= reg < 2048.
193 * Perform an atomic 16 bit add
[all …]
/OK3568_Linux_fs/kernel/include/drm/
H A Ddrm_modeset_helper_vtables.h59 * helpers and the new atomic modesetting helpers.
73 * This callback is used by the legacy CRTC helpers. Atomic helpers
75 * facilitate transitions to atomic, but it is deprecated. Instead
88 * This callback is used by the legacy CRTC helpers. Atomic helpers
90 * transitions to atomic, but it is deprecated. Instead @atomic_disable
103 * This callback is used by the legacy CRTC helpers. Atomic helpers
105 * transitions to atomic, but it is deprecated. Instead @atomic_enable
123 * atomic helpers to validate modes supplied by userspace in
130 * Since this function is both called from the check phase of an atomic
155 * This function is used by both legacy CRTC helpers and atomic helpers.
[all …]
H A Ddrm_atomic.h37 * This structure is used to track pending modeset changes and atomic commit on
45 * atomic commit thread hardware
61 * clean up atomic state
68 * drm_atomic_helper_setup_commit() from the atomic helper library.
198 * struct drm_private_state_funcs - atomic state functions for private objects
200 * These hooks are used by atomic helpers to create, swap and destroy states of
203 * added to the atomic states is expected to have an implementation of these
216 * Duplicated atomic state or NULL when obj->state is not
231 * struct drm_private_obj - base struct for driver private atomic object
265 * @state: Current atomic state for this driver private object.
[all …]
H A Ddrm_crtc.h96 * state like @plane_mask so drivers not converted over to atomic helpers should
117 * &drm_mode_config_funcs.atomic_check callback to reject an atomic
126 * @planes_changed: Planes on this crtc are updated. Used by the atomic
127 * helpers and drivers to steer the atomic commit control flow.
132 * @mode_changed: @mode or @enable has been changed. Used by the atomic
133 * helpers and drivers to steer the atomic commit control flow. See also
144 * @active_changed: @active has been toggled. Used by the atomic
145 * helpers and drivers to steer the atomic commit control flow. See also
152 * either in their state or routing. Used by the atomic
153 * helpers and drivers to steer the atomic commit control flow. See also
[all …]
/OK3568_Linux_fs/kernel/Documentation/core-api/
H A Datomic_ops.rst2 Semantics and Behavior of Atomic and Bitmask Operations
8 maintainers on how to implement atomic counter, bitops, and spinlock
11 Atomic Type And Operations
41 The initializer is atomic in that the return values of the atomic operations
62 The setting is atomic in that the return values of the atomic operations by
73 The read is atomic in that the return value is guaranteed to be one of the
180 locks, or atomic operations if variable a can change at runtime!
186 Now, we move onto the atomic operation interfaces typically implemented with
215 and after the atomic operation calls are strongly ordered with respect
216 to the atomic operation itself.
[all …]
/OK3568_Linux_fs/kernel/arch/riscv/include/asm/
H A Datomic.h50 * First, the atomic ops that have no ordering constraints and therefor don't
56 void atomic##prefix##_##op(c_type i, atomic##prefix##_t *v) \
84 * Atomic ops that have ordered, relaxed, acquire, and release variants. in ATOMIC_OPS()
90 c_type atomic##prefix##_fetch_##op##_relaxed(c_type i, \ in ATOMIC_OPS()
91 atomic##prefix##_t *v) \ in ATOMIC_OPS()
102 c_type atomic##prefix##_fetch_##op(c_type i, atomic##prefix##_t *v) \
115 c_type atomic##prefix##_##op##_return_relaxed(c_type i, \
116 atomic##prefix##_t *v) \
118 return atomic##prefix##_fetch_##op##_relaxed(i, v) c_op I; \
121 c_type atomic##prefix##_##op##_return(c_type i, atomic##prefix##_t *v) \
[all …]
/OK3568_Linux_fs/buildroot/package/boost/
H A D0002-math-allow-definition-of-boost_math_no_atomic_int-on-the-command-line.patch5 line. Allows us to test/emulate platforms with no atomic integers.
13 boost/math/tools/atomic.hpp | 10 +++++-----
16 diff --git a/boost/math/tools/atomic.hpp b/boost/math/tools/atomic.hpp
18 --- a/boost/math/tools/atomic.hpp
19 +++ b/boost/math/tools/atomic.hpp
26 typedef std::atomic<int> atomic_counter_type;
27 typedef std::atomic<unsigned> atomic_unsigned_type;
32 typedef std::atomic<short> atomic_counter_type;
33 typedef std::atomic<unsigned short> atomic_unsigned_type;
38 typedef std::atomic<long> atomic_unsigned_integer_type;
[all …]
/OK3568_Linux_fs/kernel/scripts/atomic/
H A Dgen-atomic-instrumented.sh6 . ${ATOMICDIR}/atomic-tbl.sh
25 # An atomic RMW: if this parameter is not a constant, and this atomic is
44 # gen_guard(meta, atomic, pfx, name, sfx, order)
48 local atomic="$1"; shift
54 local atomicname="arch_${atomic}_${pfx}${name}${sfx}${order}"
58 # We definitely need a preprocessor symbol for this atomic if it is an
72 #gen_proto_order_variant(meta, pfx, name, sfx, order, atomic, int, arg...)
80 local atomic="$1"; shift
83 local atomicname="${atomic}_${pfx}${name}${sfx}${order}"
85 local guard="$(gen_guard "${meta}" "${atomic}" "${pfx}" "${name}" "${sfx}" "${order}")"
[all …]
H A Dgen-atomic-long.sh6 . ${ATOMICDIR}/atomic-tbl.sh
8 #gen_cast(arg, int, atomic)
13 local atomic="$1"; shift
17 printf "($(gen_param_type "${arg}" "${int}" "${atomic}"))"
20 #gen_args_cast(int, atomic, arg...)
24 local atomic="$1"; shift
27 local cast="$(gen_cast "$1" "${int}" "${atomic}")"
35 #gen_proto_order_variant(meta, pfx, name, sfx, order, atomic, int, arg...)
40 local atomic="$1"; shift
45 local argscast="$(gen_args_cast "${int}" "${atomic}" "$@")"
[all …]
H A Dgen-atomics.sh4 # Generate atomic headers
11 gen-atomic-instrumented.sh asm-generic/atomic-instrumented.h
12 gen-atomic-long.sh asm-generic/atomic-long.h
13 gen-atomic-fallback.sh linux/atomic-arch-fallback.h arch_
14 gen-atomic-fallback.sh linux/atomic-fallback.h
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-dbs/rocksdb/files/
H A D0001-cmake-Add-check-for-atomic-support.patch4 Subject: [PATCH] cmake: Add check for atomic support
7 provide the needed atomic instrinsics, this helps build on certain
38 + set(SYSTEM_LIBS ${SYSTEM_LIBS} atomic)
46 +# Checks if atomic operations are supported natively or if linking against
58 +#include <atomic>
59 +std::atomic<int> x;
71 +#include <atomic>
73 +std::atomic<uint64_t> x (0);
74 +std::atomic<double> y (0);
87 + check_library_exists(atomic __atomic_fetch_add_4 "" HAVE_LIBATOMIC)
[all …]
/OK3568_Linux_fs/kernel/Documentation/
H A Datomic_t.txt2 On atomic types (atomic_t atomic64_t and atomic_long_t).
4 The atomic type provides an interface to the architecture's means of atomic
5 RMW operations between CPUs (atomic operations on MMIO are not supported and
20 RMW atomic operations:
67 Therefore, an explicitly unsigned variant of the atomic ops is strictly
91 C Atomic-RMW-ops-are-atomic-WRT-atomic_set
118 The obvious case where this is not so is when we need to implement atomic ops
155 All these operations are SMP atomic; that is, the operations (for a single
156 atomic variable) can be fully ordered and no intermediate state is lost or
192 only apply to the RMW atomic ops and can be used to augment/upgrade the
[all …]
H A Datomic_bitops.txt2 Atomic bitops
5 While our bitmap_{}() functions are non-atomic, we have a number of operations
6 operating on single bits in a bitmap that are atomic.
18 RMW atomic operations without return value:
23 RMW atomic operations with return value:
33 All RMW atomic operations have a '__' prefixed variant which is non-atomic.
39 Non-atomic ops:
69 Since a platform only has a single means of achieving atomic operations
/OK3568_Linux_fs/kernel/lib/
H A Ddec_and_lock.c4 #include <linux/atomic.h>
12 * if (atomic_dec_and_test(&atomic)) {
19 * "atomic".
21 int _atomic_dec_and_lock(atomic_t *atomic, spinlock_t *lock) in _atomic_dec_and_lock() argument
24 if (atomic_add_unless(atomic, -1, 1)) in _atomic_dec_and_lock()
29 if (atomic_dec_and_test(atomic)) in _atomic_dec_and_lock()
37 int _atomic_dec_and_lock_irqsave(atomic_t *atomic, spinlock_t *lock, in _atomic_dec_and_lock_irqsave() argument
41 if (atomic_add_unless(atomic, -1, 1)) in _atomic_dec_and_lock_irqsave()
46 if (atomic_dec_and_test(atomic)) in _atomic_dec_and_lock_irqsave()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/
H A D0013-adb-Support-riscv64.patch7 include/cutils/atomic-inline.h | 2 +
8 include/cutils/atomic-riscv64.h | 156 ++++++++++++++++++++++++++++++++
10 create mode 100644 include/cutils/atomic-riscv64.h
12 diff --git a/include/cutils/atomic-inline.h b/include/cutils/atomic-inline.h
14 --- a/include/cutils/atomic-inline.h
15 +++ b/include/cutils/atomic-inline.h
17 #include <cutils/atomic-mips64.h>
19 #include <cutils/atomic-mips.h>
21 +#include <cutils/atomic-riscv64.h>
23 #error atomic operations are unsupported
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_atomic.c58 * @state: atomic state
74 * drm_atomic_state_init - init new atomic state
76 * @state: atomic state
78 * Default implementation for filling in a new atomic state.
103 DRM_DEBUG_ATOMIC("Allocated atomic state %p\n", state); in drm_atomic_state_init()
113 * drm_atomic_state_alloc - allocate atomic state
116 * This allocates an empty atomic state to track updates.
141 * drm_atomic_state_default_clear - clear base atomic state
142 * @state: atomic state
144 * Default implementation for clearing atomic state.
[all …]
/OK3568_Linux_fs/kernel/net/rds/
H A Drdma.c863 * Fill in rds_message for an atomic request.
873 || rm->atomic.op_active) in rds_cmsg_atomic()
881 rm->atomic.op_type = RDS_ATOMIC_TYPE_FADD; in rds_cmsg_atomic()
882 rm->atomic.op_m_fadd.add = args->fadd.add; in rds_cmsg_atomic()
883 rm->atomic.op_m_fadd.nocarry_mask = 0; in rds_cmsg_atomic()
886 rm->atomic.op_type = RDS_ATOMIC_TYPE_FADD; in rds_cmsg_atomic()
887 rm->atomic.op_m_fadd.add = args->m_fadd.add; in rds_cmsg_atomic()
888 rm->atomic.op_m_fadd.nocarry_mask = args->m_fadd.nocarry_mask; in rds_cmsg_atomic()
891 rm->atomic.op_type = RDS_ATOMIC_TYPE_CSWP; in rds_cmsg_atomic()
892 rm->atomic.op_m_cswp.compare = args->cswp.compare; in rds_cmsg_atomic()
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-support/db/db/
H A D0001-atomic-Rename-local-__atomic_compare_exchange-to-avo.patch4 Subject: [PATCH] atomic: Rename local __atomic_compare_exchange to avoid clash
11 ../db-5.3.28/src/dbinc/atomic.h:179:19: error: definition of builtin function '__atomic_compare_exc…
18 src/dbinc/atomic.h | 4 ++--
21 diff --git a/src/dbinc/atomic.h b/src/dbinc/atomic.h
23 --- a/src/dbinc/atomic.h
24 +++ b/src/dbinc/atomic.h
35 * http://gcc.gnu.org/onlinedocs/gcc-4.1.0/gcc/Atomic-Builtins.html

12345678910>>...95