Lines Matching refs:bufp

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