Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/of/unittest.c attach_node_and_children() -> __of_attach_node_sysfs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->child | 0 |
| PARAM_VALUE | 0 | np->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | np->parent->child | 4096-ptr_max |
| PARAM_VALUE | 0 | np->parent->child->parent | 4096-ptr_max |
| DATA_SOURCE | 0 | np | $0 |
| NOCHECK_CALL | |||
| LOCK2 | global &of_mutex | ||
| HALF_LOCKED2 | global &of_overlay_phandle_mutex |
drivers/of/unittest.c of_unittest_overlay_high_level() -> __of_attach_node_sysfs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 1-u64max |
| NOCHECK_CALL | |||
| LOCK2 | global &of_mutex |
drivers/of/dynamic.c __of_attach_node() -> __of_attach_node_sysfs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->child | 0 |
| PARAM_VALUE | 0 | np->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | np->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | np->parent->child | 4096-ptr_max |
| PARAM_VALUE | 0 | np->parent->child->parent | 4096-ptr_max |
| BUF_SIZE | 0 | np->name | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | np | $0 |
| STR_LEN | 0 | np->name | (-1),6 |
| STR_LEN | 0 | np->parent->child->name | (-1),6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &of_mutex |
drivers/of/base.c of_core_init() -> __of_attach_node_sysfs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 1-u64max |
| NOCHECK_CALL | |||
| LOCK2 | global &of_mutex |