| /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 D | atomic | 25 /** @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 D | atomic | 25 /** @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 D | H5Tinit-32.c | 157 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 D | H5Tinit-64.c | 157 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 D | atomic | 2 //===--------------------------- 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 D | atomic | 2 //===--------------------------- 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 D | xf86atomic.h | 31 * 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 D | cvmx-fau.h | 123 * @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 D | drm_modeset_helper_vtables.h | 59 * 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 D | drm_atomic.h | 37 * 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 D | drm_crtc.h | 96 * 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 D | atomic_ops.rst | 2 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 D | atomic.h | 50 * 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 D | 0002-math-allow-definition-of-boost_math_no_atomic_int-on-the-command-line.patch | 5 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 D | gen-atomic-instrumented.sh | 6 . ${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 D | gen-atomic-long.sh | 6 . ${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 D | gen-atomics.sh | 4 # 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 D | 0001-cmake-Add-check-for-atomic-support.patch | 4 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 D | atomic_t.txt | 2 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 D | atomic_bitops.txt | 2 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 D | dec_and_lock.c | 4 #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 D | 0013-adb-Support-riscv64.patch | 7 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 D | drm_atomic.c | 58 * @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 D | rdma.c | 863 * 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 D | 0001-atomic-Rename-local-__atomic_compare_exchange-to-avo.patch | 4 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
|