Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/firewire/core-card.c
- drivers/firewire/core-device.c
- drivers/firewire/core-iso.c
- drivers/firewire/core-transaction.c, line 497
- drivers/firewire/sbp2.c
- drivers/media/firewire/firedtv-fw.c, line 44
- drivers/target/sbp/sbp_target.c, line 1061
- sound/firewire/bebob/bebob_maudio.c, line 123
- sound/firewire/lib.c, line 46
Smatch caller information:
sound/firewire/lib.c snd_fw_transaction() -> fw_run_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tcode | 0-1,4-5,18 |
| PARAM_VALUE | 7 | length | 0-4000000 |
| BUF_SIZE | 6 | payload | (-1)-s32max |
| BUF_SIZE | 6 | payload | (-1)-s32max |
| CAPPED_DATA | 7 | length | 1 |
| CAPPED_DATA | 7 | length | 1 |
| DATA_SOURCE | 1 | tcode | $1 |
| DATA_SOURCE | 5 | offset | $2 |
| DATA_SOURCE | 6 | payload | $3 |
| DATA_SOURCE | 7 | length | $4 |
| FUZZY_MAX | 1 | tcode | 5 |
| FUZZY_MAX | 7 | length | 36 |
| BIT_INFO | 1 | tcode | 0x0,0x17 |
| NOSPEC | 7 | length | |
| HARD_MAX | 1 | tcode | 18 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 7 | length | 24-512[c] |
| UNITS | 7 | length | unit_byte |
| USER_PTR | 6 | payload | |
| HALF_LOCKED2 | &runtime->buffer_mutex | ||
| HALF_LOCKED2 | &seq->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/firewire/core-iso.c manage_bandwidth() -> fw_run_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card | 4096-ptr_max |
| PARAM_VALUE | 0 | card->irm_node | 4096-ptr_max |
| PARAM_VALUE | 1 | tcode | 18 |
| PARAM_VALUE | 2 | destination_id | 0-u16max |
| PARAM_VALUE | 4 | speed | 0 |
| PARAM_VALUE | 5 | offset | 281474708275744 |
| PARAM_VALUE | 6 | payload | 4096-ptr_max |
| PARAM_VALUE | 7 | length | 8 |
| BUF_SIZE | 6 | payload | 8 |
| DATA_SOURCE | 0 | card | $0 |
| DATA_SOURCE | 2 | destination_id | $1 |
| DATA_SOURCE | 3 | generation | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/firewire/core-iso.c manage_channel() -> fw_run_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card | 4096-ptr_max |
| PARAM_VALUE | 0 | card->driver->read_csr | 4096-ptr_max |
| PARAM_VALUE | 0 | card->irm_node | 4096-ptr_max |
| PARAM_VALUE | 1 | tcode | 18 |
| PARAM_VALUE | 2 | destination_id | 0-u16max |
| PARAM_VALUE | 4 | speed | 0 |
| PARAM_VALUE | 5 | offset | 281474708275748,281474708275752 |
| PARAM_VALUE | 6 | payload | 4096-ptr_max |
| PARAM_VALUE | 7 | length | 8 |
| BUF_SIZE | 6 | payload | 8 |
| DATA_SOURCE | 0 | card | $0 |
| DATA_SOURCE | 2 | destination_id | $1 |
| DATA_SOURCE | 3 | generation | $2 |
| DATA_SOURCE | 5 | offset | $4 |
| BIT_INFO | 5 | offset | 0xfffff0000220,0xfffff000022c |
| BIT_INFO | 5 | offset | 0xfffff0000220,0xfffff000022c |
| HARD_MAX | 5 | offset | 281474708275752 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/firewire/core-card.c bm_work() -> fw_run_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card | 4096-ptr_max |
| PARAM_VALUE | 0 | card->irm_node | 4096-ptr_max |
| PARAM_VALUE | 0 | card->local_node | 4096-ptr_max |
| PARAM_VALUE | 0 | card->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | card->root_node | 4096-ptr_max |
| PARAM_VALUE | 1 | tcode | 0 |
| PARAM_VALUE | 2 | destination_id | 0-u16max |
| PARAM_VALUE | 4 | speed | 0 |
| PARAM_VALUE | 5 | offset | 281474708275204 |
| PARAM_VALUE | 6 | payload | 4078929420286005248 |
| PARAM_VALUE | 6 | *payload | 256 |
| PARAM_VALUE | 7 | length | 4 |
| BUF_SIZE | 6 | payload | 4 |
| CAPPED_DATA | 2 | destination_id | 1 |
| UNITS | 7 | length | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/firewire/core-card.c contend_for_bm() -> fw_run_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card | 4096-ptr_max |
| PARAM_VALUE | 0 | card->irm_node | 4096-ptr_max |
| PARAM_VALUE | 0 | card->irm_node->link_on | 1 |
| PARAM_VALUE | 0 | card->local_node | 4096-ptr_max |
| PARAM_VALUE | 0 | card->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | card->root_node | 4096-ptr_max |
| PARAM_VALUE | 1 | tcode | 18 |
| PARAM_VALUE | 2 | destination_id | 0-u16max |
| PARAM_VALUE | 4 | speed | 0 |
| PARAM_VALUE | 5 | offset | 281474708275740 |
| PARAM_VALUE | 6 | payload | 4096-ptr_max |
| PARAM_VALUE | 7 | length | 8 |
| BUF_SIZE | 6 | payload | 8 |
| DATA_SOURCE | 0 | card | $0 |
| UNITS | 7 | length | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/firewire/sbp2.c sbp2_agent_reset() -> fw_run_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tcode | 0 |
| PARAM_VALUE | 6 | payload | 8943603746683584512 |
| PARAM_VALUE | 6 | *payload | 0 |
| PARAM_VALUE | 7 | length | 4 |
| BUF_SIZE | 6 | payload | 4 |
| NOCHECK_CALL |
drivers/firewire/sbp2.c sbp2_set_busy_timeout() -> fw_run_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tcode | 0 |
| PARAM_VALUE | 5 | offset | 281474708275728 |
| PARAM_VALUE | 6 | payload | 7251126624838348800 |
| PARAM_VALUE | 6 | *payload | 819215 |
| PARAM_VALUE | 7 | length | 4 |
| BUF_SIZE | 6 | payload | 4 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/firewire/firedtv-fw.c node_req() -> fw_run_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tcode | 1,4,18 |
| PARAM_VALUE | 5 | offset | 281474708277508,281474708277512-281476855761155 |
| PARAM_VALUE | 6 | payload | 4096-ptr_max |
| PARAM_VALUE | 7 | length | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 6 | payload | 8,512 |
| BUF_SIZE | 6 | payload | 8,512 |
| CAPPED_DATA | 7 | length | 1 |
| CAPPED_DATA | 7 | length | 1 |
| DATA_SOURCE | 1 | tcode | $4 |
| DATA_SOURCE | 5 | offset | $1 |
| DATA_SOURCE | 6 | payload | $2 |
| DATA_SOURCE | 7 | length | $3 |
| BIT_INFO | 7 | length | 0x0,0x7fffffff |
| BIT_INFO | 7 | length | 0x0,0x7fffffff |
| NOSPEC | 7 | length | |
| NOSPEC | 7 | length | |
| HARD_MAX | 1 | tcode | 18 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 7 | length | 0,32-4604[c] |
| NO_OVERFLOW_SIMPLE | 5 | offset | |
| HALF_LOCKED2 | &fdtv->avc_mutex |
drivers/firewire/core-device.c read_rom() -> fw_run_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tcode | 4 |
| PARAM_VALUE | 5 | offset | 281474708276224-281474708277244 |
| PARAM_VALUE | 6 | payload | 4096-ptr_max |
| PARAM_VALUE | 7 | length | 4 |
| CAPPED_DATA | 5 | offset | 1 |
| CAPPED_DATA | 5 | offset | 1 |
| DATA_SOURCE | 3 | generation | $1 |
| DATA_SOURCE | 4 | speed | $2 |
| DATA_SOURCE | 6 | payload | $4 |
| HALF_LOCKED2 | &pool->lock |
drivers/firewire/core-device.c set_broadcast_channel() -> fw_run_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card | 4096-ptr_max |
| PARAM_VALUE | 0 | card->broadcast_channel_allocated | 1 |
| PARAM_VALUE | 1 | tcode | 4 |
| PARAM_VALUE | 5 | offset | 281474708275764 |
| PARAM_VALUE | 6 | payload | 8319030462922412032 |
| PARAM_VALUE | 7 | length | 4 |
| BUF_SIZE | 6 | payload | 4 |
| DATA_SOURCE | 3 | generation | $1 |
| HALF_LOCKED2 | _T->lock |
drivers/firewire/core-device.c set_broadcast_channel() -> fw_run_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card | 4096-ptr_max |
| PARAM_VALUE | 0 | card->broadcast_channel_allocated | 1 |
| PARAM_VALUE | 1 | tcode | 0 |
| PARAM_VALUE | 5 | offset | 281474708275764 |
| PARAM_VALUE | 6 | payload | 8319030462922412032 |
| PARAM_VALUE | 6 | *payload | 3221225503 |
| PARAM_VALUE | 7 | length | 4 |
| BUF_SIZE | 6 | payload | 4 |
| DATA_SOURCE | 3 | generation | $1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |
drivers/target/sbp/sbp_target.c sbp_run_transaction() -> fw_run_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tcode | 1,4-5 |
| PARAM_VALUE | 6 | payload | 0,16,28,4096-ptr_max |
| PARAM_VALUE | 7 | length | 0-3999988,18446744071562067968-u64max |
| BUF_SIZE | 6 | payload | (-1),4,16,32 |
| BUF_SIZE | 6 | payload | (-1),4,16,32 |
| CAPPED_DATA | 7 | length | 1 |
| CAPPED_DATA | 7 | length | 1 |
| DATA_SOURCE | 0 | card | $0 |
| DATA_SOURCE | 1 | tcode | $1 |
| DATA_SOURCE | 2 | destination_id | $2 |
| DATA_SOURCE | 3 | generation | $3 |
| DATA_SOURCE | 4 | speed | $4 |
| DATA_SOURCE | 5 | offset | $5 |
| DATA_SOURCE | 6 | payload | $6 |
| DATA_SOURCE | 7 | length | $7 |
| FUZZY_MAX | 1 | tcode | 5 |
| HARD_MAX | 1 | tcode | 5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 5 | offset | unit_byte |
| UNITS | 6 | payload | unit_byte |
| UNITS | 7 | length | unit_byte |
| HALF_LOCKED2 | &pool->lock |
sound/firewire/bebob/bebob_maudio.c snd_bebob_maudio_load_firmware() -> fw_run_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tcode | 1 |
| PARAM_VALUE | 5 | offset | 281474037321728 |
| PARAM_VALUE | 6 | payload | 4096-ptr_max |
| PARAM_VALUE | 7 | length | 12 |
| BUF_SIZE | 6 | payload | 4 |
| DATA_SOURCE | 6 | payload | r _kmalloc_array_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING |