/linux-master/arch/sparc/include/asm/ |
H A D | futex_32.h | 4 #include <asm-generic/futex.h>
|
H A D | futex_64.h | 5 #include <linux/futex.h>
|
/linux-master/tools/perf/scripts/python/bin/ |
H A D | futex-contention-report | 4 perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/futex-contention.py
|
/linux-master/tools/testing/selftests/futex/functional/ |
H A D | futex_wait.c | 5 * 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 D | Makefile | 1 TEST_GEN_PROGS := timens timerfd timer clock_nanosleep procfs exec futex vfork_exec
|
/linux-master/tools/testing/selftests/futex/include/ |
H A D | futextest.h | 7 * 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 D | futex_bench.c | 12 #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 D | futex_val3.c | 2 #include <linux/futex.h>
|
/linux-master/arch/sh/include/asm/ |
H A D | futex.h | 5 #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 D | futex.h | 5 #include <linux/futex.h>
|
/linux-master/tools/perf/bench/ |
H A D | futex-lock-pi.c | 20 #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 D | futex-hash.c | 5 * 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 D | restart_block.h | 37 } futex; member in union:restart_block::__anon604
|
H A D | futex.h | 8 #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 D | waitwake.c | 8 #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 D | futex.h | 7 #include <asm-generic/futex.h> 10 #include <linux/futex.h>
|
/linux-master/arch/xtensa/include/asm/ |
H A D | futex.h | 3 * Atomic futex routines 15 #include <linux/futex.h> 21 #include <asm-generic/futex.h>
|
/linux-master/io_uring/ |
H A D | Makefile | 13 obj-$(CONFIG_FUTEX) += futex.o
|
/linux-master/arch/mips/include/asm/ |
H A D | futex.h | 13 #include <linux/futex.h> 23 #include <asm-generic/futex.h>
|
/linux-master/arch/openrisc/include/asm/ |
H A D | futex.h | 7 #include <linux/futex.h>
|
/linux-master/arch/microblaze/include/asm/ |
H A D | futex.h | 7 #include <linux/futex.h>
|
/linux-master/arch/alpha/include/asm/ |
H A D | futex.h | 7 #include <linux/futex.h>
|
/linux-master/arch/powerpc/include/asm/ |
H A D | futex.h | 7 #include <linux/futex.h>
|
/linux-master/arch/hexagon/include/asm/ |
H A D | futex.h | 7 #include <linux/futex.h>
|
/linux-master/include/asm-generic/ |
H A D | futex.h | 5 #include <linux/futex.h> 26 * futex value with another constant.
|