Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/base/swnode.c device_add_software_node() -> swnode_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | swnode | 4096-ptr_max |
| PARAM_VALUE | 0 | swnode->node | 1-u64max |
| BUF_SIZE | 0 | swnode->node | (-1),24 |
| CAPPED_DATA | 0 | swnode->node | 1 |
| DATA_SOURCE | 0 | swnode | r software_node_to_swnode |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/base/swnode.c software_node_find_by_name() -> swnode_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | swnode | 4096-ptr_max |
| PARAM_VALUE | 0 | swnode->node | 4096-ptr_max |
| CAPPED_DATA | 0 | swnode->node->parent | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &swnode_kset->list_lock | ||
| TYPE_LOCK | (struct kset)->list_lock |
drivers/base/swnode.c software_node_get() -> swnode_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | swnode | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &list_lock |
drivers/base/swnode.c software_node_get_named_child_node() -> swnode_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | swnode | 4096-ptr_max |
| CAPPED_DATA | 0 | &swnode->entry | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/base/swnode.c software_node_notify() -> swnode_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | swnode | 4096-ptr_max |
| BUF_SIZE | 0 | swnode->fwnode.dev | (-1),1616 |
| CAPPED_DATA | 0 | &swnode->fwnode | 1 |
| DATA_SOURCE | 0 | swnode | r dev_to_swnode |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |