Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/firewire/core-topology.c build_tree() -> for_each_fw_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card | 4096-ptr_max |
| PARAM_VALUE | 0 | card->device | 4096-ptr_max |
| PARAM_VALUE | 0 | card->node_id | 0-u16max |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PARAM_VALUE | 1 | root->link.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | root->link.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | root->link.prev->prev | 4096-ptr_max |
| DATA_SOURCE | 0 | card | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | card->node_id | 0-u16max |
| HALF_LOCKED2 | 0 | &card->lock |
drivers/firewire/core-topology.c fw_core_handle_bus_reset() -> for_each_fw_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card | 4096-ptr_max |
| PARAM_VALUE | 0 | card->bm_node_id | u16max |
| PARAM_VALUE | 0 | card->gap_count | 0-63 |
| PARAM_VALUE | 0 | card->generation | 0-255 |
| PARAM_VALUE | 0 | card->irm_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | card->irm_node->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | card->irm_node->link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | card->irm_node->link.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | card->irm_node->node_id | 65472-u16max |
| PARAM_VALUE | 0 | card->local_node | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | card->local_node->link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->link.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->node_id | 65472-u16max |
| PARAM_VALUE | 0 | card->node_id | 0-u16max |
| PARAM_VALUE | 0 | card->root_node | 4096-ptr_max |
| PARAM_VALUE | 0 | card->root_node->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | card->root_node->link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | card->root_node->link.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | card->root_node->node_id | 65472-u16max |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PARAM_VALUE | 1 | root->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | root->link.next | 4096-ptr_max |
| PARAM_VALUE | 1 | root->link.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | root->node_id | 65472-u16max |
| BUF_SIZE | 0 | card->local_node | s32min-s32max |
| BUF_SIZE | 1 | root | s32min-s32max |
| CAPPED_DATA | 0 | card->generation | 1 |
| DATA_SOURCE | 0 | card | $0 |
| DATA_SOURCE | 1 | root | r build_tree |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | card->node_id | 0-u16max |
| LOCK2 | 0 | &card->lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct fw_card)->lock |
drivers/firewire/core-topology.c fw_destroy_nodes() -> for_each_fw_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card | 4096-ptr_max |
| PARAM_VALUE | 0 | card->driver->disable | 0,654534902965772288 |
| PARAM_VALUE | 0 | card->driver->free_iso_context | 0,1803801919160545280 |
| PARAM_VALUE | 0 | card->driver->stop_iso | 0,1488337541166690304 |
| PARAM_VALUE | 0 | card->local_node | 1-u64max |
| PARAM_VALUE | 1 | root | 1-u64max |
| BUF_SIZE | 0 | card->driver | (-1),152 |
| DATA_SOURCE | 0 | card | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &card->lock | |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct fw_card)->lock |
drivers/firewire/core-topology.c node_tree_test_four_nodes_case0() -> for_each_fw_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | card->local_node->link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->link.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->node_id | 65472-u16max |
| PARAM_VALUE | 0 | card->node_id | 65475 |
| PARAM_VALUE | 0 | card->root_node | 4096-ptr_max |
| PARAM_VALUE | 0 | card->root_node->ports | 4096-ptr_max |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PARAM_VALUE | 1 | root->ports | 4096-ptr_max |
| BUF_SIZE | 0 | card->local_node | s32min-s32max |
| NOCHECK_CALL |
drivers/firewire/core-topology.c node_tree_test_four_nodes_case1() -> for_each_fw_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | card->local_node->link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->link.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->node_id | 65472-u16max |
| PARAM_VALUE | 0 | card->node_id | 65475 |
| PARAM_VALUE | 0 | card->root_node | 4096-ptr_max |
| PARAM_VALUE | 0 | card->root_node->ports | 4096-ptr_max |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PARAM_VALUE | 1 | root->ports | 4096-ptr_max |
| BUF_SIZE | 0 | card->local_node | s32min-s32max |
| NOCHECK_CALL |
drivers/firewire/core-topology.c node_tree_test_four_nodes_case2() -> for_each_fw_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | card->local_node->link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->link.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->node_id | 65472-u16max |
| PARAM_VALUE | 0 | card->node_id | 65475 |
| PARAM_VALUE | 0 | card->root_node | 4096-ptr_max |
| PARAM_VALUE | 0 | card->root_node->ports | 4096-ptr_max |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PARAM_VALUE | 1 | root->ports | 4096-ptr_max |
| BUF_SIZE | 0 | card->local_node | s32min-s32max |
| NOCHECK_CALL |
drivers/firewire/core-topology.c node_tree_test_four_nodes_case3() -> for_each_fw_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | card->local_node->link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->link.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->node_id | 65472-u16max |
| PARAM_VALUE | 0 | card->node_id | 65475 |
| PARAM_VALUE | 0 | card->root_node | 4096-ptr_max |
| PARAM_VALUE | 0 | card->root_node->ports | 4096-ptr_max |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PARAM_VALUE | 1 | root->ports | 4096-ptr_max |
| BUF_SIZE | 0 | card->local_node | s32min-s32max |
| NOCHECK_CALL |
drivers/firewire/core-topology.c node_tree_test_three_nodes_case0() -> for_each_fw_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | card->local_node->link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->link.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->node_id | 65472-u16max |
| PARAM_VALUE | 0 | card->node_id | 65474 |
| PARAM_VALUE | 0 | card->root_node | 4096-ptr_max |
| PARAM_VALUE | 0 | card->root_node->ports | 4096-ptr_max |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PARAM_VALUE | 1 | root->ports | 4096-ptr_max |
| BUF_SIZE | 0 | card->local_node | s32min-s32max |
| NOCHECK_CALL |
drivers/firewire/core-topology.c node_tree_test_three_nodes_case1() -> for_each_fw_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | card->local_node->link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->link.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->node_id | 65472-u16max |
| PARAM_VALUE | 0 | card->node_id | 65474 |
| PARAM_VALUE | 0 | card->root_node | 4096-ptr_max |
| PARAM_VALUE | 0 | card->root_node->ports | 4096-ptr_max |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PARAM_VALUE | 1 | root->ports | 4096-ptr_max |
| BUF_SIZE | 0 | card->local_node | s32min-s32max |
| NOCHECK_CALL |
drivers/firewire/core-topology.c node_tree_test_two_nodes() -> for_each_fw_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | card->local_node->link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->link.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->node_id | 65472-u16max |
| PARAM_VALUE | 0 | card->node_id | 65473 |
| PARAM_VALUE | 0 | card->root_node | 4096-ptr_max |
| PARAM_VALUE | 0 | card->root_node->ports | 4096-ptr_max |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PARAM_VALUE | 1 | root->ports | 4096-ptr_max |
| BUF_SIZE | 0 | card->local_node | s32min-s32max |
| NOCHECK_CALL |
drivers/firewire/core-topology.c node_tree_test_two_nodes_1394a() -> for_each_fw_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | card->local_node->link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->link.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node->node_id | 65472-u16max |
| PARAM_VALUE | 0 | card->node_id | 65473 |
| PARAM_VALUE | 0 | card->root_node | 4096-ptr_max |
| PARAM_VALUE | 0 | card->root_node->ports | 4096-ptr_max |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PARAM_VALUE | 1 | root->ports | 4096-ptr_max |
| BUF_SIZE | 0 | card->local_node | s32min-s32max |
| NOCHECK_CALL |
drivers/firewire/core-topology.c update_tree() -> for_each_fw_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card | 4096-ptr_max |
| PARAM_VALUE | 0 | card->bm_node_id | u16max |
| PARAM_VALUE | 0 | card->gap_count | 0-63 |
| PARAM_VALUE | 0 | card->generation | 0-255 |
| PARAM_VALUE | 0 | card->irm_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node | 1-u64max |
| PARAM_VALUE | 0 | card->local_node->link.next | 959369032437657600 |
| PARAM_VALUE | 0 | card->local_node->link.prev | 959369032437657600 |
| PARAM_VALUE | 0 | card->node_id | 0-u16max |
| PARAM_VALUE | 0 | card->root_node | 4096-ptr_max |
| PARAM_VALUE | 1 | root | 1-u64max |
| CAPPED_DATA | 0 | card->generation | 1 |
| DATA_SOURCE | 0 | card | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | card->node_id | 0-u16max |
| LOCK2 | 0 | &card->lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct fw_card)->lock |
drivers/firewire/core-topology.c update_tree() -> for_each_fw_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card | 4096-ptr_max |
| PARAM_VALUE | 0 | card->bm_node_id | u16max |
| PARAM_VALUE | 0 | card->gap_count | 0-63 |
| PARAM_VALUE | 0 | card->generation | 0-255 |
| PARAM_VALUE | 0 | card->irm_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node | 1-u64max |
| PARAM_VALUE | 0 | card->local_node->link.next | 959369032437657600 |
| PARAM_VALUE | 0 | card->local_node->link.prev | 959369032437657600 |
| PARAM_VALUE | 0 | card->node_id | 0-u16max |
| PARAM_VALUE | 0 | card->root_node | 4096-ptr_max |
| PARAM_VALUE | 1 | root | 0 |
| BUF_SIZE | 1 | root | 0 |
| CAPPED_DATA | 0 | card->generation | 1 |
| DATA_SOURCE | 0 | card | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | card->node_id | 0-u16max |
| LOCK2 | 0 | &card->lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct fw_card)->lock |