Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/mmc/core/core.c mmc_detect_card_removed() -> _mmc_detect_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | host | 4096-ptr_max |
| PARAM_VALUE | 0 | host->card | 4096-ptr_max |
| PARAM_VALUE | 0 | host->detect_change | 0 |
| PARAM_VALUE | 0 | host->ongoing_mrq->cmd_completion.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->ongoing_mrq->cmd_completion.wait.lock.owner | 0,(-1) |
| PARAM_VALUE | 0 | host->ongoing_mrq->cmd_completion.wait.lock.owner_cpu | 0,u32max |
| 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 | 1 | delay | 0 |
| PARAM_VALUE | 2 | cd_irq | 0 |
| DATA_SOURCE | 0 | host | $0 |
| BIT_INFO | 0 | host->caps | 0x20,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mq->complete_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/mmc/core/core.c mmc_detect_change() -> _mmc_detect_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | host->card->dev.power.wakeirq->status | 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->err_stats | 0-4294967295 |
| PARAM_VALUE | 1 | delay | 0-536870912,4611686018427387902 |
| PARAM_VALUE | 2 | cd_irq | 1 |
| 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 |
| DATA_SOURCE | 1 | delay | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | host | unit_byte |
| HALF_LOCKED2 | &chip->irq_lock | ||
| HALF_LOCKED2 | &host->cmd_mutex | ||
| HALF_LOCKED2 | &host->lock | ||
| HALF_LOCKED2 | &vub300->cmd_mutex |
drivers/mmc/core/core.c mmc_start_host() -> _mmc_detect_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | host | 4096-ptr_max |
| PARAM_VALUE | 0 | host->class_dev.fwnode->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | host->class_dev.fwnode->dev->fwnode | 4096-ptr_max |
| PARAM_VALUE | 0 | host->class_dev.fwnode->dev->p | 1-u64max |
| PARAM_VALUE | 0 | host->class_dev.fwnode->dev->power.set_latency_tolerance | 5740181548905971712 |
| PARAM_VALUE | 0 | host->class_dev.fwnode->suppliers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | host->class_dev.fwnode->suppliers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | host->class_dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | host->class_dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | host->class_dev.kobj.sd->active.counter | (-2147483647) |
| PARAM_VALUE | 0 | host->class_dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | host->class_dev.p->klist_children.get | 2213798222526185472 |
| PARAM_VALUE | 0 | host->class_dev.p->klist_children.put | 3126867300421632000 |
| PARAM_VALUE | 0 | host->class_dev.p->knode_bus.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | host->class_dev.p->knode_class.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | host->class_dev.p->knode_parent.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | host->class_dev.physical_location->horizontal_position | 0-3 |
| PARAM_VALUE | 0 | host->class_dev.physical_location->panel | 0-7 |
| PARAM_VALUE | 0 | host->class_dev.physical_location->vertical_position | 0-3 |
| 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->debugfs_root | 4096-u64max |
| PARAM_VALUE | 0 | host->fail_mmc_request.ratelimit_state.burst | 10 |
| PARAM_VALUE | 0 | host->fail_mmc_request.stacktrace_depth | 32 |
| PARAM_VALUE | 0 | host->fail_mmc_request.verbose | 2 |
| PARAM_VALUE | 0 | host->led | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->rescan_disable | 0 |
| PARAM_VALUE | 1 | delay | 0 |
| PARAM_VALUE | 2 | cd_irq | 0 |
| DATA_SOURCE | 0 | host | $0 |
| NOCHECK_CALL |
drivers/mmc/core/sdio.c mmc_sdio_hw_reset() -> _mmc_detect_change()
| 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->card->sdio_funcs_probed.counter | 2-s32max |
| PARAM_VALUE | 0 | host->card->state | 0,16-u32max |
| PARAM_VALUE | 0 | host->rescan_entered | 0 |
| PARAM_VALUE | 1 | delay | 0 |
| PARAM_VALUE | 2 | cd_irq | 0 |
| DATA_SOURCE | 0 | host | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &mmc_test_lock |
drivers/mmc/core/host.c mmc_host_class_complete() -> _mmc_detect_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | host | 4096-ptr_max |
| PARAM_VALUE | 1 | delay | 0 |
| PARAM_VALUE | 2 | cd_irq | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &system_transition_mutex |