/linux-master/arch/s390/include/asm/ |
H A D | futex.h | 6 #include <linux/futex.h>
|
/linux-master/arch/loongarch/include/asm/ |
H A D | futex.h | 8 #include <linux/futex.h>
|
/linux-master/tools/perf/trace/beauty/ |
H A D | futex_op.c | 2 #include <linux/futex.h>
|
/linux-master/tools/testing/selftests/futex/include/ |
H A D | logging.h | 7 * Glibc independent futex library for testing kernel functionality. 23 #include <linux/futex.h>
|
/linux-master/tools/testing/selftests/futex/functional/ |
H A D | futex_wait_uninitialized_heap.c | 10 * 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 D | futex_wait_private_mapped_file.c | 25 #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 D | futex.h | 11 #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 D | futex.c | 6 #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 D | futex.h | 8 #include <linux/futex.h>
|
/linux-master/tools/perf/bench/ |
H A D | futex.h | 3 * 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 D | futex-wake-parallel.c | 32 #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 D | futex.h | 7 #include <linux/futex.h>
|
/linux-master/arch/riscv/include/asm/ |
H A D | futex.h | 10 #include <linux/futex.h>
|
/linux-master/arch/parisc/include/asm/ |
H A D | futex.h | 5 #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 D | futex.h | 7 #include <linux/futex.h>
|
/linux-master/kernel/futex/ |
H A D | futex.h | 5 #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 D | syscalls.c | 6 #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 D | fork.c | 14 #include <linux/futex.h>
|
H A D | context_switch.c | 25 #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 D | uaccess.c | 14 #include <asm/futex.h> 237 * futex value with another constant.
|
/linux-master/kernel/ |
H A D | Makefile | 60 obj-$(CONFIG_FUTEX) += futex/
|
H A D | sys_ni.c | 81 COND_SYSCALL(futex); variable
|
/linux-master/tools/testing/selftests/ |
H A D | Makefile | 37 TARGETS += futex
|
/linux-master/tools/testing/selftests/x86/ |
H A D | fsgsbase.c | 22 #include <linux/futex.h>
|
/linux-master/tools/testing/selftests/powerpc/mm/ |
H A D | tlbie_test.c | 27 #include <linux/futex.h>
|