| 167 | } |
| 168 | |
| 169 | static struct chan *next_chan_arr(const struct node *node, |
| 170 | struct chan_map_iter *i) |
| 171 | { |
| 172 | while (i->i.off < NUM_IMMEDIATE_CHANS) { |
| 173 | if (node->chans.arr[i->i.off]) |
| 174 | return node->chans.arr[i->i.off]; |
| 175 | i->i.off++; |
| 176 | } |
| 177 | return NULL; |
| 178 | } |
| 179 | |
| 180 | struct chan *first_chan(const struct node *node, struct chan_map_iter *i) |
| 181 | { |
no outgoing calls
no test coverage detected