Lines Matching refs:to_rd
366 static int aw_rec_append(int to_rd, int from_rd);
369 static int aw_rec_prepend(int to_rd, int from_rd);
2302 aw_rec_append(int to_rd, int from_rd)
2304 if (aw_chk_rd(to_rd) == AW_ERR_RTN)
2311 aw_recs[to_rd]->event_id = aw_recs[from_rd]->event_id;
2312 aw_recs[to_rd]->class = aw_recs[from_rd]->class;
2315 aw_recs[to_rd]->aflags |= aw_recs[from_rd]->aflags;
2317 if ((aw_recs[to_rd]->len +
2321 return (aw_buf_append(&(aw_recs[to_rd]->buf),
2322 &(aw_recs[to_rd]->len),
2358 aw_rec_prepend(int to_rd, int from_rd)
2360 if (aw_chk_rd(to_rd) == AW_ERR_RTN)
2367 aw_recs[to_rd]->event_id = aw_recs[from_rd]->event_id;
2369 if ((aw_recs[to_rd]->len +
2373 return (aw_buf_prepend(&(aw_recs[to_rd]->buf),
2374 &(aw_recs[to_rd]->len),