Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/message/fusion/mptbase.c mpt_do_upload() -> mpt_alloc_fw_memory()

Type Parameter Key Value
PARAM_VALUE 0 ioc 4096-ptr_max
PARAM_VALUE 0 ioc->facts.FWImageSize 1-u32max
PARAM_VALUE 1 size s32min-(-1),1-s32max
DATA_SOURCE 0 ioc $0

drivers/message/fusion/mptctl.c mptctl_replace_fw() -> mpt_alloc_fw_memory()

Type Parameter Key Value
PARAM_VALUE 0 ioc 4096-ptr_max
PARAM_VALUE 0 ioc->active s32min-(-1),1-s32max
PARAM_VALUE 0 ioc->cached_fw 0
PARAM_VALUE 0 ioc->id 0-255
PARAM_VALUE 0 ioc->pcidev->dev.cma_area->lock.rlock.dep_map->name 0-255
DATA_SOURCE 0 ioc $0
BIT_INFO 1 size 0x0,0x7ffffffc
NOCHECK_CALL
USER_DATA 1 size s32min-s32max[c]
LOCK2 global &mpctl_mutex