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_dp_resource_available() -> tb_port_is_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->config.type | 917761-917762 |
| PARAM_VALUE | 0 | port->remote | 0 |
| CAPPED_DATA | 0 | port | 1 |
| DATA_SOURCE | 0 | port | $1 |
| LOCK2 | &tb->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/tb.c tb_find_dp_out() -> tb_port_is_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->config.type | 917762 |
| CAPPED_DATA | 0 | &port->list | 1 |
| LOCK2 | &tb->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/tb.c tb_find_unused_port() -> tb_port_is_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->cap_adap | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | port->config.type | 1048833 |
| CAPPED_DATA | 0 | port | 1 |
| 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_dp() -> tb_port_is_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->config.type | 917761 |
| PARAM_VALUE | 0 | port->group->index | 1-7 |
| PARAM_VALUE | 0 | port->sw->dev.power.wakeirq->status | 0-4294967295 |
| CAPPED_DATA | 0 | &port->list | 1 |
| LOCK2 | &tb->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/tb.c tb_tunnel_usb3() -> tb_port_is_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->config.type | 2097410 |
| CAPPED_DATA | 0 | port | 1 |
| DATA_SOURCE | 0 | port | r tb_switch_find_port |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |