Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/mmc/core/core.c, line 2202
- drivers/mmc/core/mmc.c, line 2093
- drivers/mmc/core/sd.c, line 1625
- drivers/mmc/core/sd_uhs2.c, line 1032
- drivers/mmc/core/sdio.c, line 974
Smatch caller information:
drivers/mmc/core/mmc.c mmc_detect() -> _mmc_detect_card_removed()
| 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->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->card->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->card->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | host->card->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | host->card->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | host->card->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->card->host | 4096-ptr_max |
| PARAM_VALUE | 0 | host->card->host->claimed | 1 |
| PARAM_VALUE | 0 | host->card->host->claimer | 1-u64max |
| PARAM_VALUE | 0 | host->card->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 |
| HALF_LOCKED2 | &pool->lock |
drivers/mmc/core/core.c mmc_detect_card_removed() -> _mmc_detect_card_removed()
| 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 |
| DATA_SOURCE | 0 | host | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mq->complete_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/mmc/core/sd.c mmc_sd_detect() -> _mmc_detect_card_removed()
| 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->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->card->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->card->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | host->card->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | host->card->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | host->card->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->card->host | 4096-ptr_max |
| PARAM_VALUE | 0 | host->card->host->claimed | 1 |
| PARAM_VALUE | 0 | host->card->host->claimer | 1-u64max |
| PARAM_VALUE | 0 | host->card->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 |
| HALF_LOCKED2 | &pool->lock |
drivers/mmc/core/sdio.c mmc_sdio_detect() -> _mmc_detect_card_removed()
| 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->dev.power.wakeirq->status | 0-4294967295 |
| 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 |
| DATA_SOURCE | 0 | host | $0 |
| BIT_INFO | 0 | host->caps | 0x0,0xffffffff |
| HALF_LOCKED2 | &pool->lock |
drivers/mmc/core/sd_uhs2.c sd_uhs2_detect() -> _mmc_detect_card_removed()
| 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->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->card->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->card->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | host->card->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | host->card->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | host->card->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->card->host | 4096-ptr_max |
| PARAM_VALUE | 0 | host->card->host->claimed | 1 |
| PARAM_VALUE | 0 | host->card->host->claimer | 1-u64max |
| PARAM_VALUE | 0 | host->card->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 |
| HALF_LOCKED2 | &pool->lock |