Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/thunderbolt/tb.c tb_tunnel_pci() -> tb_tunnel_alloc_pci()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops->add_switch_key | 0,1002246512258781184,6981059831128449024 |
| PARAM_VALUE | 0 | tb->cm_ops->approve_switch | 31640814900572160,2048108674026024960,5888713353499512832 |
| PARAM_VALUE | 0 | tb->cm_ops->challenge_switch_key | 0,2464593166624247808,8264241279748280320 |
| PARAM_VALUE | 1 | up | 4096-ptr_max |
| PARAM_VALUE | 1 | up->config.type | 1048834 |
| PARAM_VALUE | 2 | down | 4096-ptr_max |
| CAPPED_DATA | 1 | up | 1 |
| CAPPED_DATA | 2 | down | 1 |
| DATA_SOURCE | 0 | tb | $0 |
| DATA_SOURCE | 1 | up | r tb_switch_find_port |
| DATA_SOURCE | 2 | down | r tb_find_pcie_down |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &sw->tb->lock | ||
| LOCK2 | 0 | &tb->lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/test.c TB_TEST_PCIE_TUNNEL() -> tb_tunnel_alloc_pci()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 0 |
| PARAM_VALUE | 1 | up | 4096-ptr_max |
| PARAM_VALUE | 2 | down | 4096-ptr_max |
drivers/thunderbolt/test.c tb_test_credit_alloc_legacy_bonded() -> tb_tunnel_alloc_pci()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 0 |
| PARAM_VALUE | 1 | up | 4096-ptr_max |
| PARAM_VALUE | 2 | down | 4096-ptr_max |
drivers/thunderbolt/test.c tb_test_credit_alloc_legacy_not_bonded() -> tb_tunnel_alloc_pci()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 0 |
| PARAM_VALUE | 1 | up | 4096-ptr_max |
| PARAM_VALUE | 2 | down | 4096-ptr_max |
drivers/thunderbolt/test.c tb_test_credit_alloc_pcie() -> tb_tunnel_alloc_pci()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 0 |
| PARAM_VALUE | 1 | up | 4096-ptr_max |
| PARAM_VALUE | 2 | down | 4096-ptr_max |
drivers/thunderbolt/test.c tb_test_credit_alloc_without_dp() -> tb_tunnel_alloc_pci()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 0 |
| PARAM_VALUE | 1 | up | 4096-ptr_max |
| PARAM_VALUE | 2 | down | 4096-ptr_max |
drivers/thunderbolt/test.c tb_test_tunnel_pcie() -> tb_tunnel_alloc_pci()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 0 |
| PARAM_VALUE | 1 | up | 4096-ptr_max |
| PARAM_VALUE | 2 | down | 4096-ptr_max |
drivers/thunderbolt/test.c tb_test_tunnel_pcie() -> tb_tunnel_alloc_pci()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 0 |
| PARAM_VALUE | 1 | up | 4096-ptr_max |
| PARAM_VALUE | 2 | down | 4096-ptr_max |