Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mtd/maps/plat-ram.c platram_probe() -> platram_setrw()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->dev 4096-ptr_max
PARAM_VALUE 0 info->dev->driver_data 4096-ptr_max
PARAM_VALUE 0 info->dev->platform_data 4096-ptr_max
PARAM_VALUE 0 info->map.bankwidth 1-2,4,8,16,32
PARAM_VALUE 0 info->map.copy_from 3856063133584355328
PARAM_VALUE 0 info->map.copy_to 2115896094559264768
PARAM_VALUE 0 info->map.read 470154965457731584
PARAM_VALUE 0 info->map.virt 4096-ptr_max
PARAM_VALUE 0 info->map.write 1782832137485565952
PARAM_VALUE 0 info->mtd 4096-ptr_max
PARAM_VALUE 0 info->mtd->dev.parent 4096-ptr_max
PARAM_VALUE 0 info->mtd->dev.parent->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 info->mtd->dev.parent->driver_data 4096-ptr_max
PARAM_VALUE 0 info->mtd->dev.parent->platform_data 4096-ptr_max
PARAM_VALUE 0 info->pdata 4096-ptr_max
PARAM_VALUE 1 to 1
BUF_SIZE 0 info 168
BUF_SIZE 0 info->dev 1616
BUF_SIZE 0 info->map.name s32min,(-10),(-1),1-s32max
BUF_SIZE 0 info->mtd->dev.parent 1616
BUF_SIZE 0 info->pdata s32min-(-2),1-s32max
DATA_SOURCE 0 info r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/mtd/maps/plat-ram.c platram_remove() -> platram_setrw()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->mtd 0,4096-ptr_max
PARAM_VALUE 0 info->mtd->priv->fldrv 4096-ptr_max
PARAM_VALUE 0 info->mtd->priv->fldrv->module->refcnt.counter 0-s32max
PARAM_VALUE 1 to 0
BUF_SIZE 0 info s32min-(-2),1-s32max
BUF_SIZE 0 info s32min-(-2),1-s32max
CAPPED_DATA 0 info->mtd 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 info unit_byte