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/devfreq/devfreq.c devfreq_monitor_suspend() -> devfreq_update_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devfreq | 4096-ptr_max |
| PARAM_VALUE | 0 | devfreq->cdev->device.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | devfreq->cdev->device.iommu_group->owner_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | devfreq->cdev->device.kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | devfreq->cdev->device.kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | devfreq->cdev->device.kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | devfreq->cdev->device.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | devfreq->cdev->device.parent->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | devfreq->cdev->device.parent->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | devfreq->cdev->device.parent->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | devfreq->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | devfreq->dev.iommu_group->owner_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | devfreq->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | devfreq->governor | 4096-ptr_max |
| PARAM_VALUE | 0 | devfreq->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devfreq->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devfreq->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | devfreq->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | devfreq->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devfreq->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | devfreq->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | devfreq->profile->dev_groups | 0 |
| PARAM_VALUE | 0 | devfreq->profile->freq_table | 0 |
| PARAM_VALUE | 0 | devfreq->profile->get_dev_status | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devfreq->profile->target | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devfreq->profile->timer | 0-1 |
| PARAM_VALUE | 0 | devfreq->stop_polling | 0 |
| BUF_SIZE | 0 | devfreq->data | (-1),8 |
| BUF_SIZE | 0 | devfreq->profile | (-1),72 |
| CAPPED_DATA | 0 | &devfreq->lock | 1 |
| DATA_SOURCE | 0 | devfreq | $0 |
| STR_LEN | 0 | devfreq->dev.parent | (-1) |
| STR_LEN | 0 | devfreq->user_max_freq_req.dev | (-1) |
| STR_LEN | 0 | devfreq->user_min_freq_req.dev | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | devfreq->user_max_freq_req->dev->driver_data | 0-u64max |
| HOST_DATA | 0 | devfreq->user_min_freq_req->dev->driver_data | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | devfreq->max_state | |
| NO_OVERFLOW_SIMPLE | 0 | devfreq->previous_freq | |
| NO_OVERFLOW_SIMPLE | 0 | devfreq->profile->max_state | |
| NO_OVERFLOW_SIMPLE | 0 | devfreq->resume_freq | |
| NO_OVERFLOW_SIMPLE | 1 | freq | |
| LOCK2 | 0 | &devfreq->lock | |
| HALF_LOCKED2 | &_dev->mutex | ||
| HALF_LOCKED2 | global &devfreq_list_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| TYPE_LOCK | (struct devfreq)->lock |
drivers/devfreq/devfreq.c devfreq_set_target() -> devfreq_update_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devfreq | 4096-ptr_max |
| PARAM_VALUE | 0 | devfreq->dev.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | devfreq->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | devfreq->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | devfreq->dev.dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | devfreq->dev.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | devfreq->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | devfreq->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | devfreq->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devfreq->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devfreq->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | devfreq->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | devfreq->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devfreq->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | devfreq->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | devfreq->profile | 4096-ptr_max |
| PARAM_VALUE | 0 | devfreq->transition_notifier_list.srcu.dep_map->name | 0-255 |
| BUF_SIZE | 0 | devfreq | (-1),3608 |
| BUF_SIZE | 0 | devfreq | (-1),3608 |
| BUF_SIZE | 0 | devfreq->data | (-1),8,72 |
| BUF_SIZE | 0 | devfreq->freq_table | (-1),1-s32max |
| BUF_SIZE | 0 | devfreq->opp_table | (-1)-s32max |
| BUF_SIZE | 0 | devfreq->profile | (-1),72 |
| BUF_SIZE | 0 | devfreq->stats.time_in_state | (-1),8-s32max |
| CAPPED_DATA | 0 | devfreq->transition_notifier_list.srcu.srcu_ctrp | 1 |
| CAPPED_DATA | 1 | freq | 1 |
| CAPPED_DATA | 1 | freq | 1 |
| DATA_SOURCE | 0 | devfreq | $0 |
| DATA_SOURCE | 1 | freq | $1 |
| STR_LEN | 0 | devfreq->dev.parent | (-1) |
| STR_LEN | 0 | devfreq->user_max_freq_req.dev | (-1) |
| STR_LEN | 0 | devfreq->user_min_freq_req.dev | (-1) |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | devfreq->last_status.current_frequency | 0-u64max |
| HOST_DATA | 0 | devfreq->max_state | 1-u32max[c] |
| HOST_DATA | 0 | devfreq->previous_freq | 0-u64max |
| HOST_DATA | 0 | devfreq->profile->initial_freq | 0-u64max |
| HOST_DATA | 0 | devfreq->profile->is_cooling_device | 0 |
| HOST_DATA | 0 | devfreq->profile->max_state | 0-u32max |
| HOST_DATA | 0 | devfreq->profile->polling_ms | 1000 |
| HOST_DATA | 0 | devfreq->profile->timer | 0 |
| HOST_DATA | 0 | devfreq->user_max_freq_req->dev->driver_data | 0-u64max |
| HOST_DATA | 0 | devfreq->user_min_freq_req->dev->driver_data | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | devfreq->max_state | |
| NO_OVERFLOW_SIMPLE | 0 | devfreq->previous_freq | |
| NO_OVERFLOW_SIMPLE | 0 | devfreq->profile->max_state | |
| NO_OVERFLOW_SIMPLE | 0 | devfreq->resume_freq | |
| LOCK2 | 0 | &devfreq->lock | |
| TYPE_LOCK | (struct devfreq)->lock |
drivers/devfreq/devfreq.c trans_stat_show() -> devfreq_update_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devfreq | 4096-ptr_max |
| PARAM_VALUE | 0 | devfreq->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devfreq->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devfreq->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | devfreq->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | devfreq->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devfreq->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | devfreq->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | devfreq->max_state | 1-u32max |
| PARAM_VALUE | 0 | devfreq->profile | 1-u64max |
| PARAM_VALUE | 0 | devfreq->stop_polling | 0 |
| CAPPED_DATA | 0 | &devfreq->lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &devfreq->lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct devfreq)->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |