Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/scsi/fnic/fip.c fnic_fcoe_start_flogi() -> fdls_alloc_oxid()

Type Parameter Key Value
PARAM_VALUE 0 iport 4096-ptr_max
PARAM_VALUE 0 iport->fip.state 2-3
PARAM_VALUE 0 iport->fnic 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 oxid_frame_type 4096
PARAM_VALUE 2 active_oxid 4096-ptr_max
BUF_SIZE 0 iport 18376
HALF_LOCKED2 &pool->lock

drivers/scsi/fnic/fdls_disc.c fdls_fdmi_register_hba() -> fdls_alloc_oxid()

Type Parameter Key Value
PARAM_VALUE 0 iport 4096-ptr_max
PARAM_VALUE 0 iport->active_oxid_fdmi_plogi u16max
PARAM_VALUE 0 iport->fabric.fdmi_pending 0
PARAM_VALUE 0 iport->fabric.fdmi_timer.entry.pprev 0
PARAM_VALUE 0 iport->fabric.fdmi_timer.flags 0-4194302
PARAM_VALUE 0 iport->fabric.fdmi_timer.function 0
PARAM_VALUE 0 iport->fabric.state 0-1,3-u32max
PARAM_VALUE 0 iport->fnic 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 iport->oxid_pool.bitmap 4096-ptr_max
PARAM_VALUE 1 oxid_frame_type 8704
PARAM_VALUE 2 active_oxid 4096-ptr_max
DATA_SOURCE 0 iport $0
PREEMPT_ADD
LOCK2 &fnic->fnic_lock
LOCK2 fnic->lock_flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct fnic)->fnic_lock

drivers/scsi/fnic/fdls_disc.c fdls_fdmi_register_pa() -> fdls_alloc_oxid()

Type Parameter Key Value
PARAM_VALUE 0 iport 4096-ptr_max
PARAM_VALUE 0 iport->active_oxid_fdmi_plogi u16max
PARAM_VALUE 0 iport->fabric.fdmi_pending 0,2
PARAM_VALUE 0 iport->fabric.fdmi_timer.entry.pprev 0
PARAM_VALUE 0 iport->fabric.fdmi_timer.flags 0-4194302
PARAM_VALUE 0 iport->fabric.fdmi_timer.function 0
PARAM_VALUE 0 iport->fabric.state 0-1,3-u32max
PARAM_VALUE 0 iport->fnic 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 iport->fnic->vdev 4096-ptr_max
PARAM_VALUE 0 iport->oxid_pool.bitmap 4096-ptr_max
PARAM_VALUE 1 oxid_frame_type 9216
PARAM_VALUE 2 active_oxid 4096-ptr_max
DATA_SOURCE 0 iport $0
FUZZY_MAX 0 iport->fabric.fdmi_pending 0
PREEMPT_ADD
LOCK2 &fnic->fnic_lock
LOCK2 fnic->lock_flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct fnic)->fnic_lock

drivers/scsi/fnic/fdls_disc.c fdls_send_fabric_flogi() -> fdls_alloc_oxid()

Type Parameter Key Value
PARAM_VALUE 0 iport 4096-ptr_max
PARAM_VALUE 0 iport->fabric.retry_counter s32min-(-2),0-s32max
PARAM_VALUE 0 iport->fnic 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 oxid_frame_type 4096
PARAM_VALUE 2 active_oxid 4096-ptr_max
CAPPED_DATA 0 iport->fabric.retry_counter 1
DATA_SOURCE 0 iport $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fnic->fnic_lock
HALF_LOCKED2 flags
HALF_LOCKED2 fnic->lock_flags
TYPE_LOCK (struct fnic)->fnic_lock

drivers/scsi/fnic/fdls_disc.c fdls_send_fabric_logo() -> fdls_alloc_oxid()

Type Parameter Key Value
PARAM_VALUE 0 iport 4096-ptr_max
PARAM_VALUE 0 iport->active_oxid_fabric_req u16max
PARAM_VALUE 0 iport->fabric.flags 0,2-u32max
PARAM_VALUE 0 iport->fabric.retry_counter s32min-2
PARAM_VALUE 0 iport->fabric.state 0-1,3-u32max
PARAM_VALUE 0 iport->fabric.timer_pending 0
PARAM_VALUE 0 iport->fnic 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 iport->oxid_pool.bitmap 4096-ptr_max
PARAM_VALUE 1 oxid_frame_type 7680
PARAM_VALUE 2 active_oxid 4096-ptr_max
PARAM_VALUE 2 *active_oxid u16max
DATA_SOURCE 0 iport $0
FUZZY_MAX 0 iport->fabric.retry_counter 2
BIT_INFO 0 iport->fabric.flags 0x0,0xfffffffe
HARD_MAX 0 iport->fabric.retry_counter 2
PREEMPT_ADD
LOCK2 &fnic->fnic_lock
LOCK2 fnic->lock_flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct fnic)->fnic_lock

