Searched refs:xchg (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-current/sys/dev/pms/RefTisa/tisa/sassata/sas/tgt/
H A Dttdglobl.h62 #define TD_XCHG_GET_STATE(xchg) (xchg->state)
63 #define TD_XCHG_SET_STATE(xchg, val) (xchg->state) = (val)
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_atomic_clang.h75 typename T::Type xchg,
81 return __atomic_compare_exchange(&a->val_dont_use, cmp, &xchg, false,
88 typename T::Type xchg,
90 return atomic_compare_exchange_strong(a, cmp, xchg, mo);
74 atomic_compare_exchange_strong(volatile T *a, typename T::Type *cmp, typename T::Type xchg, memory_order mo) argument
86 atomic_compare_exchange_weak(volatile T *a, typename T::Type *cmp, typename T::Type xchg, memory_order mo) argument
H A Dsanitizer_atomic_msvc.h196 uptr xchg,
200 (void*volatile*)&a->val_dont_use, (void*)xchg, (void*)cmpv);
209 u16 xchg,
213 (volatile short*)&a->val_dont_use, (short)xchg, (short)cmpv);
222 u32 xchg,
226 (volatile long*)&a->val_dont_use, (long)xchg, (long)cmpv);
235 u64 xchg,
239 (volatile long long*)&a->val_dont_use, (long long)xchg, (long long)cmpv);
249 typename T::Type xchg,
251 return atomic_compare_exchange_strong(a, cmp, xchg, m
194 atomic_compare_exchange_strong(volatile atomic_uintptr_t *a, uptr *cmp, uptr xchg, memory_order mo) argument
207 atomic_compare_exchange_strong(volatile atomic_uint16_t *a, u16 *cmp, u16 xchg, memory_order mo) argument
220 atomic_compare_exchange_strong(volatile atomic_uint32_t *a, u32 *cmp, u32 xchg, memory_order mo) argument
233 atomic_compare_exchange_strong(volatile atomic_uint64_t *a, u64 *cmp, u64 xchg, memory_order mo) argument
247 atomic_compare_exchange_weak(volatile T *a, typename T::Type *cmp, typename T::Type xchg, memory_order mo) argument
[all...]
H A Dsanitizer_atomic_clang_mips.h67 atomic_uint64_t::Type xchg,
82 ptr->val_dont_use = xchg;
65 atomic_compare_exchange_strong(volatile atomic_uint64_t *ptr, atomic_uint64_t::Type *cmp, atomic_uint64_t::Type xchg, memory_order mo) argument
/freebsd-current/sys/compat/linuxkpi/common/include/asm/
H A Dbarrier.h42 #define smp_store_mb(x, v) do { (void)xchg(&(x), v); } while (0)
H A Datomic.h222 #define xchg(ptr, new) ({ \ macro
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/slog/
H A Dslog_replay_fs_001.ksh185 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/xchg-a bs=1k count=1
186 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/xchg-b bs=1k count=1
187 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/xchg-c bs=1k count=1
188 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/xchg-d bs=1k count=1
190 log_must renameat2 -x /$TESTPOOL/$TESTFS/xchg-{a,b}
191 log_must renameat2 -x /$TESTPOOL/$TESTFS/xchg-{b,c}
192 log_must renameat2 -x /$TESTPOOL/$TESTFS/xchg-{c,a}
194 log_must renameat2 -x /$TESTPOOL/$TESTFS/xchg-{d,d}
/freebsd-current/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_dense_alloc.h133 u64 xchg; local
140 xchg = ptr->next | (cmp & kCounterMask);
141 } while (!atomic_compare_exchange_weak(&freelist_, &cmp, xchg,
161 u64 xchg; local
165 xchg = head_idx | (cmp & kCounterMask) + kCounterInc;
166 } while (!atomic_compare_exchange_weak(&freelist_, &cmp, xchg,
/freebsd-current/crypto/openssl/crypto/perlasm/
H A Dx86asm.pl60 &xchg(&HB(@_),&LB(@_));
62 &xchg(&HB(@_),&LB(@_));
73 sub ::exch { &xchg(@_); }
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_file_os.c52 saved_umask = xchg(&current->fs->umask, 0);
57 (void) xchg(&current->fs->umask, saved_umask);
/freebsd-current/crypto/openssl/crypto/bn/asm/
H A Dvia-mont.pl146 &xchg ("ebp","esp"); # alloca
/freebsd-current/crypto/openssl/crypto/aes/asm/
H A Dvpaes-x86.pl764 &xchg ($base,"esp"); # alloca
788 &xchg ($base,"esp"); # alloca
821 &xchg ($base,"esp"); # alloca
840 &xchg ($base,"esp"); # alloca
861 &xchg ($base,"esp"); # alloca
H A Dvpaes-x86_64.pl907 xchg $key,$len
/freebsd-current/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-condvar.c130 m = xchg(&cvp->cv_mutex, mp);
279 m = xchg(&cvp->cv_mutex, mp);
386 m = xchg(&cvp->cv_mutex, mp);
/freebsd-current/contrib/llvm-project/openmp/runtime/src/
H A Dz_Windows_NT-586_asm.asm257 lock xchg BYTE PTR [ecx], al
278 lock xchg WORD PTR [ecx], ax
299 lock xchg DWORD PTR [ecx], eax
333 lock xchg DWORD PTR [esi], eax
844 lock xchg BYTE PTR [rcx], al
869 lock xchg WORD PTR [rcx], ax
893 lock xchg DWORD PTR [rcx], eax
917 lock xchg QWORD PTR [rcx], rax
1085 lock xchg DWORD PTR [rcx], eax
1112 lock xchg QWOR
[all...]
/freebsd-current/stand/i386/boot2/
H A Dboot1.S318 xchg %ax,%cx # number
340 xchg %bx,%ax # Block count
/freebsd-current/crypto/openssl/crypto/sha/
H A Dsha512.c448 _asm xchg dh, dl
449 _asm xchg ah, al
452 _asm xchg dh, dl
453 _asm xchg ah, al
/freebsd-current/stand/i386/btx/btx/
H A Dbtx.S164 xchg %ax,%cx # as word
167 xchg %ax,%dx # P:DPL:type
169 xchg %ax,%bx # set
980 xchg %bx,6(%bp) # Swap BX, int no
986 xchg %ax,4(%bp) # Swap saved %ax,%bx with
987 xchg %bx,6(%bp) # CS:IP of handler
/freebsd-current/sys/netinet/
H A Dtcp_subr.c1859 #define xchg(a,b,type) { type t; t=a; a=b; b=t; } macro
1865 xchg(ip6->ip6_dst, ip6->ip6_src, struct in6_addr);
1879 xchg(ip->ip_dst.s_addr, ip->ip_src.s_addr, uint32_t);
1890 xchg(nth->th_dport, nth->th_sport, uint16_t);
1907 xchg(ip6->ip6_dst, ip6->ip6_src, struct in6_addr);
1912 xchg(ip->ip_dst.s_addr, ip->ip_src.s_addr, uint32_t);
1924 xchg(nth->th_dport, nth->th_sport, uint16_t);
1925 #undef xchg macro
/freebsd-current/contrib/bionic-x86_64-string/
H A Dssse3-strcmp-slm.S133 xchg %ecx, %eax
134 xchg %rsi, %rdi
1877 xchg %rsi, %rdi /* recover original order according to flag(%r8d) */
/freebsd-current/crypto/openssl/crypto/sha/asm/
H A Dkeccak1600-x86_64.pl311 xchg %rsi,%rdi
/freebsd-current/sys/dev/mlx5/mlx5_core/
H A Dmlx5_health.c275 if (xchg(&dev->state, MLX5_DEVICE_STATE_INTERNAL_ERROR) ==
/freebsd-current/sys/geom/part/
H A Dg_part.c2357 uintptr_t *xchg; local
2363 xchg = arg;
2365 scheme = (void *)(*xchg);
2389 *xchg = error;
/freebsd-current/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp696 KEYWORD(xchg); KEYWORD(nand); KEYWORD(max); KEYWORD(min); KEYWORD(umax);
/freebsd-current/crypto/openssl/crypto/camellia/asm/
H A Dcmll-x86_64.pl828 xchg $key,$keyend

Completed in 224 milliseconds

12