Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/mtd/mtd_virt_concat.c mtd_virt_concat_create_join() -> mtd_concat_destroy()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 0 mtd->_erase 3340403921643212800
PARAM_VALUE 0 mtd->_is_locked 2970765819087101952
PARAM_VALUE 0 mtd->_lock 2451968232982540288
PARAM_VALUE 0 mtd->_resume 4743480384029065216
PARAM_VALUE 0 mtd->_suspend 550497681610092544
PARAM_VALUE 0 mtd->_sync 4358231885028732928
PARAM_VALUE 0 mtd->_unlock 1576540543226322944
PARAM_VALUE 0 mtd->eraseregions 4096-ptr_max
PARAM_VALUE 0 mtd->numeraseregions 0,2-s32max
BUF_SIZE 0 mtd 2448
DATA_SOURCE 0 mtd r mtd_concat_create
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex

drivers/mtd/mtd_virt_concat.c mtd_virt_concat_destroy() -> mtd_concat_destroy()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 0 mtd->name 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/mtd/mtd_virt_concat.c mtd_virt_concat_destroy_joins() -> mtd_concat_destroy()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
BUF_SIZE 0 mtd 2448
NOCHECK_CALL

drivers/mtd/maps/physmap-core.c physmap_flash_remove() -> mtd_concat_destroy()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
CAPPED_DATA 0 mtd 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL