Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/mmc/core/mmc.c _mmc_suspend() -> mmc_power_off()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->bus_ops->handle_undervoltage 0,5715618764364496896
PARAM_VALUE 0 host->bus_ops->shutdown 0,518975296561233920,3666404095795548160,4774049372095610880
PARAM_VALUE 0 host->card 4096-ptr_max
PARAM_VALUE 0 host->card->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 host->claimed 1
PARAM_VALUE 0 host->claimer 1-u64max
PARAM_VALUE 0 host->class_dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 host->crypto_profile.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 host->crypto_profile.lock.first_waiter->type 0-1
PARAM_VALUE 0 host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 *host->card->host->err_stats 0-4294967295
BUF_SIZE 0 host s32min-(-1),1-s32max
BUF_SIZE 0 host s32min-(-1),1-s32max
BUF_SIZE 0 host->ops (-1),216
DATA_SOURCE 0 host $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

drivers/mmc/core/mmc.c mmc_detect() -> mmc_power_off()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->bus_ops 0
PARAM_VALUE 0 host->card 0
PARAM_VALUE 0 host->claimed 1
PARAM_VALUE 0 host->claimer 1-u64max
PARAM_VALUE 0 host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 host->ops 4096-ptr_max
PARAM_VALUE 0 host->rescan_disable 0
PARAM_VALUE 0 host->rescan_entered 1
PARAM_VALUE 0 *host->card->debugfs_root->d_inode->i_sb->s_fs_info->s_first_error_func 0-255
PARAM_VALUE 0 *host->card->debugfs_root->d_inode->i_sb->s_fs_info->s_last_error_func 0-255
PARAM_VALUE 0 *host->card->host->private->mmc->err_stats 0-4294967295
DATA_SOURCE 0 host $0
NOCHECK_CALL
HOST_DATA 0 host->card->host->fail_mmc_request.stacktrace_depth 0-u64max
HALF_LOCKED2 &pool->lock

drivers/mmc/core/core.c mmc_power_cycle() -> mmc_power_off()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->bus_ops 4096-ptr_max
PARAM_VALUE 0 host->bus_ops->alive 1906702137495691264,4100673312553930752,8240428867100008448,8536880801271664640
PARAM_VALUE 0 host->bus_ops->cache_enabled 0,1098733984586403840,4881299913085493248
PARAM_VALUE 0 host->bus_ops->detect 245931203581796352,1542872396865765376,1875366231697330176,4093061870799568896
PARAM_VALUE 0 host->bus_ops->flush_cache 0,3587622788017254400,7818510581524353024
PARAM_VALUE 0 host->bus_ops->handle_undervoltage 0,5715618764364496896
PARAM_VALUE 0 host->bus_ops->hw_reset 699803882447048704,1948919612921233408,5591957539113283584,7372460283402813440
PARAM_VALUE 0 host->bus_ops->pre_suspend 0,1083409855367589888
PARAM_VALUE 0 host->bus_ops->remove 2795767785232470016,4061658381353811968,4908634697295884288,8421056737440350208
PARAM_VALUE 0 host->bus_ops->resume 3931261325286801408,4221290554353364992,6069926845157036032,8924422233890791424
PARAM_VALUE 0 host->bus_ops->runtime_resume 1928456666478362624,2360134597016772608,5606383331103363072,5665944524184592384
PARAM_VALUE 0 host->bus_ops->runtime_suspend 3539196923992891392,3998081179798327296,4957148204940177408,5876214581270134784
PARAM_VALUE 0 host->bus_ops->shutdown 0,518975296561233920,3666404095795548160,4774049372095610880
PARAM_VALUE 0 host->bus_ops->suspend 3666404095795548160,4717438414900617216,4774049372095610880,8774612123753914368
PARAM_VALUE 0 host->bus_ops->sw_reset 0,227273881174773760
PARAM_VALUE 0 host->card->dev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 host->card->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 host->card->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 host->card->host->debugfs_root->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 host->card->host->debugfs_root->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 host->crypto_profile.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 host->crypto_profile.lock.first_waiter->type 0-1
PARAM_VALUE 0 host->parent->cma_area->nranges s32min-s32max
PARAM_VALUE 0 *host->card->host->err_stats 0-4294967295
DATA_SOURCE 0 host $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 host->card->host->fail_mmc_request.stacktrace_depth 0-u64max
HOST_DATA 0 host->fail_mmc_request.stacktrace_depth 0-u64max
NO_OVERFLOW_SIMPLE 0 host->ios.clock
HALF_LOCKED2 &pool->lock

drivers/mmc/core/core.c mmc_rescan() -> mmc_power_off()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->bus_ops 0
PARAM_VALUE 0 host->claimed 1
PARAM_VALUE 0 host->claimer 1-u64max
PARAM_VALUE 0 host->detect_change 0
PARAM_VALUE 0 host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 host->ops 4096-ptr_max
PARAM_VALUE 0 host->ops->get_cd 1-u64max
PARAM_VALUE 0 host->rescan_disable 0
PARAM_VALUE 0 host->rescan_entered 1
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/mmc/core/core.c mmc_rescan_try_freq() -> mmc_power_off()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->card->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 host->card->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 host->card->host->ongoing_mrq->uhs2_cmd.packet_len 0,4-12
PARAM_VALUE 0 host->card->host->ongoing_mrq->uhs2_cmd.payload_len 0-8
PARAM_VALUE 0 host->card->host->ongoing_mrq->uhs2_cmd.tmode_half_duplex 0-1
PARAM_VALUE 0 host->card->host->ongoing_mrq->uhs2_cmd.uhs2_resp_len 0,4-6,8
PARAM_VALUE 0 host->crypto_profile.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 host->crypto_profile.lock.first_waiter->type 0-1
PARAM_VALUE 0 host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 host->ongoing_mrq->cmd_completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 host->ongoing_mrq->cmd_completion.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 host->ongoing_mrq->cmd_completion.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 host->ongoing_mrq->uhs2_cmd.packet_len 0,4-12
PARAM_VALUE 0 host->ongoing_mrq->uhs2_cmd.payload_len 0-8
PARAM_VALUE 0 host->ongoing_mrq->uhs2_cmd.tmode_half_duplex 0-1
PARAM_VALUE 0 host->ongoing_mrq->uhs2_cmd.uhs2_resp_len 0,4-6,8
PARAM_VALUE 0 host->private->pcr->pcr_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 host->private->pcr->pcr_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 host->private->ucr->dev_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 host->private->ucr->dev_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 *host->card->host->err_stats 0-4294967295
DATA_SOURCE 0 host $0
NOCHECK_CALL
HOST_DATA 0 host->card->host->fail_mmc_request.stacktrace_depth 0-u64max
HOST_DATA 0 host->card->host->private->def_tune_para s32min-s32max
HOST_DATA 0 host->card->host->private->def_tune_para->emmc_top_cmd 0-4294967295
HOST_DATA 0 host->card->host->private->def_tune_para->emmc_top_control 0-4294967295
HOST_DATA 0 host->card->host->private->def_tune_para->iocon 0-4294967295
HOST_DATA 0 host->card->host->private->def_tune_para->pad_cmd_tune 0-4294967295
HOST_DATA 0 host->card->host->private->def_tune_para->pad_tune 0-4294967295
HOST_DATA 0 host->card->host->private->saved_tune_para s32min-s32max
HOST_DATA 0 host->card->host->private->saved_tune_para->emmc_top_cmd 0-4294967295
HOST_DATA 0 host->card->host->private->saved_tune_para->emmc_top_control 0-4294967295
HOST_DATA 0 host->card->host->private->saved_tune_para->iocon 0-4294967295
HOST_DATA 0 host->card->host->private->saved_tune_para->pad_cmd_tune 0-4294967295
HOST_DATA 0 host->card->host->private->saved_tune_para->pad_tune 0-4294967295
HOST_DATA 0 host->fail_mmc_request.stacktrace_depth 0-u64max
HOST_DATA 0 host->private->mmc->uhs2_caps.dap 0-15
HOST_DATA 0 host->private->mmc->uhs2_caps.phy_rev 0-63
HALF_LOCKED2 &pool->lock

drivers/mmc/core/core.c mmc_stop_host() -> mmc_power_off()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->bus_ops 0
PARAM_VALUE 0 host->claimed 1
PARAM_VALUE 0 host->claimer 1-u64max
PARAM_VALUE 0 host->class_dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 host->class_dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 host->crypto_profile.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 host->crypto_profile.lock.first_waiter->type 0-1
PARAM_VALUE 0 host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 host->pm_flags 0
PARAM_VALUE 0 host->rescan_disable s32min-(-1),1-s32max
BUF_SIZE 0 host s32min-(-1),1-s32max
BUF_SIZE 0 host s32min-(-1),1-s32max
BUF_SIZE 0 host->ops (-1),216
DATA_SOURCE 0 host $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 host unit_byte

drivers/mmc/core/core.c mmc_stop_host() -> mmc_power_off()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->bus_ops 0
PARAM_VALUE 0 host->claimed 1
PARAM_VALUE 0 host->claimer 1-u64max
PARAM_VALUE 0 host->class_dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 host->class_dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 host->crypto_profile.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 host->crypto_profile.lock.first_waiter->type 0-1
PARAM_VALUE 0 host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 host->pm_flags 0
PARAM_VALUE 0 host->rescan_disable s32min-(-1),1-s32max
BUF_SIZE 0 host s32min-(-1),1-s32max
BUF_SIZE 0 host s32min-(-1),1-s32max
BUF_SIZE 0 host->ops (-1),216
DATA_SOURCE 0 host $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 host unit_byte

drivers/mmc/core/sd.c _mmc_sd_suspend() -> mmc_power_off()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->bus_ops 4096-ptr_max
PARAM_VALUE 0 host->bus_ops->shutdown 0,518975296561233920,3666404095795548160,4774049372095610880
PARAM_VALUE 0 host->card 4096-ptr_max
PARAM_VALUE 0 host->card->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 host->claimed 1
PARAM_VALUE 0 host->claimer 1-u64max
PARAM_VALUE 0 host->class_dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 host->crypto_profile.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 host->crypto_profile.lock.first_waiter->type 0-1
PARAM_VALUE 0 host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 *host->card->host->err_stats 0-4294967295
BUF_SIZE 0 host s32min-(-1),1-s32max
BUF_SIZE 0 host s32min-(-1),1-s32max
BUF_SIZE 0 host->ops (-1),216
DATA_SOURCE 0 host $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/mmc/core/sd.c mmc_sd_detect() -> mmc_power_off()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->bus_ops 0
PARAM_VALUE 0 host->card 0
PARAM_VALUE 0 host->claimed 1
PARAM_VALUE 0 host->claimer 1-u64max
PARAM_VALUE 0 host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 host->ops 4096-ptr_max
PARAM_VALUE 0 host->rescan_disable 0
PARAM_VALUE 0 host->rescan_entered 1
PARAM_VALUE 0 *host->card->debugfs_root->d_inode->i_sb->s_fs_info->s_first_error_func 0-255
PARAM_VALUE 0 *host->card->debugfs_root->d_inode->i_sb->s_fs_info->s_last_error_func 0-255
PARAM_VALUE 0 *host->card->host->private->mmc->err_stats 0-4294967295
DATA_SOURCE 0 host $0
NOCHECK_CALL
HOST_DATA 0 host->card->host->fail_mmc_request.stacktrace_depth 0-u64max
HALF_LOCKED2 &pool->lock

drivers/mmc/core/sdio.c mmc_sdio_detect() -> mmc_power_off()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->bus_ops 0
PARAM_VALUE 0 host->card 0
PARAM_VALUE 0 host->claimed 1
PARAM_VALUE 0 host->claimer 1-u64max
PARAM_VALUE 0 host->claimer->task 0
PARAM_VALUE 0 host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 host->ops 4096-ptr_max
PARAM_VALUE 0 host->rescan_disable 0
PARAM_VALUE 0 host->rescan_entered 1
PARAM_VALUE 0 *host->card->debugfs_root->d_inode->i_sb->s_fs_info->s_first_error_func 0-255
PARAM_VALUE 0 *host->card->debugfs_root->d_inode->i_sb->s_fs_info->s_last_error_func 0-255
PARAM_VALUE 0 *host->card->host->private->mmc->err_stats 0-4294967295
PARAM_VALUE 0 *host->card->sdio_func 0
DATA_SOURCE 0 host $0
BIT_INFO 0 host->caps 0x0,0xffffffff
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/mmc/core/sdio.c mmc_sdio_pre_suspend() -> mmc_power_off()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->bus_ops 0
PARAM_VALUE 0 host->card 0
PARAM_VALUE 0 host->claimed 1
PARAM_VALUE 0 host->claimer 1-u64max
PARAM_VALUE 0 host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 *host->card->debugfs_root->d_inode->i_sb->s_fs_info->s_first_error_func 0-255
PARAM_VALUE 0 *host->card->debugfs_root->d_inode->i_sb->s_fs_info->s_last_error_func 0-255
PARAM_VALUE 0 *host->card->host->private->mmc->err_stats 0-4294967295
PARAM_VALUE 0 *host->card->sdio_func 0
DATA_SOURCE 0 host $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 global &system_transition_mutex

drivers/mmc/core/sdio.c mmc_sdio_runtime_suspend() -> mmc_power_off()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->bus_ops 4096-ptr_max
PARAM_VALUE 0 host->claimed 1
PARAM_VALUE 0 host->claimer 1-u64max
PARAM_VALUE 0 host->lock.rlock.dep_map->name 0-255
DATA_SOURCE 0 host $0
NOCHECK_CALL

drivers/mmc/core/sdio.c mmc_sdio_suspend() -> mmc_power_off()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->bus_ops 4096-ptr_max
PARAM_VALUE 0 host->card 4096-ptr_max
PARAM_VALUE 0 host->claimed 1
PARAM_VALUE 0 host->claimer 1-u64max
PARAM_VALUE 0 host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 host->sdio_irq_work.lockdep_map->name 0-255
CAPPED_DATA 0 &host->sdio_irq_work 1
DATA_SOURCE 0 host $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fsm->lock

drivers/mmc/core/sd_uhs2.c mmc_attach_sd_uhs2() -> mmc_power_off()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->bus_ops 0
PARAM_VALUE 0 host->claimed 1
PARAM_VALUE 0 host->claimer 1-u64max
PARAM_VALUE 0 host->detect_change 0
PARAM_VALUE 0 host->ios.timing 0-10,13-255
PARAM_VALUE 0 host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 host->ops 4096-ptr_max
PARAM_VALUE 0 host->rescan_disable 0
PARAM_VALUE 0 host->rescan_entered 1
DATA_SOURCE 0 host $0
BIT_INFO 0 host->caps2 0x200,0xffffffff
NOCHECK_CALL
HALF_LOCKED2 &pool->lock