Lines Matching refs:stat
241 ch->stat = RT_IPC_STAT_IDLE; /* no suspended threads */ in rt_raw_channel_open()
322 if (ch->stat == RT_IPC_STAT_ACTIVE && ch->reply == thread) in wakeup_sender_wait_recv()
324 ch->stat = RT_IPC_STAT_IDLE; in wakeup_sender_wait_recv()
354 RT_ASSERT(ch->stat == RT_IPC_STAT_ACTIVE && ch->reply == thread); in wakeup_sender_wait_reply()
355 ch->stat = RT_IPC_STAT_IDLE; in wakeup_sender_wait_reply()
370 if (ch->stat == RT_IPC_STAT_ACTIVE && ch->reply == thread) in sender_timeout()
372 ch->stat = RT_IPC_STAT_IDLE; in sender_timeout()
540 switch (ch->stat) in _do_send_recv_timeout()
596 ch->stat = RT_IPC_STAT_ACTIVE; in _do_send_recv_timeout()
616 ch->stat = RT_IPC_STAT_IDLE; in _do_send_recv_timeout()
636 if (ch->stat == RT_IPC_STAT_IDLE) in _do_send_recv_timeout()
720 else if (ch->stat != RT_IPC_STAT_ACTIVE) in rt_raw_channel_reply()
743 ch->stat = RT_IPC_STAT_IDLE; in rt_raw_channel_reply()
767 ch->stat = RT_IPC_STAT_IDLE; in wakeup_receiver()
790 ch->stat = RT_IPC_STAT_IDLE; in receiver_timeout()
827 else if (ch->stat != RT_IPC_STAT_IDLE) in _rt_raw_channel_recv_timeout()
846 ch->stat = RT_IPC_STAT_ACTIVE; /* no valid suspened receivers */ in _rt_raw_channel_recv_timeout()
869 ch->stat = RT_IPC_STAT_WAIT; /* no valid suspended senders */ in _rt_raw_channel_recv_timeout()
1019 if (ch->stat != RT_IPC_STAT_IDLE) in channel_fops_poll()
1317 if (channels[index]->stat < 3) in list_channel()
1318 rt_kprintf(" %s\n", stat_strs[channels[index]->stat]); in list_channel()