drivers/scsi/fnic/fdls_disc.c fdls_send_fabric_plogi() -> fdls_alloc_oxid()

Type Parameter Key Value
PARAM_VALUE 0 iport 4096-ptr_max
PARAM_VALUE 0 iport->fabric.retry_counter s32min-(-2),0-s32max
PARAM_VALUE 0 iport->fnic 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 oxid_frame_type 4608
PARAM_VALUE 2 active_oxid 4096-ptr_max
CAPPED_DATA 0 iport->fabric.retry_counter 1
DATA_SOURCE 0 iport $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fnic->fnic_lock
HALF_LOCKED2 flags
HALF_LOCKED2 fnic->lock_flags
TYPE_LOCK (struct fnic)->fnic_lock

drivers/scsi/fnic/fdls_disc.c fdls_send_fdmi_plogi() -> fdls_alloc_oxid()

Type Parameter Key Value
PARAM_VALUE 0 iport 4096-ptr_max
PARAM_VALUE 0 iport->fabric.fdmi_retry s32min-7
PARAM_VALUE 0 iport->fnic 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 oxid_frame_type 8192
PARAM_VALUE 2 active_oxid 4096-ptr_max
DATA_SOURCE 0 iport $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fnic->fnic_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 flags
HALF_LOCKED2 fnic->lock_flags
TYPE_LOCK (struct fnic)->fnic_lock

drivers/scsi/fnic/fdls_disc.c fdls_send_gpn_ft() -> fdls_alloc_oxid()

Type Parameter Key Value
PARAM_VALUE 0 iport 4096-ptr_max
PARAM_VALUE 0 iport->fnic 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 oxid_frame_type 7168
PARAM_VALUE 2 active_oxid 4096-ptr_max
DATA_SOURCE 0 iport $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fnic->fnic_lock
HALF_LOCKED2 flags
HALF_LOCKED2 fnic->lock_flags
TYPE_LOCK (struct fnic)->fnic_lock

drivers/scsi/fnic/fdls_disc.c fdls_send_register_fc4_features() -> fdls_alloc_oxid()

Type Parameter Key Value
PARAM_VALUE 0 iport 4096-ptr_max
PARAM_VALUE 0 iport->fabric.retry_counter s32min-1
PARAM_VALUE 0 iport->fabric.state 0-1,3-u32max
PARAM_VALUE 0 iport->fabric.timer_pending 0
PARAM_VALUE 0 iport->fnic 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 oxid_frame_type 6144
PARAM_VALUE 2 active_oxid 4096-ptr_max
DATA_SOURCE 0 iport $0
FUZZY_MAX 0 iport->fabric.retry_counter 1
HARD_MAX 0 iport->fabric.retry_counter 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fnic->fnic_lock
HALF_LOCKED2 flags
HALF_LOCKED2 fnic->lock_flags
TYPE_LOCK (struct fnic)->fnic_lock

drivers/scsi/fnic/fdls_disc.c fdls_send_register_fc4_types() -> fdls_alloc_oxid()

Type Parameter Key Value
PARAM_VALUE 0 iport 4096-ptr_max
PARAM_VALUE 0 iport->fabric.retry_counter s32min-1
PARAM_VALUE 0 iport->fabric.state 0-1,3-u32max
PARAM_VALUE 0 iport->fabric.timer_pending 0
PARAM_VALUE 0 iport->fnic 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 oxid_frame_type 5632
PARAM_VALUE 2 active_oxid 4096-ptr_max
DATA_SOURCE 0 iport $0
FUZZY_MAX 0 iport->fabric.retry_counter 1
HARD_MAX 0 iport->fabric.retry_counter 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fnic->fnic_lock
HALF_LOCKED2 flags
HALF_LOCKED2 fnic->lock_flags
TYPE_LOCK (struct fnic)->fnic_lock

drivers/scsi/fnic/fdls_disc.c fdls_send_rpn_id() -> fdls_alloc_oxid()

