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/hwtracing/stm/core.c __stm_source_link_drop() -> stm_put_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stm | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | stm->dev.power.runtime_status | 0,2 |
| PARAM_VALUE | 0 | stm->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | stm->mc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stm->pdrv | 0,4096-ptr_max |
| CAPPED_DATA | 0 | stm | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &src->link_lock | ||
| LOCK2 | &stm->link_lock | ||
| LOCK2 | &stm->link_mutex | ||
| HALF_LOCKED2 | global &stm_source_srcu | ||
| TYPE_LOCK | (struct stm_device)->link_lock | ||
| TYPE_LOCK | (struct stm_device)->link_mutex | ||
| TYPE_LOCK | (struct stm_source_device)->link_lock |
drivers/hwtracing/stm/core.c stm_char_release() -> stm_put_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stm | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->data | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->data->unlink | 0 |
| PARAM_VALUE | 0 | stm->mc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stm->pdrv | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/hwtracing/stm/core.c stm_source_link_store() -> stm_put_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stm | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->data->link | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->data->sw_end | 0-u16max |
| PARAM_VALUE | 0 | stm->data->sw_nchannels | 0-u16max |
| PARAM_VALUE | 0 | stm->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stm->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stm->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | stm->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | stm->dev.power.runtime_status | 0,2 |
| PARAM_VALUE | 0 | stm->dev.power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stm->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | stm->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stm->link_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->link_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->link_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->link_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stm->link_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stm->link_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stm->link_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | stm->link_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | stm->link_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | stm->link_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | stm->mc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stm->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stm->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | stm->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | stm->pdrv | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stm->policy_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stm->policy_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stm->policy_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | stm->policy_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | stm->policy_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stm->policy_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | stm->policy_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | stm->policy_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | stm->policy_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | stm->policy_mutex.osq.tail.counter | 0-s32max |
| CAPPED_DATA | 0 | stm->data->sw_nchannels | 1 |
| DATA_SOURCE | 0 | stm | r stm_find_device |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwtracing/stm/policy.c stp_policy_make() -> stm_put_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stm | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stm->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | stm->owner->state | 0-1,3-u32max |
| DATA_SOURCE | 0 | stm | r stm_find_device |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct configfs_subsystem)->su_mutex |
drivers/hwtracing/stm/policy.c stp_policy_make() -> stm_put_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stm | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stm->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | stm->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | stm->pdrv | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->pdrv->name | 7500581273668202496,8128501194724818944 |
| PARAM_VALUE | 0 | stm->pdrv->output_close | 0,2355413312896823296 |
| PARAM_VALUE | 0 | stm->pdrv->output_open | 0,4491735803974623232 |
| PARAM_VALUE | 0 | stm->pdrv->policy_attr | 0,1044168557882757120 |
| PARAM_VALUE | 0 | stm->pdrv->policy_node_init | 0,898367749213544448 |
| PARAM_VALUE | 0 | stm->pdrv->priv_sz | 0,40 |
| PARAM_VALUE | 0 | stm->pdrv->write | 1238473427475238912,2425745380249796608 |
| PARAM_VALUE | 0 | stm->policy->group.cg_children.next | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->policy->group.cg_children.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->policy->group.cg_children.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->policy->group.cg_children.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->policy->group.cg_children.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->policy->group.cg_item->ci_name | 0-255 |
| PARAM_VALUE | 0 | stm->policy->group.cg_item->ci_namebuf | 0-255 |
| PARAM_VALUE | 0 | stm->policy->group.cg_item.ci_entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->policy->group.cg_item.ci_entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->policy->group.cg_item.ci_entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->policy->group.cg_item.ci_entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->policy->group.cg_item.ci_entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->policy->group.cg_item.ci_kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | stm->policy->group.cg_item.ci_type | 865878837316739072 |
| PARAM_VALUE | 0 | stm->policy->group.default_groups.next | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->policy->group.default_groups.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->policy->group.default_groups.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->policy->group.default_groups.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->policy->group.default_groups.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->policy->stm | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->policy->stm->pdrv | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->policy->stm->policy | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->policy->stm->policy_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | stm->policy->stm->policy_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | stm->policy->stm->policy_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | stm->policy_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stm->policy_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stm->policy_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | stm->policy_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | stm->policy_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | stm->policy_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | stm->policy_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | stm->policy_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | stm->policy_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | stm->policy_mutex.wait_lock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | stm->policy | 144,u64max |
| CAPPED_DATA | 0 | &stm->policy_mutex | 1 |
| DATA_SOURCE | 0 | stm | r stm_find_device |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct configfs_subsystem)->su_mutex |
drivers/hwtracing/stm/policy.c stp_policy_unbind() -> stm_put_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stm | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->pdrv | 0 |
| PARAM_VALUE | 0 | stm->policy | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &stm->policy_mutex | ||
| TYPE_LOCK | (struct stm_device)->policy_mutex |