Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mmc/host/mtk-sd.c msdc_cmd_is_ready() -> msdc_cmd_done()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->dev 0,4096-ptr_max
PARAM_VALUE 0 host->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 host->dev->class 0,4096-ptr_max
PARAM_VALUE 0 host->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 host->req_timeout.timer.entry->pprev 4096-ptr_max
PARAM_VALUE 1 events 512
PARAM_VALUE 2 mrq 4096-ptr_max
BUF_SIZE 0 host->cmd (-1)-0,72
BUF_SIZE 0 host->mrq (-1)-0,304
BUF_SIZE 2 mrq (-1)-0,304
BUF_SIZE 2 mrq (-1)-0,304
BUF_SIZE 2 mrq->cmd (-1),72
BUF_SIZE 2 mrq->data (-1)-0,72
BUF_SIZE 2 mrq->sbc (-1)-0,72
BUF_SIZE 2 mrq->stop (-1)-0,72
BUF_SIZE 3 cmd (-1)-0,72
BUF_SIZE 3 cmd (-1)-0,72
CAPPED_DATA 2 mrq->sbc 1
DATA_SOURCE 0 host $0
DATA_SOURCE 2 mrq $1
DATA_SOURCE 3 cmd $2
BIT_INFO 0 host->error 0x20,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 host->cmd->arg
NO_OVERFLOW_SIMPLE 2 mrq->cmd->arg
NO_OVERFLOW_SIMPLE 2 mrq->cmd->data->sg_count
NO_OVERFLOW_SIMPLE 2 mrq->data->sg->length
NO_OVERFLOW_SIMPLE 2 mrq->data->sg_count
NO_OVERFLOW_SIMPLE 3 cmd->arg
NO_OVERFLOW_SIMPLE 3 cmd->data->sg_count

drivers/mmc/host/mtk-sd.c msdc_cmd_is_ready() -> msdc_cmd_done()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->dev 0,4096-ptr_max
PARAM_VALUE 0 host->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 host->dev->class 0,4096-ptr_max
PARAM_VALUE 0 host->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 host->req_timeout.timer.entry->pprev 4096-ptr_max
PARAM_VALUE 1 events 512
PARAM_VALUE 2 mrq 4096-ptr_max
PARAM_VALUE 3 cmd 4096-ptr_max
BUF_SIZE 0 host->cmd (-1)-0,72
BUF_SIZE 0 host->mrq (-1)-0,304
BUF_SIZE 2 mrq (-1)-0,304
BUF_SIZE 2 mrq (-1)-0,304
BUF_SIZE 2 mrq->cmd (-1),72
BUF_SIZE 2 mrq->data (-1)-0,72
BUF_SIZE 2 mrq->sbc (-1)-0,72
BUF_SIZE 2 mrq->stop (-1)-0,72
BUF_SIZE 3 cmd (-1)-0,72
BUF_SIZE 3 cmd (-1)-0,72
CAPPED_DATA 2 mrq->sbc 1
DATA_SOURCE 0 host $0
DATA_SOURCE 2 mrq $1
DATA_SOURCE 3 cmd $2
BIT_INFO 0 host->error 0x20,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 host->cmd->arg
NO_OVERFLOW_SIMPLE 2 mrq->cmd->arg
NO_OVERFLOW_SIMPLE 2 mrq->cmd->data->sg_count
NO_OVERFLOW_SIMPLE 2 mrq->data->sg->length
NO_OVERFLOW_SIMPLE 2 mrq->data->sg_count
NO_OVERFLOW_SIMPLE 3 cmd->arg
NO_OVERFLOW_SIMPLE 3 cmd->data->sg_count

drivers/mmc/host/mtk-sd.c msdc_irq() -> msdc_cmd_done()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->cmd 1-u64max
PARAM_VALUE 0 host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 host->mrq 1-u64max
PARAM_VALUE 2 mrq 1-u64max
PARAM_VALUE 3 cmd 1-u64max
DATA_SOURCE 0 host $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 events s32min-s32max
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/mmc/host/mtk-sd.c msdc_request_timeout() -> msdc_cmd_done()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->cmd 4096-ptr_max
PARAM_VALUE 0 host->dev 0,4096-ptr_max
PARAM_VALUE 0 host->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 host->dev->class 0,4096-ptr_max
PARAM_VALUE 0 host->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 host->mrq 4096-ptr_max
PARAM_VALUE 0 host->mrq->cmd 4096-ptr_max
PARAM_VALUE 1 events 512
PARAM_VALUE 2 mrq 4096-ptr_max
PARAM_VALUE 2 mrq->cmd 4096-ptr_max
PARAM_VALUE 3 cmd 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &pool->lock