Home
last modified time | relevance | path

Searched refs:__volatile__ (Results 1 – 25 of 92) sorted by relevance

1234

/freebsd-12.1/sys/contrib/octeon-sdk/
H A Dcvmx-atomic.h242 __asm__ __volatile__( in cvmx_atomic_compare_and_store32_nosync()
300 __asm__ __volatile__( in cvmx_atomic_compare_and_store64_nosync()
364 __asm__ __volatile__( in cvmx_atomic_fetch_and_add64_nosync()
370 __asm__ __volatile__( in cvmx_atomic_fetch_and_add64_nosync()
376 __asm__ __volatile__( in cvmx_atomic_fetch_and_add64_nosync()
449 __asm__ __volatile__( in cvmx_atomic_fetch_and_add32_nosync()
455 __asm__ __volatile__( in cvmx_atomic_fetch_and_add32_nosync()
527 __asm__ __volatile__( in cvmx_atomic_fetch_and_bset64_nosync()
560 __asm__ __volatile__( in cvmx_atomic_fetch_and_bset32_nosync()
593 __asm__ __volatile__( in cvmx_atomic_fetch_and_bclr64_nosync()
[all …]
H A Dcvmx-spinlock.h138 __asm__ __volatile__( in cvmx_spinlock_trylock()
164 __asm__ __volatile__( in cvmx_spinlock_lock()
202 __asm__ __volatile__( in cvmx_spinlock_bit_lock()
235 __asm__ __volatile__( in cvmx_spinlock_bit_trylock()
334 __asm__ __volatile__( in _int_cvmx_spinlock_rec_unlock()
396 __asm__ __volatile__( in _int_cvmx_spinlock_rec_lock()
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_atomic_clang_x86.h21 __asm__ __volatile__("" ::: "memory"); in proc_yield()
23 __asm__ __volatile__("pause"); in proc_yield()
24 __asm__ __volatile__("" ::: "memory"); in proc_yield()
42 __asm__ __volatile__("" ::: "memory"); in atomic_load()
44 __asm__ __volatile__("" ::: "memory"); in atomic_load()
46 __asm__ __volatile__("" ::: "memory"); in atomic_load()
49 __asm__ __volatile__("" ::: "memory"); in atomic_load()
52 __asm__ __volatile__("" ::: "memory"); in atomic_load()
54 __asm__ __volatile__("" ::: "memory"); in atomic_load()
58 __asm__ __volatile__( in atomic_load()
[all …]
H A Dsanitizer_atomic_clang_other.h22 __asm__ __volatile__("" ::: "memory"); in proc_yield()
40 __asm__ __volatile__("" ::: "memory"); in atomic_load()
42 __asm__ __volatile__("" ::: "memory"); in atomic_load()
44 __asm__ __volatile__("" ::: "memory"); in atomic_load()
76 __asm__ __volatile__("" ::: "memory"); in atomic_store()
/freebsd-12.1/sys/i386/include/xen/
H A Dsynch_bitops.h15 __asm__ __volatile__ ( in synch_set_bit()
22 __asm__ __volatile__ ( in synch_clear_bit()
29 __asm__ __volatile__ ( in synch_change_bit()
37 __asm__ __volatile__ ( in synch_test_and_set_bit()
46 __asm__ __volatile__ ( in synch_test_and_clear_bit()
56 __asm__ __volatile__ ( in synch_test_and_change_bit()
78 __asm__ __volatile__("lock; cmpxchgb %b1,%2" in __synch_cmpxchg()
85 __asm__ __volatile__("lock; cmpxchgw %w1,%2" in __synch_cmpxchg()
100 __asm__ __volatile__("lock; cmpxchgq %1,%2" in __synch_cmpxchg()
108 __asm__ __volatile__("lock; cmpxchgl %1,%2" in __synch_cmpxchg()
[all …]
/freebsd-12.1/sys/amd64/include/xen/
H A Dsynch_bitops.h15 __asm__ __volatile__ ( in synch_set_bit()
22 __asm__ __volatile__ ( in synch_clear_bit()
29 __asm__ __volatile__ ( in synch_change_bit()
37 __asm__ __volatile__ ( in synch_test_and_set_bit()
46 __asm__ __volatile__ ( in synch_test_and_clear_bit()
56 __asm__ __volatile__ ( in synch_test_and_change_bit()
78 __asm__ __volatile__("lock; cmpxchgb %b1,%2" in __synch_cmpxchg()
85 __asm__ __volatile__("lock; cmpxchgw %w1,%2" in __synch_cmpxchg()
92 __asm__ __volatile__("lock; cmpxchgl %k1,%2" in __synch_cmpxchg()
99 __asm__ __volatile__("lock; cmpxchgq %1,%2" in __synch_cmpxchg()
[all …]
/freebsd-12.1/sys/mips/nlm/hal/
H A Dmips-extns.h42 __asm__ __volatile__ ( in nlm_swapw()
61 __asm__ __volatile__ ( in nlm_swapwu()
81 __asm__ __volatile__ ( in nlm_swapd()
103 __asm__ __volatile__( in nlm_ldaddwu()
123 __asm__ __volatile__( \
133 __asm__ __volatile__( \
147 __asm__ __volatile__( \
157 __asm__ __volatile__( \
171 __asm__ __volatile__( \
188 __asm__ __volatile__( \
H A Dhaldefs.h113 __asm__ __volatile__( in nlm_load_dword()
138 __asm__ __volatile__( in nlm_store_dword()
193 __asm__ __volatile__( in nlm_load_word_daddr()
207 __asm__ __volatile__( in nlm_store_word_daddr()
221 __asm__ __volatile__( in nlm_load_dword_daddr()
234 __asm__ __volatile__( in nlm_store_dword_daddr()
253 __asm__ __volatile__( in nlm_load_word_daddr()
280 __asm__ __volatile__( in nlm_store_word_daddr()
304 __asm__ __volatile__( in nlm_load_dword_daddr()
335 __asm__ __volatile__( in nlm_store_dword_daddr()
H A Dmmu.h44 __asm__ __volatile__ ( in nlm_read_c0_config6()
57 __asm__ __volatile__ ( in nlm_write_c0_config6()
70 __asm__ __volatile__ ( in nlm_read_c0_config7()
83 __asm__ __volatile__ ( in nlm_write_c0_config7()
/freebsd-12.1/sys/contrib/ck/include/gcc/ppc64/
H A Dck_pr.h57 __asm__ __volatile__("or 1, 1, 1;" in ck_pr_stall()
157 __asm__ __volatile__("1:" in ck_pr_cas_64_value()
179 __asm__ __volatile__("1:" in ck_pr_cas_ptr_value()
201 __asm__ __volatile__("1:" in ck_pr_cas_64()
222 __asm__ __volatile__("1:" in ck_pr_cas_ptr()
243 __asm__ __volatile__("1:" \
262 __asm__ __volatile__("1:" \
288 __asm__ __volatile__("1:" \ in CK_PR_CAS()
315 __asm__ __volatile__("1:" \
350 __asm__ __volatile__("1:" \
[all …]
/freebsd-12.1/sys/contrib/ncsw/Peripherals/QM/
H A Dqman_private.h61 __asm__ __volatile__ ("dcbf 0, %0" : : "r" (addr)); \
67 __asm__ __volatile__ ("dcbt 0, %0" : : "r" (addr)); \
72 __asm__ __volatile__ ("dcbtst 0, %0" : : "r" (addr)); \
77 __asm__ __volatile__ ("dcbzl 0,%0" : : "r" (p)); \
101 __asm__ __volatile__ ("dcbt 0,%0" : : "r" (p)); \
106 __asm__ __volatile__ ("dcbtst 0,%0" : : "r" (p)); \
110 __asm__ __volatile__ ("dcbz 0,%0" : : "r" (p)); \
/freebsd-12.1/sys/contrib/ck/include/gcc/sparcv9/
H A Dck_pr.h55 __asm__ __volatile__("membar #LoadLoad" ::: "memory"); in ck_pr_stall()
63 __asm__ __volatile__(I ::: "memory"); \
93 __asm__ __volatile__(I " [%1], %0" \
117 __asm__ __volatile__(I " %0, [%1]" \
158 __asm__ __volatile__(CK_PR_INS_CASX " [%1] " CK_PR_ASI_ATOMIC ", %2, %0" in ck_pr_cas_64_value()
172 __asm__ __volatile__(CK_PR_INS_CASX " [%1] " CK_PR_ASI_ATOMIC ", %2, %0" in ck_pr_cas_64()
199 __asm__ __volatile__(CK_PR_INS_CAS " [%1] " CK_PR_ASI_ATOMIC ", %2, %0" \
210 __asm__ __volatile__(CK_PR_INS_CAS " [%1] " CK_PR_ASI_ATOMIC ", %2, %0" \
229 __asm__ __volatile__(CK_PR_INS_SWAP " [%1] " CK_PR_ASI_ATOMIC ", %0" \
/freebsd-12.1/contrib/libstdc++/config/cpu/sparc/
H A Datomicity.h43 __asm__ __volatile__("1: ldx [%3], %0\n\t" in _GLIBCXX_BEGIN_NAMESPACE()
61 __asm__ __volatile__("1: ldx [%3], %0\n\t" in __atomic_add()
90 __asm__ __volatile__("1: ldstub [%1], %0\n\t"
99 __asm__ __volatile__("stb %%g0, [%0]"
112 __asm__ __volatile__("1: ldstub [%1], %0\n\t"
120 __asm__ __volatile__("stb %%g0, [%0]"
/freebsd-12.1/contrib/libstdc++/config/cpu/m68k/
H A Datomicity.h44 __asm__ __volatile__ ("1: move%.l %0,%1\n\t" in _GLIBCXX_BEGIN_NAMESPACE()
62 __asm__ __volatile__ ("move%.w %%sr,%0\n\tor%.l %0,%1\n\tmove%.w %1,%%sr"
67 __asm__ __volatile__ ("move%.w %0,%%sr" : : "d"(__level));
93 __asm__ __volatile__("1: bset.b #7,%0@\n\tjbne 1b"
100 __asm__ __volatile__("1: tas %0\n\tjbne 1b"
109 __asm__ __volatile__("1: bset.b #7,%0\n\tjbne 1b"
/freebsd-12.1/sys/contrib/ncsw/Peripherals/BM/
H A Dbman_private.h60 __asm__ __volatile__ ("dcbf 0, %0" : : "r" (addr)); \
66 __asm__ __volatile__ ("dcbt 0, %0" : : "r" (addr)); \
71 __asm__ __volatile__ ("dcbtst 0, %0" : : "r" (addr)); \
76 __asm__ __volatile__ ("dcbzl 0,%0" : : "r" (p)); \
100 __asm__ __volatile__ ("dcbt 0,%0" : : "r" (p)); \
105 __asm__ __volatile__ ("dcbz 0,%0" : : "r" (p)); \
/freebsd-12.1/sys/contrib/ck/include/gcc/x86_64/
H A Dck_pr.h67 __asm__ __volatile__("pause" ::: "memory"); in ck_pr_stall()
75 __asm__ __volatile__(I ::: "memory"); \
128 __asm__ __volatile__("prefetchw (%0)" in ck_pr_rfo()
144 __asm__ __volatile__(I " %0, %1" \
178 __asm__ __volatile__(I " %1, %0" \
206 __asm__ __volatile__("movq %%rdx, %%rcx;" in ck_pr_load_64_2()
249 __asm__ __volatile__(I " %1, %0" \
260 __asm__ __volatile__(I " %1, %0" \
293 __asm__ __volatile__(CK_PR_LOCK_PREFIX I " %1, %0" \
327 __asm__ __volatile__(CK_PR_LOCK_PREFIX I " %0" \
[all …]
H A Dck_pr_rtm.h69 __asm__ __volatile__(".byte 0xc7,0xf8;" in ck_pr_rtm_begin()
82 __asm__ __volatile__(".byte 0x0f,0x01,0xd5" ::: "memory"); in ck_pr_rtm_end()
90 __asm__ __volatile__(".byte 0xc6,0xf8,%P0" :: "i" (status) : "memory"); in ck_pr_rtm_abort()
99 __asm__ __volatile__(".byte 0x0f,0x01,0xd6;" in ck_pr_rtm_test()
/freebsd-12.1/sys/contrib/ck/include/gcc/ppc/
H A Dck_pr.h58 __asm__ __volatile__("or 1, 1, 1;" in ck_pr_stall()
67 __asm__ __volatile__(I ::: "memory"); \
101 __asm__ __volatile__(I "%U1%X1 %0, %1" \ in CK_PR_FENCE()
127 __asm__ __volatile__(I "%U0%X0 %1, %0" \
154 __asm__ __volatile__("1:" \
173 __asm__ __volatile__("1:" \
202 __asm__ __volatile__("1:" \
225 __asm__ __volatile__("1:" \
259 __asm__ __volatile__("1:" \
296 __asm__ __volatile__("1:"
[all …]
/freebsd-12.1/sys/contrib/ck/include/gcc/arm/
H A Dck_pr.h217 __asm__ __volatile__("1:" \
261 __asm__ __volatile__("1:" \
302 __asm__ __volatile__("1:" in ck_pr_cas_ptr_value()
323 __asm__ __volatile__("1:" in ck_pr_cas_ptr()
344 __asm__ __volatile__("1:" \
368 __asm__ __volatile__("1:" \
401 __asm__ __volatile__("1:" \
432 __asm__ __volatile__("1:" \
473 __asm__ __volatile__("1:" \
516 __asm__ __volatile__("1:" in ck_pr_faa_ptr()
[all …]
/freebsd-12.1/sys/contrib/ck/include/gcc/x86/
H A Dck_pr.h55 __asm__ __volatile__("pause" ::: "memory"); in ck_pr_stall()
65 __asm__ __volatile__("" ::: "memory"); \
74 __asm__ __volatile__(I ::: "memory"); \
115 __asm__ __volatile__(I " %0, %1" \
142 __asm__ __volatile__(I " %1, %0" \
167 __asm__ __volatile__(I " %1, %0" \
195 __asm__ __volatile__(CK_PR_LOCK_PREFIX I " %1, %0" \
228 __asm__ __volatile__(CK_PR_LOCK_PREFIX I " %0" \
240 __asm__ __volatile__(CK_PR_LOCK_PREFIX I " %0; setz %1" \
281 __asm__ __volatile__(CK_PR_LOCK_PREFIX I " %1, %0" \
[all …]
/freebsd-12.1/stand/mips/beri/common/
H A Dmips.h100 __asm__ __volatile__ ("lb %0, 0(%1)" : "=r" (v) : "r" (vaddr)); in mips_ioread_uint8()
108 __asm__ __volatile__ ("sb %0, 0(%1)" : : "r" (v), "r" (vaddr)); in mips_iowrite_uint8()
116 __asm__ __volatile__ ("lw %0, 0(%1)" : "=r" (v) : "r" (vaddr)); in mips_ioread_uint32()
124 __asm__ __volatile__ ("sw %0, 0(%1)" : : "r" (v), "r" (vaddr)); in mips_iowrite_uint32()
152 __asm__ __volatile__ ("dmfc0 %0, $9" : "=r" (count)); in cp0_count_get()
/freebsd-12.1/sys/contrib/ck/include/gcc/aarch64/
H A Dck_pr_lse.h46 __asm__ __volatile__("casp %0, %1, %4, %5, [%6];" in ck_pr_cas_64_2_value()
77 __asm__ __volatile__("casp %0, %1, %2, %3, [%4];" in ck_pr_cas_64_2()
101 __asm__ __volatile__( \
113 __asm__ __volatile__( \
146 __asm__ __volatile__( \
172 __asm__ __volatile__(I ";" \
207 __asm__ __volatile__(I ";" \
249 __asm__ __volatile__( in ck_pr_faa_ptr()
264 __asm__ __volatile__( in ck_pr_faa_64()
279 __asm__ __volatile__( \
H A Dck_pr_llsc.h40 __asm__ __volatile__("1:" in ck_pr_cas_64_2_value()
74 __asm__ __volatile__("1:" in ck_pr_cas_64_2()
106 __asm__ __volatile__("1:" \
127 __asm__ __volatile__( \
169 __asm__ __volatile__("1:" \
200 __asm__ __volatile__("1:" \
241 __asm__ __volatile__("1:" \
288 __asm__ __volatile__("1:" in ck_pr_faa_ptr()
308 __asm__ __volatile__("1:" in ck_pr_faa_64()
328 __asm__ __volatile__("1:" \
/freebsd-12.1/contrib/libstdc++/config/cpu/hppa/
H A Datomicity.h57 __asm__ __volatile__ ("ldcw 0(%1),%0\n\t" in __exchange_and_add()
69 __asm__ __volatile__ ("stw %1,0(%0)" in __exchange_and_add()
81 __asm__ __volatile__ ("ldcw 0(%1),%0\n\t" in __atomic_add()
92 __asm__ __volatile__ ("stw %1,0(%0)" in __atomic_add()
/freebsd-12.1/tools/regression/tls/ttls3/
H A Dtls-test-lib.c40 __asm__ __volatile__ ( \
51 __asm__ __volatile__ ( \
62 __asm__ __volatile__ ( \
75 __asm__ __volatile__ ( \

1234