Searched refs:futex (Results 26 - 50 of 54) sorted by relevance

123

/linux-master/arch/s390/include/asm/
H A Dfutex.h6 #include <linux/futex.h>
/linux-master/arch/loongarch/include/asm/
H A Dfutex.h8 #include <linux/futex.h>
/linux-master/tools/perf/trace/beauty/
H A Dfutex_op.c2 #include <linux/futex.h>
/linux-master/tools/testing/selftests/futex/include/
H A Dlogging.h7 * Glibc independent futex library for testing kernel functionality.
23 #include <linux/futex.h>
/linux-master/tools/testing/selftests/futex/functional/
H A Dfutex_wait_uninitialized_heap.c10 * futex.
29 #include <linux/futex.h>
35 #define TEST_NAME "futex-wait-uninitialized-heap"
60 error("futex failure\n", errno);
100 ksft_print_msg("%s: Test the uninitialized futex value in FUTEX_WAIT\n",
H A Dfutex_wait_private_mapped_file.c25 #include <linux/futex.h>
33 #define TEST_NAME "futex-wait-private-mapped-file"
56 info("futex wait\n");
59 error("futex error.\n", errno);
99 "%s: Test the futex value of private file mappings in FUTEX_WAIT\n",
/linux-master/arch/arc/include/asm/
H A Dfutex.h11 #include <linux/futex.h>
82 preempt_disable(); /* to guarantee atomic r-m-w of futex op */
117 * cmpxchg of futex (pagefaults disabled by caller)
131 preempt_disable(); /* to guarantee atomic r-m-w of futex op */
/linux-master/tools/testing/selftests/timens/
H A Dfutex.c6 #include <linux/futex.h>
38 ksft_test_result_fail("futex didn't return ETIMEDOUT\n");
43 ksft_test_result_fail("futex didn't return ETIMEDOUT: %s\n",
52 ksft_test_result_fail("futex slept less than 100ms\n");
57 ksft_test_result_pass("futex with the %d clockid\n", clockid);
/linux-master/arch/arm64/include/asm/
H A Dfutex.h8 #include <linux/futex.h>
/linux-master/tools/perf/bench/
H A Dfutex.h3 * Glibc independent futex library for testing kernel functionality.
14 #include <linux/futex.h>
32 * @uaddr: address of first futex
33 * @op: futex op code
37 * @uaddr2: address of second futex for some ops
41 * futex_syscall() is used by all the following futex op wrappers. It can also be
115 * @uaddr: non-PI futex source
116 * @uaddr2: PI futex target
131 * @uaddr: non-PI futex source
132 * @uaddr2: PI futex targe
[all...]
H A Dfutex-wake-parallel.c32 #include "futex.h"
48 /* all threads will block on the same futex -- hash bucket chaos ;) */
49 static u_int32_t futex = 0; variable
73 "perf bench futex wake-parallel <options>",
86 waker->nwoken = futex_wake(&futex, nwakes, futex_flag);
140 if (futex_wait(&futex, 0, NULL, futex_flag) != EINTR)
295 "futex %p), %d threads waking up %d at a time.\n\n",
297 &futex, params.nwakes, nwakes);
/linux-master/arch/x86/include/asm/
H A Dfutex.h7 #include <linux/futex.h>
/linux-master/arch/riscv/include/asm/
H A Dfutex.h10 #include <linux/futex.h>
/linux-master/arch/parisc/include/asm/
H A Dfutex.h5 #include <linux/futex.h>
11 * 256 four-word locks. We use bits 20-27 of the futex virtual
105 * address of the futex. This should scale to a couple
/linux-master/arch/arm/include/asm/
H A Dfutex.h7 #include <linux/futex.h>
/linux-master/kernel/futex/
H A Dfutex.h5 #include <linux/futex.h>
14 #include <asm/futex.h>
113 * waiting on a futex.
146 * struct futex_q - The hashed futex queue entry, one per waiting task
147 * @list: priority-sorted list of tasks waiting on this futex
148 * @task: the task waiting on the futex
152 * @key: the key the futex is hashed on
155 * @requeue_pi_key: the requeue_pi target futex key
206 * futex_match - Check whether two futex keys are equal
H A Dsyscalls.c6 #include "futex.h"
24 * sys_set_robust_list() - Set the robust-futex list head of a task
43 * sys_get_robust_list() - Get the robust-futex list head of a task
160 SYSCALL_DEFINE6(futex, u32 __user *, uaddr, int, op, u32, val,
187 * @wake: Wake to call when futex is woken
285 * same event, and if more than one futex was woken, the retrned index may
286 * refer to any one of them. (It is not necessaryily the futex with the
329 * @uaddr: Address of the futex(es) to wake
358 * sys_futex_wait - Wait on a futex
359 * @uaddr: Address of the futex t
[all...]
/linux-master/tools/testing/selftests/powerpc/benchmarks/
H A Dfork.c14 #include <linux/futex.h>
H A Dcontext_switch.c25 #include <linux/futex.h>
404 fprintf(stderr, "\t\t--test=X\tpipe, futex or yield (default)\n");
445 } else if (!strcmp(optarg, "futex")) {
482 printf("futex");
/linux-master/arch/um/kernel/skas/
H A Duaccess.c14 #include <asm/futex.h>
237 * futex value with another constant.
/linux-master/kernel/
H A DMakefile60 obj-$(CONFIG_FUTEX) += futex/
H A Dsys_ni.c81 COND_SYSCALL(futex); variable
/linux-master/tools/testing/selftests/
H A DMakefile37 TARGETS += futex
/linux-master/tools/testing/selftests/x86/
H A Dfsgsbase.c22 #include <linux/futex.h>
/linux-master/tools/testing/selftests/powerpc/mm/
H A Dtlbie_test.c27 #include <linux/futex.h>

Completed in 325 milliseconds

123