Lines Matching refs:crs
104 pb->crs = raw; in tipc_printbuf_init()
124 pb->crs = pb->buf; in tipc_printbuf_reset()
139 return !pb->buf || (pb->crs == pb->buf); in tipc_printbuf_empty()
174 return pb->crs - pb->buf + 1; in tipc_printbuf_validate()
204 pb_to->crs = strchr(pb_to->buf, 0); in tipc_printbuf_move()
210 len = pb_from->buf + pb_from->size - pb_from->crs - 2; in tipc_printbuf_move()
212 strcpy(pb_to->buf, pb_from->crs + 1); in tipc_printbuf_move()
213 pb_to->crs = pb_to->buf + len; in tipc_printbuf_move()
215 pb_to->crs = pb_to->buf; in tipc_printbuf_move()
219 len = pb_from->crs - pb_from->buf; in tipc_printbuf_move()
220 strcpy(pb_to->crs, pb_from->buf); in tipc_printbuf_move()
221 pb_to->crs += len; in tipc_printbuf_move()
245 chars_left = pb->buf + pb->size - pb->crs - 1; in tipc_printf()
247 strcpy(pb->crs, print_string); in tipc_printf()
248 pb->crs += chars_to_add; in tipc_printf()
252 pb->crs = pb->buf + pb->size - 1; in tipc_printf()
257 strcpy(pb->crs, print_string); in tipc_printf()
259 pb->crs = pb->buf + chars_to_add - chars_left; in tipc_printf()