Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/message/fusion/mptctl.c mptctl_do_fw_download() -> kbuf_alloc_2_sgl()

Type Parameter Key Value
PARAM_VALUE 1 sgdir 67108864
PARAM_VALUE 2 sge_offset 28
PARAM_VALUE 3 frags 2876612637578489856
PARAM_VALUE 3 *frags 0
PARAM_VALUE 4 blp 2176980906360119296
PARAM_VALUE 5 sglbuf_dma 6194641550200274944
PARAM_VALUE 6 ioc 4096-ptr_max
PARAM_VALUE 6 ioc->FreeQlock.rlock.dep_map->name 0-255
PARAM_VALUE 6 ioc->active s32min-(-1),1-s32max
PARAM_VALUE 6 ioc->id 0-255
PARAM_VALUE 6 ioc->ioctl_cmds.mutex.dep_map->name 0-255
PARAM_VALUE 6 ioc->ioctl_cmds.mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 6 ioc->ioctl_cmds.mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 6 ioc->ioctl_cmds.mutex.osq.tail.counter 0-s32max
DATA_SOURCE 0 bytes $2
DATA_SOURCE 6 ioc $0
PARAM_COMPARE 6 &ioc->FreeQ != $6->FreeQ.next
USER_DATA 0 bytes s32min-s32max
UNITS 2 sge_offset unit_byte
LOCK2 global &mpctl_mutex
LOCK2 6 &ioc->ioctl_cmds.mutex
TYPE_LOCK (struct _MPT_MGMT)->mutex