Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/pmdomain/core.c __genpd_dev_pm_attach() -> genpd_remove_device()

Type Parameter Key Value
PARAM_VALUE 0 genpd 4096-ptr_max
PARAM_VALUE 0 genpd->dev_list.prev 4096-ptr_max
PARAM_VALUE 0 genpd->dev_list.prev->next 4096-ptr_max
PARAM_VALUE 0 genpd->dev_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 genpd->gd 0,4096-ptr_max
PARAM_VALUE 0 genpd->gd->max_off_time_changed 1
PARAM_VALUE 0 genpd->gd->reflect_residency 0
PARAM_VALUE 0 genpd->lock_ops 4096-ptr_max
PARAM_VALUE 0 genpd->lock_ops->lock 4096-ptr_max
PARAM_VALUE 0 genpd->lock_ops->unlock 4096-ptr_max
PARAM_VALUE 0 genpd->status 1-u32max
PARAM_VALUE 1 dev 4096-ptr_max
PARAM_VALUE 1 dev->dma_ops->alloc 0,1744715142275031040,2065280936184246272,2938795245442469888
PARAM_VALUE 1 dev->dma_ops->alloc_pages_op 0,4686288359180861440,6350905364812603392,6978773206971854848
PARAM_VALUE 1 dev->dma_ops->cache_sync 0
PARAM_VALUE 1 dev->dma_ops->dma_supported 0,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888
PARAM_VALUE 1 dev->dma_ops->free 0,4778164490434129920,7144974343242604544,7861694134817480704
PARAM_VALUE 1 dev->dma_ops->free_pages 0,239457316199952384,5196233516945883136,7413093576918179840
PARAM_VALUE 1 dev->dma_ops->get_merge_boundary 0
PARAM_VALUE 1 dev->dma_ops->get_required_mask 0,7770840938859397120
PARAM_VALUE 1 dev->dma_ops->get_sgtable 0,1322759480623644672
PARAM_VALUE 1 dev->dma_ops->map_phys 0,2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696
PARAM_VALUE 1 dev->dma_ops->map_sg 0,2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488
PARAM_VALUE 1 dev->dma_ops->max_mapping_size 0,8830639662091943936
PARAM_VALUE 1 dev->dma_ops->mmap 0,5761417605877342208,7694740394750603264
PARAM_VALUE 1 dev->dma_ops->opt_mapping_size 0
PARAM_VALUE 1 dev->dma_ops->sync_sg_for_cpu 0,4862850025765572608
PARAM_VALUE 1 dev->dma_ops->sync_sg_for_device 0,3732476178258022400
PARAM_VALUE 1 dev->dma_ops->sync_single_for_cpu 0,1155325867376779264
PARAM_VALUE 1 dev->dma_ops->sync_single_for_device 0,8781567156597239808
PARAM_VALUE 1 dev->dma_ops->unmap_phys 0,3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048
PARAM_VALUE 1 dev->dma_ops->unmap_sg 0,1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440
PARAM_VALUE 1 dev->iommu_group->owner_cnt 0-4294967295
PARAM_VALUE 1 dev->kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 1 dev->of_node->properties 4096-ptr_max
PARAM_VALUE 1 dev->parent->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 1 dev->parent->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 1 dev->parent->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 dev->pm_domain 4096-ptr_max
PARAM_VALUE 1 dev->pm_domain->detach 4576848636919369728
PARAM_VALUE 1 dev->pm_domain->sync 9206289131527999488
PARAM_VALUE 1 dev->power.qos->flags.list.next 4096-ptr_max
PARAM_VALUE 1 dev->power.qos->flags.list.prev 4096-ptr_max
PARAM_VALUE 1 dev->power.qos->freq.max_freq.default_value s32max
PARAM_VALUE 1 dev->power.qos->freq.max_freq.no_constraint_value s32max
PARAM_VALUE 1 dev->power.qos->freq.max_freq.notifiers 4096-ptr_max
PARAM_VALUE 1 dev->power.qos->freq.max_freq.target_value s32max
PARAM_VALUE 1 dev->power.qos->freq.max_freq.type 2
PARAM_VALUE 1 dev->power.qos->freq.min_freq.notifiers->head 1-u64max
PARAM_VALUE 1 dev->power.qos->latency_tolerance.no_constraint_value (-1)
PARAM_VALUE 1 dev->power.qos->latency_tolerance.type 2
PARAM_VALUE 1 dev->power.qos->resume_latency.notifiers->head 1-u64max
PARAM_VALUE 1 dev->power.subsys_data 4096-ptr_max
PARAM_VALUE 1 dev->power.subsys_data->clock_list.next 4096-ptr_max
PARAM_VALUE 1 dev->power.subsys_data->clock_list.next->next 4096-ptr_max
PARAM_VALUE 1 dev->power.subsys_data->clock_list.prev 4096-ptr_max
PARAM_VALUE 1 dev->power.subsys_data->clock_list.prev->next 4096-ptr_max
PARAM_VALUE 1 dev->power.subsys_data->clock_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 dev->power.subsys_data->clock_mutex.dep_map->name 0-255
PARAM_VALUE 1 dev->power.subsys_data->clock_mutex.magic 4096-ptr_max
PARAM_VALUE 1 dev->power.subsys_data->domain_data 0,4096-ptr_max
BUF_SIZE 1 dev (-1)-0,4,16,24-s32max
BUF_SIZE 1 dev (-1)-0,4,16,24-s32max
CAPPED_DATA 1 dev 1
DATA_SOURCE 0 genpd r genpd_get_from_provider
DATA_SOURCE 1 dev $0
STR_LEN 0 genpd (-1)
STR_LEN 1 dev (-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 dev->flags 4096-u32max
HALF_LOCKED2 &base_dev->mutex
HALF_LOCKED2 1 &dev->mutex

drivers/pmdomain/core.c __genpd_dev_pm_attach() -> genpd_remove_device()

Type Parameter Key Value
PARAM_VALUE 0 genpd 4096-ptr_max
PARAM_VALUE 0 genpd->dev_list.prev 4096-ptr_max
PARAM_VALUE 0 genpd->dev_list.prev->next 4096-ptr_max
PARAM_VALUE 0 genpd->dev_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 genpd->gd->max_off_time_changed 1
PARAM_VALUE 0 genpd->lock_ops->lock 4096-ptr_max
PARAM_VALUE 0 genpd->lock_ops->unlock 4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
PARAM_VALUE 1 dev->dma_ops->alloc 0,1744715142275031040,2065280936184246272,2938795245442469888
PARAM_VALUE 1 dev->dma_ops->alloc_pages_op 0,4686288359180861440,6350905364812603392,6978773206971854848
PARAM_VALUE 1 dev->dma_ops->cache_sync 0
PARAM_VALUE 1 dev->dma_ops->dma_supported 0,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888
PARAM_VALUE 1 dev->dma_ops->free 0,4778164490434129920,7144974343242604544,7861694134817480704
PARAM_VALUE 1 dev->dma_ops->free_pages 0,239457316199952384,5196233516945883136,7413093576918179840
PARAM_VALUE 1 dev->dma_ops->get_merge_boundary 0
PARAM_VALUE 1 dev->dma_ops->get_required_mask 0,7770840938859397120
PARAM_VALUE 1 dev->dma_ops->get_sgtable 0,1322759480623644672
PARAM_VALUE 1 dev->dma_ops->map_phys 0,2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696
PARAM_VALUE 1 dev->dma_ops->map_sg 0,2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488
PARAM_VALUE 1 dev->dma_ops->max_mapping_size 0,8830639662091943936
PARAM_VALUE 1 dev->dma_ops->mmap 0,5761417605877342208,7694740394750603264
PARAM_VALUE 1 dev->dma_ops->opt_mapping_size 0
PARAM_VALUE 1 dev->dma_ops->sync_sg_for_cpu 0,4862850025765572608
PARAM_VALUE 1 dev->dma_ops->sync_sg_for_device 0,3732476178258022400
PARAM_VALUE 1 dev->dma_ops->sync_single_for_cpu 0,1155325867376779264
PARAM_VALUE 1 dev->dma_ops->sync_single_for_device 0,8781567156597239808
PARAM_VALUE 1 dev->dma_ops->unmap_phys 0,3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048
PARAM_VALUE 1 dev->dma_ops->unmap_sg 0,1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440
PARAM_VALUE 1 dev->kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 1 dev->of_node->properties 4096-ptr_max
PARAM_VALUE 1 dev->pm_domain 4096-ptr_max
PARAM_VALUE 1 dev->pm_domain->detach 4576848636919369728
PARAM_VALUE 1 dev->pm_domain->sync 9206289131527999488
PARAM_VALUE 1 dev->power.qos->flags.list.next 4096-ptr_max
PARAM_VALUE 1 dev->power.qos->flags.list.prev 4096-ptr_max
PARAM_VALUE 1 dev->power.qos->freq.max_freq.default_value s32max
PARAM_VALUE 1 dev->power.qos->freq.max_freq.no_constraint_value s32max
PARAM_VALUE 1 dev->power.qos->freq.max_freq.notifiers 4096-ptr_max
PARAM_VALUE 1 dev->power.qos->freq.max_freq.target_value s32max
PARAM_VALUE 1 dev->power.qos->freq.max_freq.type 2
PARAM_VALUE 1 dev->power.qos->freq.min_freq.notifiers->head 1-u64max
PARAM_VALUE 1 dev->power.qos->latency_tolerance.no_constraint_value (-1)
PARAM_VALUE 1 dev->power.qos->latency_tolerance.type 2
PARAM_VALUE 1 dev->power.qos->resume_latency.notifiers->head 1-u64max
PARAM_VALUE 1 dev->power.subsys_data 0,4096-ptr_max
PARAM_VALUE 1 dev->power.subsys_data->clock_list.next 4096-ptr_max
PARAM_VALUE 1 dev->power.subsys_data->clock_list.next->next 4096-ptr_max
PARAM_VALUE 1 dev->power.subsys_data->clock_list.prev 4096-ptr_max
PARAM_VALUE 1 dev->power.subsys_data->clock_list.prev->next 4096-ptr_max
PARAM_VALUE 1 dev->power.subsys_data->clock_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 dev->power.subsys_data->clock_mutex.dep_map->name 0-255
PARAM_VALUE 1 dev->power.subsys_data->clock_mutex.magic 4096-ptr_max
PARAM_VALUE 1 dev->power.subsys_data->domain_data 0,4096-ptr_max
BUF_SIZE 1 dev (-1)-0,4,16,24-s32max
BUF_SIZE 1 dev (-1)-0,4,16,24-s32max
CAPPED_DATA 1 dev 1
DATA_SOURCE 0 genpd r genpd_get_from_provider
DATA_SOURCE 1 dev $0
STR_LEN 0 genpd (-1),2-6,8
STR_LEN 1 dev (-1),2-6,8
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 dev->flags 4096-u32max
HALF_LOCKED2 1 &dev->mutex

drivers/pmdomain/core.c genpd_dev_pm_detach() -> genpd_remove_device()

Type Parameter Key Value
PARAM_VALUE 0 genpd 4096-ptr_max
PARAM_VALUE 0 genpd->lock_ops->lock 4096-ptr_max
PARAM_VALUE 0 genpd->lock_ops->unlock 4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
PARAM_VALUE 1 dev->dma_ops->alloc 0,1744715142275031040,2065280936184246272,2938795245442469888
PARAM_VALUE 1 dev->dma_ops->alloc_pages_op 0,4686288359180861440,6350905364812603392,6978773206971854848
PARAM_VALUE 1 dev->dma_ops->cache_sync 0
PARAM_VALUE 1 dev->dma_ops->dma_supported 0,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888
PARAM_VALUE 1 dev->dma_ops->free 0,4778164490434129920,7144974343242604544,7861694134817480704
PARAM_VALUE 1 dev->dma_ops->free_pages 0,239457316199952384,5196233516945883136,7413093576918179840
PARAM_VALUE 1 dev->dma_ops->get_merge_boundary 0
PARAM_VALUE 1 dev->dma_ops->get_required_mask 0,7770840938859397120
PARAM_VALUE 1 dev->dma_ops->get_sgtable 0,1322759480623644672
PARAM_VALUE 1 dev->dma_ops->map_phys 0,2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696
PARAM_VALUE 1 dev->dma_ops->map_sg 0,2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488
PARAM_VALUE 1 dev->dma_ops->max_mapping_size 0,8830639662091943936
PARAM_VALUE 1 dev->dma_ops->mmap 0,5761417605877342208,7694740394750603264
PARAM_VALUE 1 dev->dma_ops->opt_mapping_size 0
PARAM_VALUE 1 dev->dma_ops->sync_sg_for_cpu 0,4862850025765572608
PARAM_VALUE 1 dev->dma_ops->sync_sg_for_device 0,3732476178258022400
PARAM_VALUE 1 dev->dma_ops->sync_single_for_cpu 0,1155325867376779264
PARAM_VALUE 1 dev->dma_ops->sync_single_for_device 0,8781567156597239808
PARAM_VALUE 1 dev->dma_ops->unmap_phys 0,3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048
PARAM_VALUE 1 dev->dma_ops->unmap_sg 0,1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440
PARAM_VALUE 1 dev->kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 1 dev->kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 1 dev->pm_domain 4096-ptr_max
PARAM_VALUE 1 dev->pm_domain->detach 1-u64max
PARAM_VALUE 1 dev->power.subsys_data 4096-ptr_max
PARAM_VALUE 1 dev->power.wakeirq->status 0-4294967295
BUF_SIZE 1 dev (-1)-0,4,8,16,24-s32max
BUF_SIZE 1 dev (-1)-0,4,8,16,24-s32max
BUF_SIZE 1 dev->bus (-1),168
BUF_SIZE 1 dev->driver (-1),152
BUF_SIZE 1 dev->groups (-1),16
DATA_SOURCE 0 genpd r dev_to_genpd
DATA_SOURCE 1 dev $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 dev->flags 4096-u32max
NO_OVERFLOW_SIMPLE 1 dev->physical_location
HALF_LOCKED2 1 &dev->mutex

drivers/pmdomain/core.c pm_genpd_remove_device() -> genpd_remove_device()

Type Parameter Key Value
PARAM_VALUE 0 genpd 4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
PARAM_VALUE 1 dev->pm_domain 4096-ptr_max
BUF_SIZE 1 dev (-1),1616
BUF_SIZE 1 dev (-1),1616
DATA_SOURCE 0 genpd r dev_to_genpd_safe
DATA_SOURCE 1 dev $0
RX_PATH
TASK_NOT_RUNNING