Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/mmc/core/mmc_ops.c mmc_get_ext_csd() -> mmc_send_adtc_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card | 4096-ptr_max |
| PARAM_VALUE | 0 | card->csd.mmca_vsn | 4-255 |
| PARAM_VALUE | 0 | card->dev.dma_ops->alloc | 0,1744715142275031040,2065280936184246272,2938795245442469888 |
| PARAM_VALUE | 0 | card->dev.dma_ops->alloc_pages_op | 0,4686288359180861440,6350905364812603392,6978773206971854848 |
| PARAM_VALUE | 0 | card->dev.dma_ops->dma_supported | 0,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888 |
| PARAM_VALUE | 0 | card->dev.dma_ops->free | 0,4778164490434129920,7144974343242604544,7861694134817480704 |
| PARAM_VALUE | 0 | card->dev.dma_ops->free_pages | 0,239457316199952384,5196233516945883136,7413093576918179840 |
| PARAM_VALUE | 0 | card->dev.dma_ops->get_required_mask | 0,7770840938859397120 |
| PARAM_VALUE | 0 | card->dev.dma_ops->get_sgtable | 0,1322759480623644672 |
| PARAM_VALUE | 0 | card->dev.dma_ops->map_phys | 0,2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696 |
| PARAM_VALUE | 0 | card->dev.dma_ops->map_sg | 0,2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488 |
| PARAM_VALUE | 0 | card->dev.dma_ops->max_mapping_size | 0,8830639662091943936 |
| PARAM_VALUE | 0 | card->dev.dma_ops->mmap | 0,5761417605877342208,7694740394750603264 |
| PARAM_VALUE | 0 | card->dev.dma_ops->sync_sg_for_cpu | 0,4862850025765572608 |
| PARAM_VALUE | 0 | card->dev.dma_ops->sync_sg_for_device | 0,3732476178258022400 |
| PARAM_VALUE | 0 | card->dev.dma_ops->sync_single_for_cpu | 0,1155325867376779264 |
| PARAM_VALUE | 0 | card->dev.dma_ops->sync_single_for_device | 0,8781567156597239808 |
| PARAM_VALUE | 0 | card->dev.dma_ops->unmap_phys | 0,3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048 |
| PARAM_VALUE | 0 | card->dev.dma_ops->unmap_sg | 0,1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440 |
| PARAM_VALUE | 0 | card->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | card->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | card->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | card->host->debugfs_root->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | card->host->debugfs_root->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | card->host->debugfs_root->d_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 0 | card->host->debugfs_root->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | card->host->debugfs_root->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | card->host->debugfs_root->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | card->host->debugfs_root->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | card->host->debugfs_root->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | card->host->debugfs_root->d_sb->__s_d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 0 | card->host->debugfs_root->d_sb->__s_d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 0 | card->host->debugfs_root->d_sb->__s_d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 0 | card->host->parent->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | *card->host->err_stats | 0-4294967295 |
| PARAM_VALUE | 0 | *card->raw_cid | 0-4294967295 |
| PARAM_VALUE | 0 | *card->raw_csd | 0-4294967295 |
| PARAM_VALUE | 1 | host->debugfs_root->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | host->debugfs_root->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | host->debugfs_root->d_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 1 | host->debugfs_root->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 1 | host->debugfs_root->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 1 | host->debugfs_root->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 1 | host->debugfs_root->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 1 | host->debugfs_root->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 1 | host->debugfs_root->d_sb->__s_d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 1 | host->debugfs_root->d_sb->__s_d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 1 | host->debugfs_root->d_sb->__s_d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 1 | host->parent->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | *host->err_stats | 0-4294967295 |
| PARAM_VALUE | 2 | opcode | 8 |
| PARAM_VALUE | 3 | args | 0 |
| PARAM_VALUE | 4 | buf | 4096-ptr_max |
| PARAM_VALUE | 5 | len | 512 |
| BUF_SIZE | 0 | card | (-1),2576 |
| BUF_SIZE | 0 | card | (-1),2576 |
| BUF_SIZE | 0 | card->dev.type | (-1),48 |
| BUF_SIZE | 4 | buf | 512 |
| DATA_SOURCE | 0 | card | $0 |
| DATA_SOURCE | 4 | buf | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | card->host->fail_mmc_request.stacktrace_depth | 0-u64max |
| HOST_DATA | 1 | host->fail_mmc_request.stacktrace_depth | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | card->debugfs_root->d_fsdata | |
| NO_OVERFLOW_SIMPLE | 0 | card->debugfs_root->d_fsdata->d_fsdata | |
| NO_OVERFLOW_SIMPLE | 0 | card->dev.dma_range_map | |
| NO_OVERFLOW_SIMPLE | 0 | card->dev.p | |
| NO_OVERFLOW_SIMPLE | 0 | card->dev.p->deferred_probe_reason | |
| NO_OVERFLOW_SIMPLE | 0 | card->dev.physical_location | |
| NO_OVERFLOW_SIMPLE | 0 | card->host->ios.clock | |
| NO_OVERFLOW_SIMPLE | 1 | host->ios.clock |
drivers/mmc/core/mmc_ops.c mmc_spi_send_cxd() -> mmc_send_adtc_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card | 0 |
| PARAM_VALUE | 1 | host | 4096-ptr_max |
| PARAM_VALUE | 1 | host->bus_ops->alive | 1906702137495691264,4100673312553930752,8240428867100008448,8536880801271664640 |
| PARAM_VALUE | 1 | host->bus_ops->cache_enabled | 0,1098733984586403840,4881299913085493248 |
| PARAM_VALUE | 1 | host->bus_ops->detect | 245931203581796352,1542872396865765376,1875366231697330176,4093061870799568896 |
| PARAM_VALUE | 1 | host->bus_ops->flush_cache | 0,3587622788017254400,7818510581524353024 |
| PARAM_VALUE | 1 | host->bus_ops->handle_undervoltage | 0,5715618764364496896 |
| PARAM_VALUE | 1 | host->bus_ops->hw_reset | 699803882447048704,1948919612921233408,5591957539113283584,7372460283402813440 |
| PARAM_VALUE | 1 | host->bus_ops->pre_suspend | 0,1083409855367589888 |
| PARAM_VALUE | 1 | host->bus_ops->remove | 2795767785232470016,4061658381353811968,4908634697295884288,8421056737440350208 |
| PARAM_VALUE | 1 | host->bus_ops->resume | 3931261325286801408,4221290554353364992,6069926845157036032,8924422233890791424 |
| PARAM_VALUE | 1 | host->bus_ops->runtime_resume | 1928456666478362624,2360134597016772608,5606383331103363072,5665944524184592384 |
| PARAM_VALUE | 1 | host->bus_ops->runtime_suspend | 3539196923992891392,3998081179798327296,4957148204940177408,5876214581270134784 |
| PARAM_VALUE | 1 | host->bus_ops->shutdown | 0,518975296561233920,3666404095795548160,4774049372095610880 |
| PARAM_VALUE | 1 | host->bus_ops->suspend | 3666404095795548160,4717438414900617216,4774049372095610880,8774612123753914368 |
| PARAM_VALUE | 1 | host->bus_ops->sw_reset | 0,227273881174773760 |
| PARAM_VALUE | 1 | host->card->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 1 | host->card->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | host->card->host->debugfs_root->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | host->card->host->debugfs_root->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | host->crypto_profile.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | host->crypto_profile.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | host->parent->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | *host->card->host->err_stats | 0-4294967295 |
| PARAM_VALUE | 1 | *host->err_stats | 0-4294967295 |
| PARAM_VALUE | 2 | opcode | 9-10 |
| PARAM_VALUE | 3 | args | 0 |
| PARAM_VALUE | 4 | buf | 4096-ptr_max |
| PARAM_VALUE | 5 | len | 16 |
| BUF_SIZE | 4 | buf | 16 |
| DATA_SOURCE | 1 | host | $0 |
| DATA_SOURCE | 2 | opcode | $2 |
| DATA_SOURCE | 4 | buf | r _kzalloc_noprof |
| HARD_MAX | 2 | opcode | 10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | host->fail_mmc_request.stacktrace_depth | 0-u64max |
| NO_OVERFLOW_SIMPLE | 1 | host->ios.clock | |
| HALF_LOCKED2 | &pool->lock |
drivers/mmc/core/sd.c sd_read_ext_reg() -> mmc_send_adtc_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card | 4096-ptr_max |
| PARAM_VALUE | 0 | card->dev.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | card->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | card->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | card->dev.dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | card->dev.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | card->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | card->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | card->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | card->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | card->host->parent->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | *card->host->err_stats | 0-4294967295 |
| PARAM_VALUE | 0 | *card->raw_csd | 0-4294967295 |
| PARAM_VALUE | 0 | *card->raw_ssr | 0-4294967295 |
| PARAM_VALUE | 1 | host->parent->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | *host->err_stats | 0-4294967295 |
| PARAM_VALUE | 2 | opcode | 48 |
| PARAM_VALUE | 5 | len | 512 |
| BUF_SIZE | 0 | card | (-1),2576 |
| BUF_SIZE | 0 | card | (-1),2576 |
| BUF_SIZE | 0 | card->dev.type | (-1),48 |
| BUF_SIZE | 4 | buf | 512 |
| DATA_SOURCE | 0 | card | $0 |
| DATA_SOURCE | 4 | buf | $5 |
| BIT_INFO | 3 | args | 0x0,0xffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | card->host->fail_mmc_request.stacktrace_depth | 0-u64max |
| HOST_DATA | 1 | host->fail_mmc_request.stacktrace_depth | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | card->host->ios.clock | |
| NO_OVERFLOW_SIMPLE | 1 | host->ios.clock |
drivers/mmc/core/sd_ops.c mmc_sd_switch() -> mmc_send_adtc_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card | 4096-ptr_max |
| PARAM_VALUE | 0 | card->dev.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | card->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | card->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | card->dev.dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | card->dev.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | card->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | card->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | card->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | card->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | card->host->debugfs_root->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | card->host->debugfs_root->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | card->host->parent->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | *card->host->err_stats | 0-4294967295 |
| PARAM_VALUE | 0 | *card->raw_csd | 0-4294967295 |
| PARAM_VALUE | 0 | *card->raw_ssr | 0-4294967295 |
| PARAM_VALUE | 1 | host->debugfs_root->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | host->debugfs_root->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | host->parent->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | *host->err_stats | 0-4294967295 |
| PARAM_VALUE | 2 | opcode | 6 |
| PARAM_VALUE | 4 | buf | 4096-ptr_max |
| PARAM_VALUE | 5 | len | 64 |
| BUF_SIZE | 0 | card | (-1),2576 |
| BUF_SIZE | 0 | card | (-1),2576 |
| BUF_SIZE | 0 | card->dev.type | (-1),48 |
| BUF_SIZE | 4 | buf | 64 |
| DATA_SOURCE | 0 | card | $0 |
| DATA_SOURCE | 4 | buf | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | card->host->fail_mmc_request.stacktrace_depth | 0-u64max |
| HOST_DATA | 1 | host->fail_mmc_request.stacktrace_depth | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | card->host->ios.clock | |
| NO_OVERFLOW_SIMPLE | 1 | host->ios.clock |