Lines Matching refs:channel
138 static int ProcessOneMessage(handle_t channel, const ipc_msg_info_t& msg_info) { in ProcessOneMessage() argument
140 TLOGE("Message too large on channel %x: %zu", channel, msg_info.len); in ProcessOneMessage()
153 int rc = read_msg(channel, msg_info.id, 0, &request_msg); in ProcessOneMessage()
156 TLOGE("Failed to read msg for channel %x: %d\n", channel, rc); in ProcessOneMessage()
162 channel); in ProcessOneMessage()
196 rc = send_msg(channel, &response_msg); in ProcessOneMessage()
198 TLOGE("Failed to send_msg on channel %x: %d\n", channel, rc); in ProcessOneMessage()
207 static int ProcessMessages(handle_t channel) { in ProcessMessages() argument
210 int rc = get_msg(channel, &msg_info); in ProcessMessages()
216 TLOGE("Failed to get_msg on channel %x: %d\n", channel, rc); in ProcessMessages()
220 rc = ProcessOneMessage(channel, msg_info); in ProcessMessages()
222 put_msg(channel, msg_info.id); in ProcessMessages()
226 rc = put_msg(channel, msg_info.id); in ProcessMessages()
228 TLOGE("Failed to put_msg on channel %x: %d\n", rc, channel); in ProcessMessages()