Home
last modified time | relevance | path

Searched refs:ep_fd (Results 1 – 10 of 10) sorted by relevance

/dports/security/openct/openct-0.6.20/src/ifd/
H A Dsys-solaris.c64 int ep_fd[2]; member
153 if (interfaces[interface][endpoint].ep_fd[direction]) { in open_ep()
165 if ((interfaces[interface][endpoint].ep_fd[direction] = in open_ep()
170 interfaces[interface][endpoint].ep_fd[direction] = 0; in open_ep()
179 close(interfaces[interface][endpoint].ep_fd[direction]); in open_ep()
180 interfaces[interface][endpoint].ep_fd[direction] = 0; in open_ep()
190 if (interfaces[interface][endpoint].ep_fd[direction]) { in close_ep()
191 close(interfaces[interface][endpoint].ep_fd[direction]); in close_ep()
192 interfaces[interface][endpoint].ep_fd[direction] = 0; in close_ep()
449 if (!interfaces[0][endpoint].ep_fd[direction]) { in ifd_sysdep_usb_begin_capture()
[all …]
H A Dsys-bsd.c59 int ep_fd; member
75 if (interfaces[interface][endpoint].ep_fd) { in open_ep()
89 interfaces[interface][endpoint].ep_fd = 0; in open_ep()
98 if (interfaces[interface][endpoint].ep_fd) { in close_ep()
99 close(interfaces[interface][endpoint].ep_fd); in close_ep()
100 interfaces[interface][endpoint].ep_fd = 0; in close_ep()
134 if (ioctl(interfaces[0][endpoint].ep_fd, USB_SET_SHORT_XFER, in ifd_sysdep_usb_bulk()
141 read(interfaces[0][endpoint].ep_fd, buffer, len)) < 0) { in ifd_sysdep_usb_bulk()
165 write(interfaces[0][endpoint].ep_fd, buffer, in ifd_sysdep_usb_bulk()
214 if (!interfaces[0][endpoint].ep_fd) { in ifd_sysdep_usb_begin_capture()
[all …]
/dports/net/mpich/mpich-3.4.3/modules/libfabric/prov/rstream/src/
H A Drstream_cm.c61 rstream_fid = &rstream_ep->ep_fd->fid; in rstream_setname()
82 rstream_fid = &rstream_ep->ep_fd->fid; in rstream_getname()
95 return fi_getpeer(rstream_ep->ep_fd, addr, addrlen); in rstream_getpeer()
103 ret = fi_getopt(&ep->ep_fd->fid, FI_OPT_ENDPOINT, FI_OPT_CM_DATA_SIZE, in rstream_check_cm_size()
124 return fi_connect(rstream_ep->ep_fd, addr, &cm_data, sizeof(cm_data)); in rstream_connect()
147 return fi_accept(rstream_ep->ep_fd, &cm_data, sizeof(cm_data)); in rstream_accept()
161 return fi_shutdown(rstream_ep->ep_fd, flags); in rstream_shutdown()
H A Drstream_ep.c47 ret = fi_close(&rstream_ep->ep_fd->fid); in rstream_ep_close()
78 ret = fi_ep_bind(rstream_ep->ep_fd, &rstream_eq->eq_fd->fid, in rstream_ep_bind()
80 rbtInsert(rstream_eq->ep_map, &rstream_ep->ep_fd->fid, in rstream_ep_bind()
134 ret = fi_ep_bind(rep->ep_fd, &rep->cq->fid, FI_TRANSMIT | FI_RECV); in rstream_cq_init()
159 ret = fi_enable(rstream_ep->ep_fd); in rstream_ep_ctrl()
262 &rstream_ep->ep_fd, NULL); in rstream_ep_open()
H A Drstream_msg.c264 ret = fi_inject(ep->ep_fd, &cq_data, RSTREAM_IWARP_DATA_SIZE, 0); in rstream_send_ctrl_msg()
274 ret = fi_sendmsg(ep->ep_fd, &msg, FI_REMOTE_CQ_DATA); in rstream_send_ctrl_msg()
535 ret = fi_write(ep->ep_fd, tx_addr, curr_avail_len, in rstream_send()
541 ret = fi_writedata(ep->ep_fd, tx_addr, curr_avail_len, in rstream_send()
622 ret = fi_recvmsg(ep->ep_fd, &msg, 0); in rstream_post_cq_data_recv()
H A Drstream.h170 struct fid_ep *ep_fd; member
/dports/misc/rump/buildrump.sh-b914579/src/sys/kern/
H A Dexec_script.c223 if ((error = fd_allocfile(&fp, &epp->ep_fd)) != 0) { in exec_script_makecmds()
233 fd_affix(curproc, fp, epp->ep_fd); in exec_script_makecmds()
263 snprintf(tmpsap->fa_arg, MAXPATHLEN, "/dev/fd/%d", epp->ep_fd); in exec_script_makecmds()
333 fd_close(epp->ep_fd); in exec_script_makecmds()
H A Dkern_exec.c798 fd_close(epp->ep_fd); in execve_loadvm()
898 fd_close(epp->ep_fd); in execve_free_data()
/dports/sysutils/azure-agent/WALinuxAgent-2.2.54.2/tests/protocol/
H A Dtest_protocol_util.py315 with open(endpoint_file, "w+") as ep_fd:
316 ep_fd.write("")
/dports/misc/rump/buildrump.sh-b914579/src/sys/sys/
H A Dexec.h212 int ep_fd; /* a file descriptor we're holding */ member