Lines Matching refs:fd
98 int fd;
160 (void) close(lsp->fds_chan.fd);
170 * read size bytes of data from a streaming fd into buf
173 read_stream(int fd, void *buf, size_t size)
182 pollfd.fd = fd;
191 if ((rv = read(fd, (void *)currentp, data_left)) < 0) {
218 poller_handle_data(int fd, size_t payloadsize)
232 if (read_stream(fd, pr, prlen) != 0)
244 pollbase.list[i]->fd = fd;
302 if (read_stream(pollbase.list[index]->fd,
489 pipe_fd->fd = pollbase.notify_pipe[1]; /* notification pipe */
492 recv_fd->fd = lsp->fds_chan.fd; /* FMA LDC */
497 /* fd got closed */
587 if (write(lsp->fds_chan.fd, msg, msglen) != msglen) {
1081 if (read_stream(lsp->fds_chan.fd, &header, sizeof (ds_hdr_t)) != 0)
1092 return (poller_handle_data(lsp->fds_chan.fd,
1104 if (read_stream(lsp->fds_chan.fd, msg_buf, header.payload_len) != 0)
1136 if ((lsp->fds_chan.fd = open(FDS_VLDC, O_RDWR)) < 0) {
1151 if (ioctl(lsp->fds_chan.fd, VLDC_IOCTL_OPT_OP,
1153 (void) close(lsp->fds_chan.fd);
1192 (void) close(lsp->fds_chan.fd);