Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hwtracing/intel_th/msu.c mode_store() -> msc_buffer_unassign()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msc | 4096-ptr_max |
| PARAM_VALUE | 0 | msc->base | 0 |
| PARAM_VALUE | 0 | msc->base_addr | 0 |
| PARAM_VALUE | 0 | msc->buf_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | msc->buf_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | msc->buf_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | msc->buf_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | msc->buf_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | msc->buf_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | msc->buf_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | msc->do_irq | 1 |
| PARAM_VALUE | 0 | msc->mbuf_priv->nr_sgts | 0-4294967295 |
| PARAM_VALUE | 0 | msc->mode | 0-3 |
| PARAM_VALUE | 0 | msc->single_sgt.sgl | 0 |
| PARAM_VALUE | 0 | msc->user_count.counter | 0-s32max |
| BUF_SIZE | 0 | msc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | msc | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &msc->buf_mutex | 1 |
| CAPABLE | 0 | 17 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | msc | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &msc->buf_mutex | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct msc)->buf_mutex |
drivers/hwtracing/intel_th/msu.c mode_store() -> msc_buffer_unassign()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msc | 4096-ptr_max |
| PARAM_VALUE | 0 | msc->base | 0 |
| PARAM_VALUE | 0 | msc->base_addr | 0 |
| PARAM_VALUE | 0 | msc->buf_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | msc->buf_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | msc->buf_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | msc->buf_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | msc->buf_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | msc->buf_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | msc->buf_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | msc->mbuf_priv->nr_sgts | 0-4294967295 |
| PARAM_VALUE | 0 | msc->mode | 0-3 |
| PARAM_VALUE | 0 | msc->single_sgt.sgl | 0 |
| PARAM_VALUE | 0 | msc->user_count.counter | 0-s32max |
| BUF_SIZE | 0 | msc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | msc | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &msc->buf_mutex | 1 |
| CAPABLE | 0 | 17 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | msc | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &msc->buf_mutex | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct msc)->buf_mutex |