Lines Matching refs:pbuf
70 struct print_buf_ctx *pbuf = pctx;
75 if (pbuf->buf && pbuf->blen > pbuf->ret) {
76 buf = pbuf->buf + pbuf->ret;
77 blen = pbuf->blen - pbuf->ret;
83 pbuf->ret += ret;
88 struct print_buf_ctx *pbuf = pctx;
92 if (pbuf->buf && pbuf->blen > pbuf->ret) {
93 buf = pbuf->buf + pbuf->ret;
94 blen = pbuf->blen - pbuf->ret;
98 pbuf->ret += bl;
104 struct print_buf_ctx pbuf = { .buf = buf, .blen = *blen };
108 ta_elf_print_mappings(&pbuf, print_to_pbuf, &main_elf_queue,
110 ftrace_copy_buf(&pbuf, copy_to_pbuf);
118 *blen = pbuf.ret;