Searched refs:futex (Results 1 - 25 of 54) sorted by relevance

123

/linux-master/arch/sparc/include/asm/
H A Dfutex_32.h4 #include <asm-generic/futex.h>
H A Dfutex_64.h5 #include <linux/futex.h>
/linux-master/tools/perf/scripts/python/bin/
H A Dfutex-contention-report4 perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/futex-contention.py
/linux-master/tools/testing/selftests/futex/functional/
H A Dfutex_wait.c5 * futex cmp requeue test by Andr�� Almeida <andrealmeid@collabora.com>
15 #define TEST_NAME "futex-wait"
20 void *futex; variable
42 if (futex_wait(futex, 0, &to, flags))
56 futex = &f_private;
79 /* Testing a private futex */
80 info("Calling private futex_wait on futex: %p\n", futex);
86 info("Calling private futex_wake on futex: %p\n", futex);
[all...]
/linux-master/tools/testing/selftests/timens/
H A DMakefile1 TEST_GEN_PROGS := timens timerfd timer clock_nanosleep procfs exec futex vfork_exec
/linux-master/tools/testing/selftests/futex/include/
H A Dfutextest.h7 * Glibc independent futex library for testing kernel functionality.
23 #include <linux/futex.h>
51 * futex() - SYS_futex syscall wrapper
52 * @uaddr: address of first futex
53 * @op: futex op code
57 * @uaddr2: address of second futex for some ops\
61 * futex() is used by all the following futex op wrappers. It can also be
70 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ macro
80 return futex(uadd
[all...]
/linux-master/tools/testing/selftests/powerpc/benchmarks/
H A Dfutex_bench.c12 #include <linux/futex.h>
18 #define futex(A, B, C, D, E, F) syscall(__NR_futex, A, B, C, D, E, F) macro
29 futex(&addr, FUTEX_WAKE, 1, NULL, NULL, 0);
/linux-master/tools/perf/trace/beauty/
H A Dfutex_val3.c2 #include <linux/futex.h>
/linux-master/arch/sh/include/asm/
H A Dfutex.h5 #include <linux/futex.h>
10 #include <asm/futex-irq.h>
12 #include <asm/futex-cas.h>
14 #include <asm/futex-llsc.h>
/linux-master/arch/um/include/asm/
H A Dfutex.h5 #include <linux/futex.h>
/linux-master/tools/perf/bench/
H A Dfutex-lock-pi.c20 #include "futex.h"
29 u_int32_t *futex; member in struct:worker
58 "perf bench futex lock-pi <options>",
97 ret = futex_lock_pi(w->futex, NULL, futex_flag);
102 w->tid, w->futex, ret);
110 ret = futex_unlock_pi(w->futex, futex_flag);
113 w->tid, w->futex, ret);
141 worker[i].futex = calloc(1, sizeof(u_int32_t));
142 if (!worker[i].futex)
145 worker[i].futex
[all...]
H A Dfutex-hash.c5 * futex-hash: Stress the hell out of the Linux kernel futex uaddr hashing.
7 * This program is particularly useful for measuring the kernel's futex hash
30 #include "futex.h"
45 u_int32_t *futex; member in struct:worker
66 "perf bench futex hash <options>",
87 * We want the futex calls to fail in order to stress
92 ret = futex_wait(&w->futex[i], 1234, NULL, futex_flag);
95 warn("Non-expected futex return call");
184 worker[i].futex
[all...]
/linux-master/include/linux/
H A Drestart_block.h37 } futex; member in union:restart_block::__anon604
H A Dfutex.h8 #include <uapi/linux/futex.h>
21 * 00 : Private process futex (PTHREAD_PROCESS_PRIVATE)
23 * 01 : Shared futex (PTHREAD_PROCESS_SHARED)
25 * 10 : Shared futex (PTHREAD_PROCESS_SHARED)
/linux-master/kernel/futex/
H A Dwaitwake.c8 #include "futex.h"
13 * Basic futex operation and ordering guarantees
16 * The waiter reads the futex value in user space and calls
18 * the hash bucket lock. After that it reads the futex user space value
23 * The waker side modifies the user space value of the futex and calls
25 * hash bucket lock. Then it looks for waiters on that futex in the hash
28 * In futex wake up scenarios where no tasks are blocked on a futex, taking
35 * val = *futex;
36 * sys_futex(WAIT, futex, va
[all...]
/linux-master/arch/csky/include/asm/
H A Dfutex.h7 #include <asm-generic/futex.h>
10 #include <linux/futex.h>
/linux-master/arch/xtensa/include/asm/
H A Dfutex.h3 * Atomic futex routines
15 #include <linux/futex.h>
21 #include <asm-generic/futex.h>
/linux-master/io_uring/
H A DMakefile13 obj-$(CONFIG_FUTEX) += futex.o
/linux-master/arch/mips/include/asm/
H A Dfutex.h13 #include <linux/futex.h>
23 #include <asm-generic/futex.h>
/linux-master/arch/openrisc/include/asm/
H A Dfutex.h7 #include <linux/futex.h>
/linux-master/arch/microblaze/include/asm/
H A Dfutex.h7 #include <linux/futex.h>
/linux-master/arch/alpha/include/asm/
H A Dfutex.h7 #include <linux/futex.h>
/linux-master/arch/powerpc/include/asm/
H A Dfutex.h7 #include <linux/futex.h>
/linux-master/arch/hexagon/include/asm/
H A Dfutex.h7 #include <linux/futex.h>
/linux-master/include/asm-generic/
H A Dfutex.h5 #include <linux/futex.h>
26 * futex value with another constant.

Completed in 305 milliseconds

123