Searched refs:datafd (Results 1 – 7 of 7) sorted by relevance
370 if (hpriv->eps[0].datafd > 0) { in sunos_usb_open_ep0()377 hpriv->eps[0].datafd = open(filename, O_RDWR); in sunos_usb_open_ep0()378 if (hpriv->eps[0].datafd < 0) { in sunos_usb_open_ep0()385 close(hpriv->eps[0].datafd); in sunos_usb_open_ep0()386 hpriv->eps[0].datafd = -1; in sunos_usb_open_ep0()401 if (hdev->eps[i].datafd != -1) { in sunos_usb_close_all_eps()402 (void) close(hdev->eps[i].datafd); in sunos_usb_close_all_eps()403 hdev->eps[i].datafd = -1; in sunos_usb_close_all_eps()415 if (hdev->eps[0].datafd >= 0) { in sunos_usb_close_ep0()416 close(hdev->eps[0].datafd); in sunos_usb_close_ep0()[all …]
39 int datafd; /* data file */ member
217 fd = info->datafd; in socket_send_fd()250 info->datafd = fd; in socket_receive_fd()
14 int datafd; member
54 shared_fd = skinfo.datafd; in main()
119 skinfo.datafd = shared_fd; in main()
1586 curl_socket_t datafd = accept(rootfd, NULL, NULL); in http_connect() local1587 if(datafd != CURL_SOCKET_BAD) { in http_connect()1596 if(0 != setsockopt(datafd, IPPROTO_TCP, TCP_NODELAY, in http_connect()1604 err = get_request(datafd, &req2); in http_connect()1613 err = send_doc(datafd, &req2); in http_connect()1632 clientfd[DATA] = datafd; in http_connect()1633 datafd = CURL_SOCKET_BAD; in http_connect()1638 if(datafd != CURL_SOCKET_BAD) { in http_connect()1640 shutdown(datafd, SHUT_RDWR); in http_connect()1641 sclose(datafd); in http_connect()