Lines Matching defs:fd
106 static void *fd_to_handle_ptr(int fd) in fd_to_handle_ptr()
121 static int sock_handle_get(uint32_t instance_id, int fd) in sock_handle_get()
145 int fd = -1; in sock_handle_to_fd() local
172 static int fd_flags_add(int fd, int flags) in fd_flags_add()
191 int fd = -1; in sock_connect() local
265 int fd = 0; in tee_socket_open() local
307 int fd = 0; in tee_socket_close() local
329 int fd = handle_ptr_to_fd(ptr); in sock_close_cb() local
445 static TEEC_Result write_with_timeout(int fd, const void *buf, size_t *blen, in write_with_timeout()
471 int fd = 0; in tee_socket_send() local
496 static ssize_t recv_with_out_flags(int fd, void *buf, size_t len, int inflags, in recv_with_out_flags()
521 static TEEC_Result read_with_timeout(int fd, void *buf, size_t *blen, in read_with_timeout()
610 int fd = 0; in tee_socket_recv() local
637 static TEEC_Result tee_socket_ioctl_tcp(int fd, uint32_t command, in tee_socket_ioctl_tcp()
706 static TEEC_Result udp_changeaddr(int fd, int family, const char *server, in udp_changeaddr()
739 static TEEC_Result tee_socket_ioctl_udp(int fd, uint32_t command, in tee_socket_ioctl_udp()
783 int fd = 0; in tee_socket_ioctl() local