Searched refs:xchg (Results 1 – 9 of 9) sorted by relevance
/tools/testing/selftests/powerpc/benchmarks/ |
D | context_switch.c | 274 static unsigned long xchg(unsigned long *p, unsigned long val) in xchg() function 293 c = xchg(m, 2); in mutex_lock() 297 c = xchg(m, 2); in mutex_lock() 311 else if (xchg(m, 0) == 1) in mutex_unlock()
|
/tools/testing/selftests/bpf/progs/ |
D | atomics.c | 143 int BPF_PROG(xchg, int a) in BPF_PROG() argument
|
/tools/testing/selftests/sgx/ |
D | test_encl_bootstrap.S | 47 xchg %rsp, %rax
|
/tools/testing/selftests/bpf/prog_tests/ |
D | atomics.c | 196 prog_fd = skel->progs.xchg.prog_fd; in test_xchg()
|
/tools/memory-model/ |
D | linux-kernel.def | 30 xchg(X,V) __xchg{mb}(X,V)
|
/tools/memory-model/Documentation/ |
D | access-marking.txt | 453 ret = xchg(&foo, newval); 497 ret = xchg(&foo, newval); 528 return xchg(&foo, newval); 559 return xchg(&foo, newval);
|
D | ordering.txt | 86 cmpxchg(), and xchg(). Note that conditional RMW atomic operations such
|
D | explanation.txt | 305 Atomic read-modify-write accesses, such as atomic_inc() or xchg(),
|
/tools/perf/Documentation/ |
D | perf-config.txt | 313 │ │ xchg %ax,%ax 321 │ xchg %ax,%ax
|