Lines Matching refs:poll_revents
411 int poll_revents) in error_delay_next_action() argument
440 } else if ((poll_revents & POLLIN) == 0) { in error_delay_next_action()
480 int poll_revents) in wait_for_writable_next_action() argument
494 else if ((poll_revents & POLLOUT) == 0) { in wait_for_writable_next_action()
565 int poll_revents) in first_message_next_action() argument
572 if ((poll_revents & POLLIN) == 0) in first_message_next_action()
699 static int server_fd_dispatch(struct cras_client *client, int poll_revents) in server_fd_dispatch() argument
704 if ((poll_revents & POLLHUP) != 0) { in server_fd_dispatch()
715 rc = error_delay_next_action(client, poll_revents); in server_fd_dispatch()
721 rc = wait_for_writable_next_action(client, poll_revents); in server_fd_dispatch()
724 rc = first_message_next_action(client, poll_revents); in server_fd_dispatch()
727 if ((poll_revents & POLLIN) != 0) in server_fd_dispatch()
819 int poll_revents) in sock_file_wait_dispatch() argument
823 if ((poll_revents & POLLIN) == 0) in sock_file_wait_dispatch()
1877 int poll_revents) in handle_stream_message() argument
1882 if ((poll_revents & POLLIN) == 0) in handle_stream_message()
1897 int poll_revents) in handle_command_message() argument
1903 if ((poll_revents & POLLIN) == 0) in handle_command_message()
1977 int (*cbs[4])(struct cras_client *client, int poll_revents); in client_thread()