Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mmc/core/mmc_test.c mmc_test_broken_transfer() -> mmc_test_prepare_mrq()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->card 4096-ptr_max
PARAM_VALUE 0 test->card->host 4096-ptr_max
PARAM_VALUE 1 mrq 5213090479759912960
PARAM_VALUE 1 mrq->cmd 6737828814555832320
PARAM_VALUE 1 mrq->data 1562932146573213696
PARAM_VALUE 1 mrq->sbc 0
PARAM_VALUE 1 mrq->stop 3080938412071813120
PARAM_VALUE 2 sg 3648923869070458880
PARAM_VALUE 3 sg_len 1
PARAM_VALUE 4 dev_addr 0
PARAM_VALUE 5 blocks 1-2
PARAM_VALUE 6 blksz 512
PARAM_VALUE 7 write 0-1
BUF_SIZE 0 test 32840
BUF_SIZE 0 test 32840
BUF_SIZE 0 test->card s32min-(-2),1-s32max
BUF_SIZE 0 test->gr (-1),48
CAPPED_DATA 0 test->buffer 1
DATA_SOURCE 0 test $0
DATA_SOURCE 5 blocks $1
DATA_SOURCE 6 blksz $2
DATA_SOURCE 7 write $3
HARD_MAX 5 blocks 2
HARD_MAX 7 write 1
NOCHECK_CALL
LOCK2 global &mmc_test_lock

drivers/mmc/core/mmc_test.c mmc_test_buffer_transfer() -> mmc_test_prepare_mrq()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->card 4096-ptr_max
PARAM_VALUE 0 test->card->host 4096-ptr_max
PARAM_VALUE 1 mrq 4170966995701899264
PARAM_VALUE 1 mrq->cmd 6990125042001219584
PARAM_VALUE 1 mrq->data 3458432984262668288
PARAM_VALUE 1 mrq->sbc 0
PARAM_VALUE 1 mrq->stop 1652491746737541120
PARAM_VALUE 2 sg 8952126537750847488
PARAM_VALUE 3 sg_len 1
PARAM_VALUE 4 dev_addr 0-31
PARAM_VALUE 5 blocks 1
PARAM_VALUE 6 blksz 512
PARAM_VALUE 7 write 0-1
BUF_SIZE 0 test 32840
BUF_SIZE 0 test 32840
BUF_SIZE 0 test->card s32min-(-2),1-s32max
BUF_SIZE 0 test->gr (-1),48
CAPPED_DATA 4 dev_addr 1
DATA_SOURCE 0 test $0
DATA_SOURCE 4 dev_addr $2
DATA_SOURCE 6 blksz $3
DATA_SOURCE 7 write $4
HARD_MAX 7 write 1
NOCHECK_CALL
LOCK2 global &mmc_test_lock

drivers/mmc/core/mmc_test.c mmc_test_nonblock_transfer() -> mmc_test_prepare_mrq()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->card 4096-ptr_max
PARAM_VALUE 0 test->card->host 4096-ptr_max
PARAM_VALUE 1 mrq 4096-ptr_max
PARAM_VALUE 6 blksz 512
BUF_SIZE 0 test 32840
BUF_SIZE 0 test 32840
BUF_SIZE 0 test->card s32min-(-2),1-s32max
BUF_SIZE 0 test->gr (-1),48
BUF_SIZE 1 mrq 0,304
BUF_SIZE 1 mrq 0,304
CAPPED_DATA 0 test->area.dev_addr 1
CAPPED_DATA 0 test->area.max_segs 1
DATA_SOURCE 0 test $0
DATA_SOURCE 4 dev_addr $1
DATA_SOURCE 7 write $2
NOCHECK_CALL
LOCK2 global &mmc_test_lock

drivers/mmc/core/mmc_test.c mmc_test_ongoing_transfer() -> mmc_test_prepare_mrq()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->card 4096-ptr_max
PARAM_VALUE 0 test->card->host 4096-ptr_max
PARAM_VALUE 1 mrq 4096-ptr_max
PARAM_VALUE 1 mrq->cmd 4096-ptr_max
PARAM_VALUE 1 mrq->data 4096-ptr_max
PARAM_VALUE 1 mrq->sbc 0,4096-ptr_max
PARAM_VALUE 1 mrq->sbc->flags 0
PARAM_VALUE 1 mrq->sbc->opcode 0
PARAM_VALUE 1 mrq->stop 4096-ptr_max
PARAM_VALUE 6 blksz 512
PARAM_VALUE 7 write 0-1
BUF_SIZE 0 test 32840
BUF_SIZE 0 test 32840
BUF_SIZE 0 test->card s32min-(-2),1-s32max
BUF_SIZE 0 test->gr (-1),48
BUF_SIZE 1 mrq 304
BUF_SIZE 1 mrq->sbc (-1),72
CAPPED_DATA 0 test->area.dev_addr 1
CAPPED_DATA 0 test->area.max_segs 1
DATA_SOURCE 0 test $0
DATA_SOURCE 4 dev_addr $1
DATA_SOURCE 7 write $4
BIT_INFO 0 test->card->host->caps 0x20000000,0xffffffffffffffff
HARD_MAX 7 write 1
NOCHECK_CALL
LOCK2 global &mmc_test_lock

drivers/mmc/core/mmc_test.c mmc_test_simple_transfer() -> mmc_test_prepare_mrq()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->card 4096-ptr_max
PARAM_VALUE 0 test->card->host 4096-ptr_max
PARAM_VALUE 1 mrq 6203355219214372864
PARAM_VALUE 1 mrq->cmd 8909457498621464576
PARAM_VALUE 1 mrq->data 7632841075333328896
PARAM_VALUE 1 mrq->sbc 0
PARAM_VALUE 1 mrq->stop 5663240906000592896
PARAM_VALUE 6 blksz 1-3,10-512
BUF_SIZE 0 test 32840
BUF_SIZE 0 test 32840
BUF_SIZE 0 test->card s32min-(-2),1-s32max
BUF_SIZE 0 test->gr (-1),48
DATA_SOURCE 0 test $0
DATA_SOURCE 2 sg $1
DATA_SOURCE 3 sg_len $2
DATA_SOURCE 4 dev_addr $3
DATA_SOURCE 5 blocks $4
DATA_SOURCE 6 blksz $5
DATA_SOURCE 7 write $6
NOCHECK_CALL
HOST_DATA 0 test->card->host->fail_mmc_request.stacktrace_depth 0-u64max
LOCK2 global &mmc_test_lock