Searched refs:datafd (Results 1 – 7 of 7) sorted by relevance
727 if (hpriv->eps[0].datafd > 0) { in sunos_usb_open_ep0()733 hpriv->eps[0].datafd = open(filename, O_RDWR); in sunos_usb_open_ep0()734 if (hpriv->eps[0].datafd < 0) { in sunos_usb_open_ep0()741 close(hpriv->eps[0].datafd); in sunos_usb_open_ep0()742 hpriv->eps[0].datafd = -1; in sunos_usb_open_ep0()757 if (hdev->eps[i].datafd != -1) { in sunos_usb_close_all_eps()758 (void) close(hdev->eps[i].datafd); in sunos_usb_close_all_eps()759 hdev->eps[i].datafd = -1; in sunos_usb_close_all_eps()771 if (hdev->eps[0].datafd >= 0) { in sunos_usb_close_ep0()772 close(hdev->eps[0].datafd); in sunos_usb_close_ep0()[all …]
38 int datafd; /* data file */ member
14 int datafd; member
217 fd = info->datafd; in socket_send_fd()250 info->datafd = fd; in socket_receive_fd()
45 shared_fd = skinfo.datafd; in main()
110 skinfo.datafd = shared_fd; in main()
1444 curl_socket_t datafd = accept(rootfd, NULL, NULL); in http_connect() local1445 if(datafd != CURL_SOCKET_BAD) { in http_connect()1454 if(0 != setsockopt(datafd, IPPROTO_TCP, TCP_NODELAY, in http_connect()1461 err = get_request(datafd, &req2); in http_connect()1470 err = send_doc(datafd, &req2); in http_connect()1489 clientfd[DATA] = datafd; in http_connect()1490 datafd = CURL_SOCKET_BAD; in http_connect()1495 if(datafd != CURL_SOCKET_BAD) { in http_connect()1497 shutdown(datafd, SHUT_RDWR); in http_connect()1498 sclose(datafd); in http_connect()