Searched refs:command_fds (Results 1 – 2 of 2) sorted by relevance
353 rc = pipe(client.command_fds); in TEST()359 rc = read(client.command_fds[0], &cmd_msg, sizeof(cmd_msg)); in TEST()
227 int command_fds[2]; member1864 rc = read(client->command_fds[0], buf, sizeof(msg->len)); in handle_command_message()1870 rc = read(client->command_fds[0], &buf[0] + rc, to_read); in handle_command_message()1958 if (client->command_fds[0] >= 0) { in client_thread()1960 pollfds[num_pollfds].fd = client->command_fds[0]; in client_thread()2003 rc = write(client->command_fds[1], msg, msg->len); in send_command_message()2162 rc = pipe((*client)->command_fds); in cras_client_create_with_type()2169 close((*client)->command_fds[0]); in cras_client_create_with_type()2170 close((*client)->command_fds[1]); in cras_client_create_with_type()2209 close(client->command_fds[0]); in cras_client_destroy()[all …]