Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/thunderbolt/tb.c tb_approve_xdomain_paths() -> tb_tunnel_activate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tunnel | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->destroy | 5788821858521116672 |
| PARAM_VALUE | 0 | tunnel->dst_port | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | tunnel->npaths | 1-2 |
| PARAM_VALUE | 0 | tunnel->paths | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->src_port | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->tb->cm_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->tb->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->tb->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | tunnel->tb->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | tunnel->tb->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | tunnel->type | 2 |
| BUF_SIZE | 0 | tunnel | 384-392 |
| BUF_SIZE | 0 | tunnel | 384-392 |
| DATA_SOURCE | 0 | tunnel | r tb_tunnel_alloc_dma |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tb->lock | ||
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &dt->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/tb.c tb_resume_noirq() -> tb_tunnel_activate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tunnel | 4096-ptr_max |
| CAPPED_DATA | 0 | &tunnel->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &tb->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/tb.c tb_runtime_resume() -> tb_tunnel_activate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tunnel | 4096-ptr_max |
| CAPPED_DATA | 0 | &tunnel->list | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &tb->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/tb.c tb_tunnel_one_dp() -> tb_tunnel_activate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tunnel | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->activate | 1783186417120833536 |
| PARAM_VALUE | 0 | tunnel->alloc_bandwidth | 3069542716035928064 |
| PARAM_VALUE | 0 | tunnel->allocated_bandwidth | 4501942224939700224 |
| PARAM_VALUE | 0 | tunnel->callback | 3943476717374074880 |
| PARAM_VALUE | 0 | tunnel->callback_data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->consumed_bandwidth | 1489552455831150592 |
| PARAM_VALUE | 0 | tunnel->dst_port | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->dst_port->cap_adap | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | tunnel->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | tunnel->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->max_down | 0-120000 |
| PARAM_VALUE | 0 | tunnel->max_up | 0-120000 |
| PARAM_VALUE | 0 | tunnel->maximum_bandwidth | 8870249297734377472 |
| PARAM_VALUE | 0 | tunnel->npaths | 3 |
| PARAM_VALUE | 0 | tunnel->paths | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->post_deactivate | 8113205047477678080 |
| PARAM_VALUE | 0 | tunnel->pre_activate | 5875688945063530496 |
| PARAM_VALUE | 0 | tunnel->src_port | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->src_port->cap_adap | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | tunnel->src_port->sw | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->tb->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->tb->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | tunnel->tb->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | tunnel->tb->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | tunnel->tb->root_switch | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->type | 1 |
| BUF_SIZE | 0 | tunnel | 400 |
| BUF_SIZE | 0 | tunnel | 400 |
| DATA_SOURCE | 0 | tunnel | r tb_tunnel_alloc_dp |
| STR_LEN | 0 | tunnel->tb | (-1),14,23 |
| LOCK2 | &tb->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/tb.c tb_tunnel_pci() -> tb_tunnel_activate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tunnel | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->activate | 2518106222114308096 |
| PARAM_VALUE | 0 | tunnel->dst_port | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | tunnel->npaths | 2 |
| PARAM_VALUE | 0 | tunnel->paths | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->pre_activate | 7079717852789796864 |
| PARAM_VALUE | 0 | tunnel->src_port | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->tb->cm_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->type | 0 |
| BUF_SIZE | 0 | tunnel | 392 |
| BUF_SIZE | 0 | tunnel | 392 |
| DATA_SOURCE | 0 | tunnel | r tb_tunnel_alloc_pci |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &sw->tb->lock | ||
| LOCK2 | &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/tb.c tb_tunnel_usb3() -> tb_tunnel_activate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tunnel | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->activate | 83301611071414272 |
| PARAM_VALUE | 0 | tunnel->dst_port | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | tunnel->max_down | 0-120000 |
| PARAM_VALUE | 0 | tunnel->max_up | 0-120000 |
| PARAM_VALUE | 0 | tunnel->npaths | 2 |
| PARAM_VALUE | 0 | tunnel->paths | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->src_port | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->src_port->sw | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->type | 3 |
| BUF_SIZE | 0 | tunnel | 392 |
| BUF_SIZE | 0 | tunnel | 392 |
| DATA_SOURCE | 0 | tunnel | r tb_tunnel_alloc_usb3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |