Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mmc/core/mmc.c mmc_decode_ext_csd() -> mmc_part_add()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->csd.mmca_vsn 4-255
PARAM_VALUE 0 card->ext_csd.hc_erase_size 0,1024-261120
PARAM_VALUE 0 card->ext_csd.raw_sectors 4096-ptr_max
PARAM_VALUE 0 card->ext_csd.rev 3-255
PARAM_VALUE 0 card->host 4096-ptr_max
PARAM_VALUE 0 card->host->card 0,4096-ptr_max
PARAM_VALUE 0 card->host->led->brightness 0-4294967295
PARAM_VALUE 0 card->host->ongoing_mrq->cmd_completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 card->host->ongoing_mrq->cmd_completion.wait.lock.owner 0,(-1)
PARAM_VALUE 0 card->host->ongoing_mrq->cmd_completion.wait.lock.owner_cpu 0,u32max
PARAM_VALUE 0 card->host->ongoing_mrq->cmd_completion.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 card->host->ongoing_mrq->cmd_completion.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 card->host->ongoing_mrq->uhs2_cmd.packet_len 0,4-12
PARAM_VALUE 0 card->host->ongoing_mrq->uhs2_cmd.payload_len 0-8
PARAM_VALUE 0 card->host->ongoing_mrq->uhs2_cmd.tmode_half_duplex 0-1
PARAM_VALUE 0 card->host->ongoing_mrq->uhs2_cmd.uhs2_resp_len 0,4-6,8
PARAM_VALUE 0 card->host->parent 0,4096-ptr_max
PARAM_VALUE 0 card->host->private->pcr->pcr_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 card->host->private->ucr->dev_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 size 131072-33423360
PARAM_VALUE 2 part_cfg 1-2
PARAM_VALUE 3 name 6207200574602919936
PARAM_VALUE 4 idx 0-1
PARAM_VALUE 5 ro 1
PARAM_VALUE 6 area_type 2
BUF_SIZE 3 name 7
DATA_SOURCE 0 card $0
FUZZY_MAX 4 idx 1
STR_LEN 0 card 6
BIT_INFO 0 card->ext_csd.sectors 0x0,0xff
BIT_INFO 1 size 0x0,0x0
TERMINATED 3 name 1
HARD_MAX 4 idx 1
NOCHECK_CALL

drivers/mmc/core/mmc.c mmc_decode_ext_csd() -> mmc_part_add()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->cid.year 16-u16max
PARAM_VALUE 0 card->csd.mmca_vsn 4-255
PARAM_VALUE 0 card->ext_csd.boot_ro_lock 0-255
PARAM_VALUE 0 card->ext_csd.boot_ro_lockable 1
PARAM_VALUE 0 card->ext_csd.enhanced_area_size 0,512-4294966784,4294967274
PARAM_VALUE 0 card->ext_csd.hc_erase_size 0,1024-261120
PARAM_VALUE 0 card->ext_csd.raw_sectors 4096-ptr_max
PARAM_VALUE 0 card->ext_csd.rev 5-255
PARAM_VALUE 0 card->ext_csd.sec_erase_mult 0-255
PARAM_VALUE 0 card->ext_csd.sec_trim_mult 0-255
PARAM_VALUE 0 card->host 4096-ptr_max
PARAM_VALUE 0 card->host->card 0,4096-ptr_max
PARAM_VALUE 0 card->host->led->brightness 0-4294967295
PARAM_VALUE 0 card->host->ongoing_mrq->cmd_completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 card->host->ongoing_mrq->cmd_completion.wait.lock.owner 0,(-1)
PARAM_VALUE 0 card->host->ongoing_mrq->cmd_completion.wait.lock.owner_cpu 0,u32max
PARAM_VALUE 0 card->host->ongoing_mrq->cmd_completion.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 card->host->ongoing_mrq->cmd_completion.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 card->host->ongoing_mrq->uhs2_cmd.packet_len 0,4-12
PARAM_VALUE 0 card->host->ongoing_mrq->uhs2_cmd.payload_len 0-8
PARAM_VALUE 0 card->host->ongoing_mrq->uhs2_cmd.tmode_half_duplex 0-1
PARAM_VALUE 0 card->host->ongoing_mrq->uhs2_cmd.uhs2_resp_len 0,4-6,8
PARAM_VALUE 0 card->host->parent 0,4096-ptr_max
PARAM_VALUE 0 card->host->private->pcr->pcr_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 card->host->private->ucr->dev_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 size 131072-33423360
PARAM_VALUE 2 part_cfg 3
PARAM_VALUE 3 name 6796084092126085120
PARAM_VALUE 4 idx 0
PARAM_VALUE 5 ro 0
PARAM_VALUE 6 area_type 8
BUF_SIZE 3 name 5
DATA_SOURCE 0 card $0
FUZZY_MAX 0 card->cid.year 2010
STR_LEN 0 card 4
BIT_INFO 0 card->ext_csd.sectors 0x0,0xff
BIT_INFO 1 size 0x0,0x0
TERMINATED 3 name 1
NOCHECK_CALL

drivers/mmc/core/mmc.c mmc_manage_gp_partitions() -> mmc_part_add()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->csd.mmca_vsn 4-255
PARAM_VALUE 0 card->ext_csd.enhanced_area_size 0,512-4294966784,4294967274
PARAM_VALUE 0 card->ext_csd.hc_erase_size 0,1024-261120
PARAM_VALUE 0 card->ext_csd.partition_setting_completed 1
PARAM_VALUE 0 card->ext_csd.raw_sectors 4096-ptr_max
PARAM_VALUE 0 card->ext_csd.rev 4-255
PARAM_VALUE 0 card->host 4096-ptr_max
PARAM_VALUE 0 card->host->card 0,4096-ptr_max
PARAM_VALUE 0 card->host->led->brightness 0-4294967295
PARAM_VALUE 0 card->host->ongoing_mrq->cmd_completion.wait.lock.owner (-1)
PARAM_VALUE 0 card->host->ongoing_mrq->cmd_completion.wait.lock.owner_cpu u32max
PARAM_VALUE 0 card->host->ongoing_mrq->cmd_completion.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 card->host->ongoing_mrq->cmd_completion.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 card->host->ongoing_mrq->uhs2_cmd.packet_len 0,4-12
PARAM_VALUE 0 card->host->ongoing_mrq->uhs2_cmd.payload_len 0-8
PARAM_VALUE 0 card->host->ongoing_mrq->uhs2_cmd.tmode_half_duplex 0-1
PARAM_VALUE 0 card->host->ongoing_mrq->uhs2_cmd.uhs2_resp_len 0,4-6,8
PARAM_VALUE 0 card->host->parent 0,4096-ptr_max
PARAM_VALUE 0 card->host->private->pcr->pcr_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 card->host->private->pcr->pcr_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 card->host->private->ucr->dev_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 card->host->private->ucr->dev_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 size 0,524288-571965914677248000
PARAM_VALUE 2 part_cfg 4-7
PARAM_VALUE 3 name 92700382393995264
PARAM_VALUE 4 idx 0-3
PARAM_VALUE 5 ro 0
PARAM_VALUE 6 area_type 4
BUF_SIZE 3 name 5
DATA_SOURCE 0 card $0
FUZZY_MAX 4 idx 3
STR_LEN 0 card 4
BIT_INFO 0 card->ext_csd.sectors 0x0,0xff
BIT_INFO 1 size 0x0,0x7fffffffff80000
TERMINATED 3 name 1
HARD_MAX 4 idx 3
NOCHECK_CALL