/third_party/ltp/testcases/kernel/syscalls/futex/ |
D | futextest.h | 68 static inline int futex_syscall(enum futex_fn_type fntype, futex_t *uaddr, in futex_syscall() argument 72 int (*func)(int *uaddr, int futex_op, int val, void *to, int *uaddr2, int val3); in futex_syscall() 79 return func((int *)uaddr, futex_op | opflags, val, timeout, (int *)uaddr2, val3); in futex_syscall() 87 futex_wait(enum futex_fn_type fntype, futex_t *uaddr, futex_t val, in futex_wait() argument 90 return futex_syscall(fntype, uaddr, FUTEX_WAIT, val, in futex_wait() 99 futex_wake(enum futex_fn_type fntype, futex_t *uaddr, int nr_wake, int opflags) in futex_wake() argument 101 return futex_syscall(fntype, uaddr, FUTEX_WAKE, nr_wake, NULL, NULL, 0, in futex_wake() 110 futex_wait_bitset(enum futex_fn_type fntype, futex_t *uaddr, futex_t val, in futex_wait_bitset() argument 113 return futex_syscall(fntype, uaddr, FUTEX_WAIT_BITSET, val, in futex_wait_bitset() 122 futex_wake_bitset(enum futex_fn_type fntype, futex_t *uaddr, int nr_wake, in futex_wake_bitset() argument [all …]
|
D | futex_waitv01.c | 36 waitv->uaddr = (uintptr_t)futex; in init_waitv() 62 waitv->uaddr = 1; in test_unaligned_address() 75 waitv->uaddr = 0x00000000; in test_null_address() 120 waitv->uaddr = (uintptr_t)futex; in test_mismatch_between_uaddr_and_val() 134 waitv->uaddr = (uintptr_t)futex; in test_timeout()
|
D | futex_waitv03.c | 50 waitv[i].uaddr = (uintptr_t)SAFE_SHMAT(shmids[i], NULL, 0); in setup() 65 if (!waitv[i].uaddr) in cleanup() 68 SAFE_SHMDT((void *)(uintptr_t)waitv[i].uaddr); in cleanup() 78 (void *)(uintptr_t)waitv[numfutex - 1].uaddr, in threaded()
|
D | futex_waitv02.c | 47 waitv[i].uaddr = (uintptr_t)&futexes[i]; in setup() 58 (void *)(uintptr_t)waitv[numfutex - 1].uaddr, in threaded()
|
/third_party/ltp/testcases/cve/ |
D | cve-2017-2671.c | 46 static struct sockaddr_in iaddr, uaddr; variable 52 uaddr = iaddr; in setup() 54 uaddr.sin_family = AF_UNSPEC; in setup() 85 connect(sockfd, (struct sockaddr *)&uaddr, sizeof(uaddr)); in connect_b() 100 connect(sockfd, (struct sockaddr *)&uaddr, sizeof(uaddr)); in run()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/thread/ |
D | syscalls.rs | 220 uaddr: *mut u32, in futex() 232 uaddr, in futex() 243 futex_old(uaddr, op, flags, val, utime, uaddr2, val3) in futex() 252 uaddr, in futex() 263 uaddr: *mut u32, in futex_old() 277 uaddr, in futex_old()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | iapp.c | 381 struct sockaddr_in *paddr, uaddr; in iapp_init() local 444 os_memset(&uaddr, 0, sizeof(uaddr)); in iapp_init() 445 uaddr.sin_family = AF_INET; in iapp_init() 446 uaddr.sin_port = htons(IAPP_UDP_PORT); in iapp_init() 459 if (bind(iapp->udp_sock, (struct sockaddr *) &uaddr, in iapp_init() 460 sizeof(uaddr)) < 0) { in iapp_init()
|
/third_party/mesa3d/src/util/ |
D | futex.h | 77 void *uaddr = NULL, *uaddr2 = NULL; in futex_wait() local 87 uaddr = (void *)(uintptr_t)sizeof(tmo); in futex_wait() 91 return _umtx_op(addr, UMTX_OP_WAIT_UINT, (uint32_t)value, uaddr, uaddr2) == -1 ? errno : 0; in futex_wait()
|
/third_party/rust/crates/rustix/src/thread/ |
D | futex.rs | 29 uaddr: *mut u32, in futex() 37 backend::thread::syscalls::futex(uaddr, op, flags, val, utime, uaddr2, val3) in futex()
|
/third_party/ltp/testcases/kernel/fs/scsi/ltpfs/ |
D | LtpfsCmds.c | 90 unsigned long uaddr; in ltpdev_ioctl() local 158 (char *)uaddr = kmalloc(TEST_MEM_SIZE, GFP_KERNEL); in ltpdev_ioctl() 160 my_bio_copy = bio_map_user(bdev, uaddr, TEST_MEM_SIZE, FALSE); in ltpdev_ioctl()
|
/third_party/FreeBSD/stand/usb/ |
D | usb_busdma_loader.c | 168 copyin(const void *uaddr, void *kaddr, size_t len) in copyin() argument 170 size_t ret = LOS_ArchCopyFromUser(kaddr, uaddr, len); in copyin() 175 copyout(const void *kaddr, void *uaddr, size_t len) in copyout() argument 177 size_t ret = LOS_ArchCopyToUser(uaddr, kaddr, len); in copyout()
|
/third_party/ltp/include/ |
D | tst_timer.h | 262 static inline int sys_futex(int *uaddr, int futex_op, int val, void *to, in sys_futex() argument 265 return tst_syscall(__NR_futex, uaddr, futex_op, val, to, uaddr2, val3); in sys_futex() 268 static inline int sys_futex_time64(int *uaddr, int futex_op, int val, void *to, in sys_futex_time64() argument 271 return tst_syscall(__NR_futex_time64, uaddr, futex_op, val, to, uaddr2, val3); in sys_futex_time64()
|
/third_party/ltp/include/lapi/ |
D | futex.h | 191 uint64_t uaddr; member
|
/third_party/FreeBSD/sys/dev/usb/ |
D | usb_generic.c | 941 void *uaddr = NULL; /* userland pointer */ in ugen_fs_copy_in() local 979 error = copyin(fs_ep.ppBuffer, &uaddr, sizeof(void *)); in ugen_fs_copy_in() 999 error = copyin(uaddr, req, length); in ugen_fs_copy_in() 1073 error = copyin(fs_ep.ppBuffer + n, &uaddr, sizeof(void *)); in ugen_fs_copy_in() 1090 error = copyin(uaddr, kaddr, length); in ugen_fs_copy_in() 1147 void *uaddr = NULL; /* userland ptr */ in ugen_fs_copy_out() local 1242 error = copyin(fs_ep.ppBuffer + n, &uaddr, sizeof(void *)); in ugen_fs_copy_out() 1256 error = copyout(kaddr, uaddr, length); in ugen_fs_copy_out()
|
D | usbdi.h | 613 int copyin(const void *uaddr, void *kaddr, size_t len); 614 int copyout(const void *kaddr, void *uaddr, size_t len);
|
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/openbsd/ |
D | mod.rs | 1885 uaddr: *mut u32, in futex()
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/ |
D | mod.rs | 4391 uaddr: *mut ::c_void, in _umtx_op()
|
/third_party/rust/crates/linux-raw-sys/src/aarch64/ |
D | general.rs | 2656 pub uaddr: __u64, field
|
/third_party/rust/crates/linux-raw-sys/src/riscv64/ |
D | general.rs | 2655 pub uaddr: __u64, field
|
/third_party/rust/crates/linux-raw-sys/src/s390x/ |
D | general.rs | 2708 pub uaddr: __u64, field
|
/third_party/rust/crates/linux-raw-sys/src/x86/ |
D | general.rs | 2769 pub uaddr: __u64, field
|
/third_party/rust/crates/linux-raw-sys/src/powerpc64/ |
D | general.rs | 2771 pub uaddr: __u64, field
|
/third_party/rust/crates/linux-raw-sys/src/mips/ |
D | general.rs | 2904 pub uaddr: __u64, field
|
/third_party/rust/crates/linux-raw-sys/src/powerpc/ |
D | general.rs | 2793 pub uaddr: __u64, field
|
/third_party/rust/crates/linux-raw-sys/src/sparc64/ |
D | general.rs | 2980 pub uaddr: __u64, field
|