Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/mmc/core/block.c mmc_blk_issue_erase_rq() -> mmc_erase()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->erase_size 1-u32max
PARAM_VALUE 2 nr 0-8388607
DATA_SOURCE 2 nr r blk_rq_sectors
DATA_SOURCE 3 arg $3
BIT_INFO 0 card->quirks 0x0,0xffffffff
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 card->host->fail_mmc_request.stacktrace_depth 0-u64max
UNITS 1 from unit_byte
UNITS 2 nr unit_byte
HALF_LOCKED2 __tag_set->srcu
HALF_LOCKED2 rcu_read

drivers/mmc/core/block.c mmc_blk_issue_secdiscard_rq() -> mmc_erase()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 2 nr 0-8388607
PARAM_VALUE 3 arg 2147483648-2147483649
CAPPED_DATA 2 nr 1
DATA_SOURCE 2 nr r blk_rq_sectors
FUZZY_MAX 3 arg 2147483649
BIT_INFO 0 card->quirks 0x0,0xffffffff
BIT_INFO 3 arg 0x80000000,0x80000001
HARD_MAX 3 arg 2147483649
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 card->host->fail_mmc_request.stacktrace_depth 0-u64max
UNITS 1 from unit_byte
UNITS 2 nr unit_byte
HALF_LOCKED2 __tag_set->srcu
HALF_LOCKED2 rcu_read

drivers/mmc/core/block.c mmc_blk_issue_secdiscard_rq() -> mmc_erase()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->erase_size 1-u32max
PARAM_VALUE 2 nr 0-8388607
PARAM_VALUE 3 arg 2147516416
CAPPED_DATA 2 nr 1
DATA_SOURCE 2 nr r blk_rq_sectors
BIT_INFO 0 card->quirks 0x0,0xffffffff
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 card->host->fail_mmc_request.stacktrace_depth 0-u64max
UNITS 1 from unit_byte
UNITS 2 nr unit_byte
HALF_LOCKED2 __tag_set->srcu
HALF_LOCKED2 rcu_read

drivers/mmc/core/mmc_test.c mmc_test_area_erase() -> mmc_erase()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->erase_size 1-u32max
PARAM_VALUE 0 card->host 4096-ptr_max
PARAM_VALUE 0 card->host->claimed 1
PARAM_VALUE 0 card->host->claimer 1-u64max
PARAM_VALUE 0 card->host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 3 arg 0
BUF_SIZE 0 card s32min-(-2),1-s32max
BUF_SIZE 0 card s32min-(-2),1-s32max
UNITS 0 card unit_array_size
LOCK2 global &mmc_test_lock

drivers/mmc/core/mmc_test.c mmc_test_profile_seq_trim_perf() -> mmc_erase()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->erase_size 1-u32max
PARAM_VALUE 0 card->host 4096-ptr_max
PARAM_VALUE 0 card->host->claimed 1
PARAM_VALUE 0 card->host->claimer 1-u64max
PARAM_VALUE 0 card->host->led->brightness 0-4294967295
PARAM_VALUE 0 card->host->lock.rlock.dep_map->name 0-255
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->done 0,429396076522299392,6569461247470579712,7038937104643203072,8039316214707961856,8283609542540963840
PARAM_VALUE 0 card->host->parent->iommu->pci_32bit_workaround 0-1
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 2 nr 1-2
PARAM_VALUE 3 arg 1
BUF_SIZE 0 card s32min-(-2),1-s32max
BUF_SIZE 0 card s32min-(-2),1-s32max
HOST_DATA 0 card->host->fail_mmc_request.stacktrace_depth 0-u64max
UNITS 0 card unit_array_size
LOCK2 global &mmc_test_lock

drivers/mmc/core/mmc_test.c mmc_test_profile_trim_perf() -> mmc_erase()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->erase_size 1-u32max
PARAM_VALUE 0 card->host 4096-ptr_max
PARAM_VALUE 0 card->host->claimed 1
PARAM_VALUE 0 card->host->claimer 1-u64max
PARAM_VALUE 0 card->host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 nr 1-2
PARAM_VALUE 3 arg 1
BUF_SIZE 0 card s32min-(-2),1-s32max
BUF_SIZE 0 card s32min-(-2),1-s32max
UNITS 0 card unit_array_size
LOCK2 global &mmc_test_lock

drivers/mmc/core/mmc_test.c mmc_test_profile_trim_perf() -> mmc_erase()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->erase_size 1-u32max
PARAM_VALUE 0 card->host 4096-ptr_max
PARAM_VALUE 0 card->host->claimed 1
PARAM_VALUE 0 card->host->claimer 1-u64max
PARAM_VALUE 0 card->host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 nr 1-2,4
PARAM_VALUE 3 arg 1
BUF_SIZE 0 card s32min-(-2),1-s32max
BUF_SIZE 0 card s32min-(-2),1-s32max
HOST_DATA 0 card->host->fail_mmc_request.stacktrace_depth 0-u64max
UNITS 0 card unit_array_size
LOCK2 global &mmc_test_lock

drivers/mmc/core/mmc_test.c mmc_test_rw_multiple() -> mmc_erase()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->erase_size 1-u32max
PARAM_VALUE 0 card->host 4096-ptr_max
PARAM_VALUE 0 card->host->claimed 1
PARAM_VALUE 0 card->host->claimer 1-u64max
PARAM_VALUE 0 card->host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 from 2048-63488,65536-u32max
BUF_SIZE 0 card s32min-(-2),1-s32max
BUF_SIZE 0 card s32min-(-2),1-s32max
BIT_INFO 1 from 0x0,0xfffff800
UNITS 0 card unit_array_size
LOCK2 global &mmc_test_lock

drivers/mmc/core/mmc_test.c mmc_test_rw_multiple() -> mmc_erase()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->erase_size 1-u32max
PARAM_VALUE 0 card->host 4096-ptr_max
PARAM_VALUE 0 card->host->claimed 1
PARAM_VALUE 0 card->host->claimer 1-u64max
PARAM_VALUE 0 card->host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 from 2048-63488,65536-u32max
PARAM_VALUE 3 arg 0
BUF_SIZE 0 card s32min-(-2),1-s32max
BUF_SIZE 0 card s32min-(-2),1-s32max
CAPPED_DATA 1 from 1
BIT_INFO 1 from 0x0,0xfffff800
UNITS 0 card unit_array_size
LOCK2 global &mmc_test_lock