Lines Matching refs:hnode

219 trace_boot_hist_add_array(struct xbc_node *hnode, char **bufp,  in trace_boot_hist_add_array()  argument
226 p = xbc_node_find_value(hnode, key, &anode); 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
256 p = xbc_node_find_value(hnode, param, NULL); in trace_boot_hist_add_one_handler()
259 xbc_node_get_data(hnode), param); in trace_boot_hist_add_one_handler()
265 knode = xbc_node_find_subkey(hnode, "trace"); in trace_boot_hist_add_one_handler()
267 knode = xbc_node_find_subkey(hnode, "save"); in trace_boot_hist_add_one_handler()
273 xbc_node_get_data(hnode), in trace_boot_hist_add_one_handler()
286 } else if (xbc_node_find_subkey(hnode, "snapshot")) { in trace_boot_hist_add_one_handler()
290 xbc_node_get_data(hnode)); 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
305 handler = xbc_node_get_data(hnode); in trace_boot_hist_add_handlers()
307 xbc_node_for_each_subkey(hnode, node) { in trace_boot_hist_add_handlers()
317 if (xbc_node_find_subkey(hnode, 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()
346 trace_boot_compose_hist_cmd(struct xbc_node *hnode, char *buf, size_t size) in trace_boot_compose_hist_cmd() argument
355 ret = trace_boot_hist_add_array(hnode, &buf, end, "keys"); in trace_boot_compose_hist_cmd()
362 ret = trace_boot_hist_add_array(hnode, &buf, end, "values"); in trace_boot_compose_hist_cmd()
365 ret = trace_boot_hist_add_array(hnode, &buf, end, "sort"); in trace_boot_compose_hist_cmd()
369 p = xbc_node_find_value(hnode, "size", NULL); in trace_boot_compose_hist_cmd()
373 p = xbc_node_find_value(hnode, "name", NULL); in trace_boot_compose_hist_cmd()
377 node = xbc_node_find_subkey(hnode, "var"); in trace_boot_compose_hist_cmd()
388 if (xbc_node_find_value(hnode, "pause", NULL)) in trace_boot_compose_hist_cmd()
390 else if (xbc_node_find_value(hnode, "continue", NULL)) in trace_boot_compose_hist_cmd()
392 else if (xbc_node_find_value(hnode, "clear", NULL)) in trace_boot_compose_hist_cmd()
396 node = xbc_node_find_subkey(hnode, "onmax"); in trace_boot_compose_hist_cmd()
399 node = xbc_node_find_subkey(hnode, "onchange"); in trace_boot_compose_hist_cmd()
402 node = xbc_node_find_subkey(hnode, "onmatch"); in trace_boot_compose_hist_cmd()
406 p = xbc_node_find_value(hnode, "filter", NULL); in trace_boot_compose_hist_cmd()
420 struct xbc_node *hnode, char *buf, size_t size) in trace_boot_init_histograms() argument
426 xbc_node_for_each_subkey(hnode, node) { in trace_boot_init_histograms()
441 if (xbc_node_find_subkey(hnode, "keys")) { in trace_boot_init_histograms()
442 if (trace_boot_compose_hist_cmd(hnode, buf, size) == 0) { in trace_boot_init_histograms()
455 struct xbc_node *hnode, char *buf, size_t size) in trace_boot_init_histograms() argument