Home
last modified time | relevance | path

Searched refs:xchg (Results 1 – 9 of 9) sorted by relevance

/tools/testing/selftests/powerpc/benchmarks/
Dcontext_switch.c274 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/
Datomics.c143 int BPF_PROG(xchg, int a) in BPF_PROG() argument
/tools/testing/selftests/sgx/
Dtest_encl_bootstrap.S47 xchg %rsp, %rax
/tools/testing/selftests/bpf/prog_tests/
Datomics.c196 prog_fd = skel->progs.xchg.prog_fd; in test_xchg()
/tools/memory-model/
Dlinux-kernel.def30 xchg(X,V) __xchg{mb}(X,V)
/tools/memory-model/Documentation/
Daccess-marking.txt453 ret = xchg(&foo, newval);
497 ret = xchg(&foo, newval);
528 return xchg(&foo, newval);
559 return xchg(&foo, newval);
Dordering.txt86 cmpxchg(), and xchg(). Note that conditional RMW atomic operations such
Dexplanation.txt305 Atomic read-modify-write accesses, such as atomic_inc() or xchg(),
/tools/perf/Documentation/
Dperf-config.txt313 │ │ xchg %ax,%ax
321xchg %ax,%ax