Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/scsi/elx/libefc/efc_cmds.c efc_cmd_domain_alloc() -> sli_resource_alloc()

Type Parameter Key Value
PARAM_VALUE 1 rtype 0
PARAM_VALUE 2 rid 4096-ptr_max
PARAM_VALUE 2 *rid u32max
PARAM_VALUE 3 index 496726604932005888
TASK_NOT_RUNNING
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &efc->lock
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 flags

drivers/scsi/elx/libefc/efc_cmds.c efc_cmd_node_alloc() -> sli_resource_alloc()

Type Parameter Key Value
PARAM_VALUE 1 rtype 2
PARAM_VALUE 2 rid 4096-ptr_max
PARAM_VALUE 2 *rid u32max
PARAM_VALUE 3 index 4096-ptr_max
MEM_ZERO 2 rid
MEM_ZERO 3 index
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &efc->lock
HALF_LOCKED2 flags

drivers/scsi/elx/libefc/efc_cmds.c efc_cmd_nport_alloc() -> sli_resource_alloc()

Type Parameter Key Value
PARAM_VALUE 1 rtype 1
PARAM_VALUE 2 rid 4096-ptr_max
PARAM_VALUE 2 *rid u32max
PARAM_VALUE 3 index 125451803033575424
TASK_NOT_RUNNING
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &efc->lock
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 flags

drivers/scsi/elx/efct/efct_hw.c efct_hw_setup_io() -> sli_resource_alloc()

Type Parameter Key Value
PARAM_VALUE 0 sli4 4096-ptr_max
PARAM_VALUE 1 rtype 3
PARAM_VALUE 2 rid 4096-ptr_max
PARAM_VALUE 3 index 2399819744601075712
RX_PATH
TASK_NOT_RUNNING