Home
last modified time | relevance | path

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

/third_party/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 …]
/third_party/libusb/libusb/os/
Dnetbsd_usb.c244 struct usb_full_desc ufd; in netbsd_get_config_descriptor() local
258 ufd.ufd_config_index = idx; in netbsd_get_config_descriptor()
259 ufd.ufd_size = len; in netbsd_get_config_descriptor()
260 ufd.ufd_data = buf; in netbsd_get_config_descriptor()
262 if ((ioctl(fd, USB_GET_FULL_DESC, &ufd)) < 0) { in netbsd_get_config_descriptor()
471 struct usb_full_desc ufd; in _cache_active_config_descriptor() local
489 ufd.ufd_config_index = ucd.ucd_config_index; in _cache_active_config_descriptor()
490 ufd.ufd_size = len; in _cache_active_config_descriptor()
491 ufd.ufd_data = buf; in _cache_active_config_descriptor()
493 usbi_dbg("index %d, len %d", ufd.ufd_config_index, len); in _cache_active_config_descriptor()
[all …]
/third_party/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 …]
/third_party/FreeBSD/sys/dev/usb/net/
Dif_cdce.c262 struct usb_ncm_func_descriptor *ufd; in cdce_ncm_init() local
268 ufd = usbd_find_descriptor(sc->sc_ue.ue_udev, NULL, in cdce_ncm_init()
273 if (ufd != NULL) { in cdce_ncm_init()
274 if (ufd->bLength < sizeof(*ufd)) in cdce_ncm_init()
275 ufd = NULL; in cdce_ncm_init()
390 if ((ufd != NULL) && in cdce_ncm_init()
391 (ufd->bmNetworkCapabilities & UCDC_NCM_CAP_MAX_DGRAM)) { in cdce_ncm_init()
/third_party/libwebsockets/lib/event-libs/uloop/
Duloop.c96 lws_uloop_cb(struct uloop_fd *ufd, unsigned int revents) in lws_uloop_cb() argument
98 struct lws_wsi_eventlibs_uloop *wu = lws_container_of(ufd, in lws_uloop_cb()
/third_party/python/Lib/test/
Dmime.types870 application/vnd.ufdl ufdl ufd frm