Lines Matching defs:fd
253 INFO("connected to stack fd = %d", skt_fd);
258 static int skt_read(int fd, void *p, size_t len)
266 OSI_NO_INTR(read = recv(fd, p, len, MSG_NOSIGNAL));
273 static int skt_write(int fd, const void *p, size_t len)
282 OSI_NO_INTR(sent = send(fd, p, len, MSG_NOSIGNAL));
293 OSI_NO_INTR(sent = send(fd, p, len - count, MSG_NOSIGNAL | MSG_DONTWAIT));
313 static int skt_disconnect(int fd)
315 INFO("fd %d", fd);
317 if (fd != AUDIO_SKT_DISCONNECTED)
319 shutdown(fd, SHUT_RDWR);
320 close(fd);
591 DEBUG("write %zu bytes (fd %d)", bytes, out->common.audio_fd);
728 static int out_dump(const struct audio_stream *stream, int fd)
731 UNUSED(fd);
952 static int in_dump(const struct audio_stream *stream, int fd)
955 UNUSED(fd);
1379 static int adev_dump(const audio_hw_device_t *device, int fd)
1382 UNUSED(fd);