Lines Matching refs:pb_to
160 * @pb_to: pointer to destination print buffer structure
167 void tipc_printbuf_move(struct print_buf *pb_to, struct print_buf *pb_from)
173 if (!pb_to->buf)
177 tipc_printbuf_reset(pb_to);
181 if (pb_to->size < pb_from->size) {
182 tipc_printbuf_reset(pb_to);
183 tipc_printf(pb_to, "*** PRINT BUFFER MOVE ERROR ***");
191 strcpy(pb_to->buf, pb_from->crs + 1);
192 pb_to->crs = pb_to->buf + len;
194 pb_to->crs = pb_to->buf;
199 strcpy(pb_to->crs, pb_from->buf);
200 pb_to->crs += len;