Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/hv/vmbus_drv.c target_cpu_store() -> vmbus_channel_set_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | channel | 4096-ptr_max |
| DATA_SOURCE | 0 | channel | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &vmbus_connection.channel_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct vmbus_connection)->channel_mutex |
drivers/hv/hv.c hv_pick_new_cpu() -> vmbus_channel_set_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | channel | 4096-ptr_max |
| PARAM_VALUE | 0 | channel->target_cpu | 1-u32max |
| PARAM_VALUE | 1 | target_cpu | 0-8192 |
| CAPPED_DATA | 0 | channel->target_cpu | 1 |
| CAPPED_DATA | 1 | target_cpu | 1 |
| DATA_SOURCE | 0 | channel | $0 |
| PARAM_COMPARE | 0 | channel->target_cpu | != $1 |
| PARAM_COMPARE | 1 | target_cpu | != $0->target_cpu |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &vmbus_connection.channel_mutex | ||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct vmbus_connection)->channel_mutex |
drivers/hv/hv.c hv_pick_new_cpu() -> vmbus_channel_set_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | channel | 4096-ptr_max |
| PARAM_VALUE | 0 | channel->target_cpu | 1-u32max |
| PARAM_VALUE | 1 | target_cpu | 0 |
| CAPPED_DATA | 0 | channel->target_cpu | 1 |
| DATA_SOURCE | 0 | channel | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &vmbus_connection.channel_mutex | ||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct vmbus_connection)->channel_mutex |