Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mmc/core/sd.c sd_busy_poweroff_notify_cb() -> sd_read_ext_reg()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 4 len 1
BUF_SIZE 5 reg_buf 512
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mq->complete_lock
HALF_LOCKED2 &pool->lock

drivers/mmc/core/sd.c sd_flush_cache() -> sd_read_ext_reg()

Type Parameter Key Value
PARAM_VALUE 0 card 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.done 0,u32max
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.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->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 4 len 1
PARAM_VALUE 5 reg_buf 4096-ptr_max
BUF_SIZE 5 reg_buf 512
BUF_SIZE 5 reg_buf 512
DATA_SOURCE 5 reg_buf r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 card->host->fail_mmc_request.stacktrace_depth 0-u64max
HALF_LOCKED2 __tag_set->srcu
HALF_LOCKED2 rcu_read

drivers/mmc/core/sd.c sd_parse_ext_reg_perf() -> sd_read_ext_reg()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
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.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->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 fno 0
PARAM_VALUE 2 page 0
PARAM_VALUE 3 offset 0-255
PARAM_VALUE 4 len 512
PARAM_VALUE 5 reg_buf 4096-ptr_max
BUF_SIZE 5 reg_buf 512
BUF_SIZE 5 reg_buf 512
DATA_SOURCE 0 card $0
DATA_SOURCE 1 fno $1
DATA_SOURCE 2 page $2
DATA_SOURCE 3 offset $3
DATA_SOURCE 5 reg_buf r _kzalloc_noprof
BIT_INFO 0 card->scr.cmds 0x4,0xffffffffffffffff

drivers/mmc/core/sd.c sd_parse_ext_reg_power() -> sd_read_ext_reg()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
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.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->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 fno 0
PARAM_VALUE 2 page 0
PARAM_VALUE 3 offset 0-255
PARAM_VALUE 4 len 512
PARAM_VALUE 5 reg_buf 4096-ptr_max
BUF_SIZE 5 reg_buf 512
BUF_SIZE 5 reg_buf 512
DATA_SOURCE 0 card $0
DATA_SOURCE 1 fno $1
DATA_SOURCE 2 page $2
DATA_SOURCE 3 offset $3
DATA_SOURCE 5 reg_buf r _kzalloc_noprof
BIT_INFO 0 card->scr.cmds 0x4,0xffffffffffffffff

drivers/mmc/core/sd.c sd_read_ext_regs() -> sd_read_ext_reg()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->host 4096-ptr_max
PARAM_VALUE 1 fno 0
PARAM_VALUE 2 page 0
PARAM_VALUE 3 offset 0
PARAM_VALUE 4 len 512
PARAM_VALUE 5 reg_buf 4096-ptr_max
BUF_SIZE 5 reg_buf 512
BUF_SIZE 5 reg_buf 512
DATA_SOURCE 0 card $0
DATA_SOURCE 5 reg_buf r _kzalloc_noprof
BIT_INFO 0 card->scr.cmds 0x4,0xff