Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- fs/proc/bootconfig.c, line 46
- include/linux/bootconfig.h
- kernel/trace/trace_boot.c, line 359
- lib/bootconfig.c
- tools/bootconfig/main.c
Smatch caller information:
fs/proc/bootconfig.c copy_xbc_key_value_list() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->child | 0-u16max |
fs/proc/bootconfig.c copy_xbc_key_value_list() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
kernel/trace/trace_boot.c trace_boot_add_kprobe_event() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
kernel/trace/trace_boot.c trace_boot_add_probe_event() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
kernel/trace/trace_boot.c trace_boot_add_synth_event() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
kernel/trace/trace_boot.c trace_boot_enable_events() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
kernel/trace/trace_boot.c trace_boot_hist_add_array() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| LOCK2 | global &event_mutex |
kernel/trace/trace_boot.c trace_boot_hist_add_one_handler() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| LOCK2 | global &event_mutex |
kernel/trace/trace_boot.c trace_boot_hist_add_one_handler() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| LOCK2 | global &event_mutex |
kernel/trace/trace_boot.c trace_boot_init_one_event() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| LOCK2 | global &event_mutex |
kernel/trace/trace_boot.c trace_boot_set_ftrace_filter() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
kernel/trace/trace_boot.c trace_boot_set_ftrace_filter() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
kernel/trace/trace_boot.c trace_boot_set_instance_options() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
kernel/trace/trace_boot.c xbc_node_get_subkey() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| DATA_SOURCE | 0 | node | $0 |
| STR_LEN | 0 | node | (-1),3,5 |
| STR_LEN | 0 | node | (-1),3,5 |
| HALF_LOCKED2 | global &event_mutex |
lib/bootconfig.c __xbc_add_key() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 1-u64max |
| LOCK2 | irq |
lib/bootconfig.c __xbc_add_sibling() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->child | 1-u16max |
| LOCK2 | irq |
lib/bootconfig.c xbc_last_child() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->child | 1-u16max |
| DATA_SOURCE | 0 | node | $0 [m] |
| LOCK2 | irq |
lib/bootconfig.c xbc_node_find_next_key_value() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| DATA_SOURCE | 0 | node | r xbc_node_find_next_leaf |
| HALF_LOCKED2 | global &event_mutex | ||
| HALF_LOCKED2 | irq |
lib/bootconfig.c xbc_node_find_next_leaf() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| DATA_SOURCE | 0 | node | $1 [m] |
| HALF_LOCKED2 | global &event_mutex | ||
| HALF_LOCKED2 | irq |
lib/bootconfig.c xbc_node_find_value() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->child | 1-u16max |
| DATA_SOURCE | 0 | node | r xbc_node_find_subkey |
| HALF_LOCKED2 | global &event_mutex |
lib/bootconfig.c xbc_node_get_subkey() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 1-u64max |
| DATA_SOURCE | 0 | node | $0 |
| STR_LEN | 0 | node | (-1),3-8,10-11,14-15 |
| STR_LEN | 0 | node | (-1),3-8,10-11,14-15 |
| HALF_LOCKED2 | global &event_mutex |
lib/bootconfig.c xbc_node_is_leaf() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->child | 1-u16max |
| DATA_SOURCE | 0 | node | $0 |
| HALF_LOCKED2 | global &event_mutex | ||
| HALF_LOCKED2 | irq |
lib/bootconfig.c xbc_parse_array() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->child | 1-u16max |
| LOCK2 | irq |
lib/bootconfig.c xbc_parse_kv() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | irq |
lib/bootconfig.c xbc_snprint_cmdline() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->child | 0-u16max |
| LOCK2 | irq |
lib/bootconfig.c xbc_snprint_cmdline() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| LOCK2 | irq |
lib/bootconfig.c xbc_verify_tree() -> xbc_node_get_child()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| LOCK2 | irq |