Home
last modified time | relevance | path

Searched refs:uaddr (Results 1 – 11 of 11) sorted by relevance

/tools/testing/selftests/futex/include/
Dfutextest.h70 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ argument
71 syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3)
78 futex_wait(futex_t *uaddr, futex_t val, struct timespec *timeout, int opflags) in futex_wait() argument
80 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); in futex_wait()
88 futex_wake(futex_t *uaddr, int nr_wake, int opflags) in futex_wake() argument
90 return futex(uaddr, FUTEX_WAKE, nr_wake, NULL, NULL, 0, opflags); in futex_wake()
98 futex_wait_bitset(futex_t *uaddr, futex_t val, struct timespec *timeout, in futex_wait_bitset() argument
101 return futex(uaddr, FUTEX_WAIT_BITSET, val, timeout, NULL, bitset, in futex_wait_bitset()
110 futex_wake_bitset(futex_t *uaddr, int nr_wake, u_int32_t bitset, int opflags) in futex_wake_bitset() argument
112 return futex(uaddr, FUTEX_WAKE_BITSET, nr_wake, NULL, NULL, bitset, in futex_wake_bitset()
[all …]
/tools/perf/bench/
Dfutex.h49 futex_syscall(volatile u_int32_t *uaddr, int op, u_int32_t val, struct timespec *timeout, in futex_syscall() argument
52 return syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3); in futex_syscall()
56 futex_syscall_nr_requeue(volatile u_int32_t *uaddr, int op, u_int32_t val, int nr_requeue, in futex_syscall_nr_requeue() argument
59 return syscall(SYS_futex, uaddr, op | opflags, val, nr_requeue, uaddr2, val3); in futex_syscall_nr_requeue()
67 futex_wait(u_int32_t *uaddr, u_int32_t val, struct timespec *timeout, int opflags) in futex_wait() argument
69 return futex_syscall(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); in futex_wait()
77 futex_wake(u_int32_t *uaddr, int nr_wake, int opflags) in futex_wake() argument
79 return futex_syscall(uaddr, FUTEX_WAKE, nr_wake, NULL, NULL, 0, opflags); in futex_wake()
86 futex_lock_pi(u_int32_t *uaddr, struct timespec *timeout, int opflags) in futex_lock_pi() argument
88 return futex_syscall(uaddr, FUTEX_LOCK_PI, 0, timeout, NULL, 0, opflags); in futex_lock_pi()
[all …]
/tools/testing/selftests/futex/functional/
Dfutex_waitv.c90 waitv[i].uaddr = (uintptr_t)&futexes[i]; in main()
102 res = futex_wake(u64_to_ptr(waitv[NR_FUTEXES - 1].uaddr), 1, FUTEX_PRIVATE_FLAG); in main()
124 waitv[i].uaddr = (uintptr_t)shared_data; in main()
135 res = futex_wake(u64_to_ptr(waitv[NR_FUTEXES - 1].uaddr), 1, 0); in main()
146 shmdt(u64_to_ptr(waitv[i].uaddr)); in main()
168 waitv[0].uaddr = 1; in main()
186 waitv[0].uaddr = 0x00000000; in main()
Dfutex_wait_wouldblock.c47 .uaddr = (uintptr_t)&f1, in main()
Dfutex_wait_timeout.c109 .uaddr = (uintptr_t)&f1, in main()
/tools/testing/selftests/bpf/progs/
Dsocket_cookie_prog.c80 struct sockaddr *uaddr, int addr_len, int flags) in BPF_PROG() argument
84 if (uaddr->sa_family != AF_INET6) in BPF_PROG()
Dcgrp_ls_attach_cgroup.c84 struct sockaddr *uaddr, int addr_len, int flags) in BPF_PROG() argument
88 if (uaddr->sa_family != AF_INET6) in BPF_PROG()
/tools/perf/scripts/python/
Dfutex-contention.py30 nr, uaddr, op, val, utime, uaddr2, val3): argument
36 thread_thislock[tid] = uaddr
/tools/perf/trace/beauty/include/linux/
Dsocket.h390 extern int move_addr_to_kernel(void __user *uaddr, int ulen, struct sockaddr_storage *kaddr);
422 struct sockaddr __user *uaddr,
429 struct sockaddr __user **uaddr,
/tools/perf/util/
Djitdump.c429 uintptr_t uaddr; in jit_repipe_code_load() local
467 uaddr = (uintptr_t)code; in jit_repipe_code_load()
468 …ret = jit_emit_elf(jd, filename, sym, addr, (const void *)uaddr, csize, jd->debug_data, jd->nr_deb… in jit_repipe_code_load()
/tools/include/uapi/linux/
Dkvm.h1934 __u64 uaddr; member
1949 __u64 uaddr; member
1967 __u64 uaddr; member