Type Parameter Key Value
PARAM_VALUE 0 iport 4096-ptr_max
PARAM_VALUE 0 iport->fabric.retry_counter s32min-1
PARAM_VALUE 0 iport->fabric.state 0-1,3-u32max
PARAM_VALUE 0 iport->fabric.timer_pending 0
PARAM_VALUE 0 iport->fnic 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 oxid_frame_type 5120
PARAM_VALUE 2 active_oxid 4096-ptr_max
DATA_SOURCE 0 iport $0
FUZZY_MAX 0 iport->fabric.retry_counter 1
HARD_MAX 0 iport->fabric.retry_counter 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fnic->fnic_lock
HALF_LOCKED2 flags
HALF_LOCKED2 fnic->lock_flags
TYPE_LOCK (struct fnic)->fnic_lock

drivers/scsi/fnic/fdls_disc.c fdls_send_scr() -> fdls_alloc_oxid()

Type Parameter Key Value
PARAM_VALUE 0 iport 4096-ptr_max
PARAM_VALUE 0 iport->fabric.retry_counter s32min-1
PARAM_VALUE 0 iport->fabric.state 0-1,3-u32max
PARAM_VALUE 0 iport->fabric.timer_pending 0
PARAM_VALUE 0 iport->fnic 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 oxid_frame_type 6656
PARAM_VALUE 2 active_oxid 4096-ptr_max
DATA_SOURCE 0 iport $0
FUZZY_MAX 0 iport->fabric.retry_counter 1
HARD_MAX 0 iport->fabric.retry_counter 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fnic->fnic_lock
HALF_LOCKED2 flags
HALF_LOCKED2 fnic->lock_flags
TYPE_LOCK (struct fnic)->fnic_lock

drivers/scsi/fnic/fdls_disc.c fdls_send_tgt_adisc() -> fdls_alloc_oxid()

Type Parameter Key Value
PARAM_VALUE 0 iport 4096-ptr_max
PARAM_VALUE 0 iport->fnic 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 iport->state 4
PARAM_VALUE 1 oxid_frame_type 10752
PARAM_VALUE 2 active_oxid 4096-ptr_max
DATA_SOURCE 0 iport $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fnic->fnic_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 flags
HALF_LOCKED2 fnic->lock_flags
TYPE_LOCK (struct fnic)->fnic_lock

drivers/scsi/fnic/fdls_disc.c fdls_send_tgt_plogi() -> fdls_alloc_oxid()

Type Parameter Key Value
PARAM_VALUE 0 iport 4096-ptr_max
PARAM_VALUE 0 iport->fnic 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 oxid_frame_type 9728
PARAM_VALUE 2 active_oxid 4096-ptr_max
DATA_SOURCE 0 iport $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fnic->fnic_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 flags
HALF_LOCKED2 fnic->lock_flags
TYPE_LOCK (struct fnic)->fnic_lock

drivers/scsi/fnic/fdls_disc.c fdls_send_tgt_prli() -> fdls_alloc_oxid()

Type Parameter Key Value
PARAM_VALUE 0 iport 4096-ptr_max
PARAM_VALUE 0 iport->fnic 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 iport->state 4
PARAM_VALUE 1 oxid_frame_type 10240
PARAM_VALUE 2 active_oxid 4096-ptr_max
DATA_SOURCE 0 iport $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fnic->fnic_lock
HALF_LOCKED2 flags
HALF_LOCKED2 fnic->lock_flags
TYPE_LOCK (struct fnic)->fnic_lock

drivers/scsi/fnic/fdls_disc.c fdls_tgt_logout() -> fdls_alloc_oxid()

Type Parameter Key Value
PARAM_VALUE 0 iport 4096-ptr_max
PARAM_VALUE 0 iport->fabric.state 0-1,3-u32max
PARAM_VALUE 0 iport->fnic 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 iport->oxid_pool.bitmap 4096-ptr_max
PARAM_VALUE 0 iport->state 4
PARAM_VALUE 1 oxid_frame_type 11264
PARAM_VALUE 2 active_oxid 4096-ptr_max
PARAM_VALUE 2 *active_oxid u16max
DATA_SOURCE 0 iport $0
PREEMPT_ADD
LOCK2 &fnic->fnic_lock
LOCK2 fnic->lock_flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct fnic)->fnic_lock

drivers/scsi/fnic/fnic_nvme.c nvfnic_ls_req_send() -> fdls_alloc_oxid()

Type Parameter Key Value
PARAM_VALUE 0 iport 4096-ptr_max
PARAM_VALUE 0 iport->fnic 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool 4096-ptr_max
PARAM_VALUE 0 iport->fnic->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 iport->state 4
PARAM_VALUE 1 oxid_frame_type 12288
PARAM_VALUE 2 active_oxid 4096-ptr_max
BUF_SIZE 0 iport 18376
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fnic->fnic_lock
LOCK2 flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct fnic)->fnic_lock