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