Lines Matching defs:bufp
176 append_printf(char **bufp, char *end, const char *fmt, ...)
181 if (*bufp == end)
185 ret = vsnprintf(*bufp, end - *bufp, fmt, args);
186 if (ret < end - *bufp) {
187 *bufp += ret;
189 *bufp = end;
198 append_str_nospace(char **bufp, char *end, const char *str)
200 char *p = *bufp;
210 *bufp = end;
213 len = p - *bufp;
214 *bufp = p;
219 trace_boot_hist_add_array(struct xbc_node *hnode, char **bufp,
233 append_printf(bufp, end, ":%s", key);
236 append_printf(bufp, end, "%c%s", sep, p);
247 trace_boot_hist_add_one_handler(struct xbc_node *hnode, char **bufp,
262 append_printf(bufp, end, ":%s(%s)", handler, p);
278 append_printf(bufp, end, ".%s", xbc_node_get_data(knode));
281 append_printf(bufp, end, "%c%s", sep, p);
285 append_printf(bufp, end, ")");
287 append_printf(bufp, end, ".snapshot()");
298 trace_boot_hist_add_handlers(struct xbc_node *hnode, char **bufp,
312 ret = trace_boot_hist_add_one_handler(node, bufp, end, handler, param);
318 ret = trace_boot_hist_add_one_handler(hnode, bufp, end, handler, param);