Home
last modified time | relevance | path

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

12345678910>>...23

/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/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
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;
76 constexpr atomic(bool __i) noexcept : _M_base(__i) { }
[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
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;
76 constexpr atomic(bool __i) noexcept : _M_base(__i) { }
[all …]
/OK3568_Linux_fs/external/security/librkcrypto/third_party/libdrm/include/
H A Dxf86atomic.h42 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)
63 AO_t atomic; member
[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/kernel/arch/riscv/include/asm/
H A Datomic.h56 void atomic##prefix##_##op(c_type i, atomic##prefix##_t *v) \
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) \
123 return atomic##prefix##_fetch_##op(i, v) c_op I; \
247 c_t atomic##prefix##_xchg_relaxed(atomic##prefix##_t *v, c_t n) \
[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-atomics.sh11 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
H A Dgen-atomic-long.sh6 . ${ATOMICDIR}/atomic-tbl.sh
13 local atomic="$1"; shift
17 printf "($(gen_param_type "${arg}" "${int}" "${atomic}"))"
24 local atomic="$1"; shift
27 local cast="$(gen_cast "$1" "${int}" "${atomic}")"
40 local atomic="$1"; shift
45 local argscast="$(gen_args_cast "${int}" "${atomic}" "$@")"
52 ${retstmt}${atomic}_${name}(${argscast});
H A Dgen-atomic-instrumented.sh6 . ${ATOMICDIR}/atomic-tbl.sh
48 local atomic="$1"; shift
54 local atomicname="arch_${atomic}_${pfx}${name}${sfx}${order}"
80 local atomic="$1"; shift
83 local atomicname="${atomic}_${pfx}${name}${sfx}${order}"
85 local guard="$(gen_guard "${meta}" "${atomic}" "${pfx}" "${name}" "${sfx}" "${order}")"
88 local params="$(gen_params "${int}" "${atomic}" "$@")"
145 * This file provides wrappers with KASAN instrumentation for atomic operations.
H A Dgen-atomic-fallback.sh7 . ${ATOMICDIR}/atomic-tbl.sh
19 local atomic="$1"; shift
22 local atomicname="${arch}${atomic}_${pfx}${name}${sfx}${order}"
26 local params="$(gen_params "${int}" "${atomic}" "$@")"
69 local atomic="$2"
71 local basename="${arch}${atomic}_${pfx}${name}${sfx}"
84 local atomic="$2"
86 local basename="${arch}${atomic}_${pfx}${name}${sfx}"
131 printf "#endif /* ${arch}${atomic}_${pfx}${name}${sfx} */\n\n"
H A Datomic-tbl.sh98 local atomic="$1"; shift
103 v) type="${atomic}_t *";;
104 cv) type="const ${atomic}_t *";;
115 local atomic="$1"; shift
117 local type="$(gen_param_type "${arg}" "${int}" "${atomic}")"
126 local atomic="$1"; shift
129 gen_param "$1" "${int}" "${atomic}"
/OK3568_Linux_fs/kernel/net/rds/
H A Drdma.c873 || 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()
893 rm->atomic.op_m_cswp.swap = args->cswp.swap; in rds_cmsg_atomic()
[all …]
/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/lib/
H A Ddec_and_lock.c21 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()
H A Datomic64_test.c22 atomic##bit##_set(&v, v0); \
24 atomic##bit##_##op(val, &v); \
26 WARN(atomic##bit##_read(&v) != r, "%Lx != %Lx\n", \
27 (unsigned long long)atomic##bit##_read(&v), \
46 atomic##bit##_set(&v, v0); \
49 BUG_ON(atomic##bit##_##op(val, &v) != r); \
50 BUG_ON(atomic##bit##_read(&v) != r); \
55 atomic##bit##_set(&v, v0); \
58 BUG_ON(atomic##bit##_##op(val, &v) != v0); \
59 BUG_ON(atomic##bit##_read(&v) != r); \
[all …]
/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/buildroot/package/oracle-mysql/
H A D0000-ac_cache_check.patch21 - AC_MSG_CHECKING(whether GCC atomic builtins are available)
22 + AC_CACHE_CHECK([whether GCC atomic builtins are available],
35 - [GCC atomic builtins are available])
47 + [GCC atomic builtins are available])
50 - AC_MSG_CHECKING(whether pthread_t can be used by GCC atomic builtins)
51 + AC_CACHE_CHECK([whether pthread_t can be used by GCC atomic builtins],
64 - [pthread_t can be used by GCC atomic builtins])
76 + [pthread_t can be used by GCC atomic builtins])
79 AC_MSG_CHECKING(whether Solaris libc atomic functions are available)
85 - AC_MSG_CHECKING(whether pthread_t can be used by Solaris libc atomic functions)
[all …]
/OK3568_Linux_fs/kernel/Documentation/
H A Datomic_bitops.txt5 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/scripts/atomic/fallbacks/
H A Dfetch_add_unless3 * ${arch}${atomic}_fetch_add_unless - add unless the number is already a given value
4 * @v: pointer of type ${atomic}_t
12 ${arch}${atomic}_fetch_add_unless(${atomic}_t *v, ${int} a, ${int} u)
14 ${int} c = ${arch}${atomic}_read(v);
19 } while (!${arch}${atomic}_try_cmpxchg(v, &c, c + a));
H A Dinc_and_test3 * ${arch}${atomic}_inc_and_test - increment and test
4 * @v: pointer of type ${atomic}_t
11 ${arch}${atomic}_inc_and_test(${atomic}_t *v)
13 return ${arch}${atomic}_inc_return(v) == 0;
/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
/OK3568_Linux_fs/kernel/sound/synth/emux/
H A Demux_oss.c27 void *private, int atomic, int hop);
30 int cmd, unsigned char *event, int atomic, int hop);
32 int cmd, unsigned char *event, int atomic, int hop);
34 int ch, int param, int val, int atomic, int hop);
288 int atomic, int hop) in snd_emux_event_oss_input() argument
301 return snd_emux_event_input(ev, direct, private_data, atomic, hop); in snd_emux_event_oss_input()
309 emuspec_control(emu, p, cmd, data, atomic, hop); in snd_emux_event_oss_input()
311 gusspec_control(emu, p, cmd, data, atomic, hop); in snd_emux_event_oss_input()
321 unsigned char *event, int atomic, int hop) in emuspec_control() argument
361 fake_event(emu, port, voice, MIDI_CTL_ALL_NOTES_OFF, 0, atomic, hop); in emuspec_control()
[all …]

12345678910>>...23