Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/scsi/qla2xxx/qla_init.c fcport_is_bigger() -> fcport_is_smaller()

Type Parameter Key Value
PARAM_VALUE 0 fcport 4096-ptr_max
CAPPED_DATA 0 fcport->loop_id 1
DATA_SOURCE 0 fcport $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 fcport unit_byte
HALF_LOCKED2 &pool->lock

drivers/scsi/qla2xxx/qla_init.c qla24xx_fcport_handle_login() -> fcport_is_smaller()

Type Parameter Key Value
PARAM_VALUE 0 fcport 4096-ptr_max
PARAM_VALUE 0 fcport->disc_state 0
PARAM_VALUE 0 fcport->scan_state 2
CAPPED_DATA 0 fcport 1
DATA_SOURCE 0 fcport $1
BIT_INFO 0 fcport->flags 0x0,0xffffffd7
RX_PATH
TASK_NOT_RUNNING
UNITS 0 fcport unit_byte
HALF_LOCKED2 &pool->lock

drivers/scsi/qla2xxx/qla_init.c qla24xx_handle_gnl_done_event() -> fcport_is_smaller()

Type Parameter Key Value
PARAM_VALUE 0 fcport 4096-ptr_max
PARAM_VALUE 0 fcport->fw_login_state 0-4,7-15
PARAM_VALUE 0 fcport->loop_id 0-s16max
CAPPED_DATA 0 fcport->loop_id 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 fcport unit_byte
HALF_LOCKED2 &pool->lock

drivers/scsi/qla2xxx/qla_init.c qla_handle_els_plogi_done() -> fcport_is_smaller()

Type Parameter Key Value
PARAM_VALUE 0 fcport 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 fcport unit_byte
HALF_LOCKED2 &ha->hardware_lock
HALF_LOCKED2 *flags
HALF_LOCKED2 flags
HALF_LOCKED2 qp->qp_lock_ptr

drivers/scsi/qla2xxx/qla_target.c fcport_is_bigger() -> fcport_is_smaller()

Type Parameter Key Value
PARAM_VALUE 0 fcport 4096-ptr_max
PARAM_VALUE 0 fcport->disc_state 0-4,6-u32max
DATA_SOURCE 0 fcport $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ha->hardware_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 flags