Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/bfa/bfa_fcpim.c bfa_ioim_sgpg_alloc() -> bfa_sgpg_wait()

Type Parameter Key Value
PARAM_VALUE 0 bfa->modules.sgpg_mod.free_sgpgs s32min-2147483646
PARAM_VALUE 1 wqe 128,4096-ptr_max
PARAM_VALUE 2 nsgpg 1-9363
CAPPED_DATA 0 bfa->modules.sgpg_mod.free_sgpgs 1
PARAM_COMPARE 0 bfa->modules.sgpg_mod.free_sgpgs < $2
PARAM_COMPARE 2 nsgpg > $0->modules.sgpg_mod.free_sgpgs
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &bfad->bfad_lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq_flags
HALF_LOCKED2 shost->host_lock
TYPE_LOCK (struct bfad_s)->bfad_lock