Home
last modified time | relevance | path

Searched refs:ufd (Results 1 – 9 of 9) sorted by relevance

/external/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg01.c74 static int ufd; /* shared between do_child and start_server */ variable
196 maybe_run_child(&do_child, "dd", &sfd, &ufd); in main()
344 close(ufd); in cleanup1()
351 close(ufd); in cleanup2()
389 ufd = socket(PF_UNIX, SOCK_STREAM, 0); in start_server()
390 if (ufd < 0) { in start_server()
394 if (bind(ufd, (struct sockaddr *)ssun, sizeof(*ssun))) { in start_server()
398 if (listen(ufd, 10) < 0) { in start_server()
406 if (self_exec(argv0, "dd", sfd, ufd) < 0) in start_server()
418 (void)close(ufd); in start_server()
[all …]
/external/ltp/testcases/kernel/syscalls/sendmsg/
Dsendmsg01.c66 static int ufd; /* shared between do_child and start_server */ variable
373 maybe_run_child(&do_child, "dd", &sfd, &ufd); in main()
448 ufd = socket(PF_UNIX, SOCK_DGRAM, 0); in start_server()
449 if (ufd < 0) { in start_server()
454 if (bind(ufd, (struct sockaddr *)sun0, sizeof(*sun0))) { in start_server()
463 if (self_exec(argv0, "dd", sfd, ufd) < 0) in start_server()
474 close(ufd); in start_server()
490 FD_SET(ufd, &afds); in do_child()
492 nfds = MAX(sfd + 1, ufd + 1); in do_child()
513 if (FD_ISSET(ufd, &rfds)) { in do_child()
[all …]
/external/libusb/libusb/os/
Dnetbsd_usb.c281 struct usb_full_desc ufd; in netbsd_get_config_descriptor() local
295 ufd.ufd_config_index = idx; in netbsd_get_config_descriptor()
296 ufd.ufd_size = len; in netbsd_get_config_descriptor()
297 ufd.ufd_data = buf; in netbsd_get_config_descriptor()
299 if ((ioctl(fd, USB_GET_FULL_DESC, &ufd)) < 0) { in netbsd_get_config_descriptor()
531 struct usb_full_desc ufd; in _cache_active_config_descriptor() local
549 ufd.ufd_config_index = ucd.ucd_config_index; in _cache_active_config_descriptor()
550 ufd.ufd_size = len; in _cache_active_config_descriptor()
551 ufd.ufd_data = buf; in _cache_active_config_descriptor()
553 usbi_dbg("index %d, len %d", ufd.ufd_config_index, len); in _cache_active_config_descriptor()
[all …]
/external/linux-kselftest/tools/testing/selftests/vm/
Duserfaultfd.c397 static void retry_copy_page(int ufd, struct uffdio_copy *uffdio_copy, in retry_copy_page() argument
403 if (ioctl(ufd, UFFDIO_COPY, uffdio_copy)) { in retry_copy_page()
414 static int __copy_page(int ufd, unsigned long offset, bool retry) in __copy_page() argument
426 if (ioctl(ufd, UFFDIO_COPY, &uffdio_copy)) { in __copy_page()
437 retry_copy_page(ufd, &uffdio_copy, offset); in __copy_page()
444 static int copy_page_retry(int ufd, unsigned long offset) in copy_page_retry() argument
446 return __copy_page(ufd, offset, true); in copy_page_retry()
449 static int copy_page(int ufd, unsigned long offset) in copy_page() argument
451 return __copy_page(ufd, offset, false); in copy_page()
454 static int uffd_read_msg(int ufd, struct uffd_msg *msg) in uffd_read_msg() argument
[all …]
/external/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h1705 #define __sanitizer_syscall_pre_signalfd(ufd, user_mask, sizemask) \ argument
1706 __sanitizer_syscall_pre_impl_signalfd((long)(ufd), (long)(user_mask), \
1708 #define __sanitizer_syscall_post_signalfd(res, ufd, user_mask, sizemask) \ argument
1709 __sanitizer_syscall_post_impl_signalfd(res, (long)(ufd), (long)(user_mask), \
1711 #define __sanitizer_syscall_pre_signalfd4(ufd, user_mask, sizemask, flags) \ argument
1712 __sanitizer_syscall_pre_impl_signalfd4((long)(ufd), (long)(user_mask), \
1714 #define __sanitizer_syscall_post_signalfd4(res, ufd, user_mask, sizemask, \ argument
1716 __sanitizer_syscall_post_impl_signalfd4(res, (long)(ufd), (long)(user_mask), \
1723 #define __sanitizer_syscall_pre_timerfd_settime(ufd, flags, utmr, otmr) \ argument
1724 __sanitizer_syscall_pre_impl_timerfd_settime((long)(ufd), (long)(flags), \
[all …]
/external/kernel-headers/original/uapi/linux/
Duserfaultfd.h90 __u32 ufd; member
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc2681 PRE_SYSCALL(signalfd)(long ufd, void *user_mask, long sizemask) {}
2683 POST_SYSCALL(signalfd)(long res, long ufd, kernel_sigset_t *user_mask,
2690 PRE_SYSCALL(signalfd4)(long ufd, void *user_mask, long sizemask, long flags) {}
2692 POST_SYSCALL(signalfd4)(long res, long ufd, kernel_sigset_t *user_mask,
2703 PRE_SYSCALL(timerfd_settime)(long ufd, long flags, const void *utmr,
2708 POST_SYSCALL(timerfd_settime)(long res, long ufd, long flags, const void *utmr,
2715 PRE_SYSCALL(timerfd_gettime)(long ufd, void *otmr) {}
2717 POST_SYSCALL(timerfd_gettime)(long res, long ufd, void *otmr) {
/external/python/cpython3/Lib/test/
Dmime.types870 application/vnd.ufdl ufdl ufd frm
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Dinternal_raw_IPA-old.txt202044 ufd %7773