Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_flogi_retry() -> fcoe_ctlr_select()

Type Parameter Key Value
PARAM_VALUE 0 fip 4096-ptr_max
PARAM_VALUE 0 fip->ctl_src_addr 4096-ptr_max
PARAM_VALUE 0 fip->ctlr_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 fip->ctlr_mutex.dep_map->name 0-255
PARAM_VALUE 0 fip->ctlr_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 fip->ctlr_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 fip->ctlr_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 fip->ctlr_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 fip->ctlr_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 fip->ctlr_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 fip->ctlr_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 fip->ctlr_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 fip->ctlr_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 fip->ctlr_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 fip->ctlr_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 fip->ctlr_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 fip->fip_recv_list.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 fip->lp->disc.disc_work.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 fip->lp->disc.disc_work.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 fip->lp->disc.disc_work.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 fip->lp->ptp_rdata->retry_work.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 fip->lp->ptp_rdata->retry_work.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 fip->lp->ptp_rdata->retry_work.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 fip->lp->retry_work.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 fip->lp->retry_work.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 fip->lp->retry_work.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 fip->mode 0-2,4-u32max
PARAM_VALUE 0 fip->state 0-1,3-u32max
CAPPED_DATA 0 &fip->ctlr_mutex 1
DATA_SOURCE 0 fip $0
PREEMPT_ADD <- disables preempt
LOCK2 bh
LOCK2 0 &fip->ctlr_lock
LOCK2 0 &fip->ctlr_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct fcoe_ctlr)->ctlr_lock
TYPE_LOCK (struct fcoe_ctlr)->ctlr_mutex

drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_flogi_send() -> fcoe_ctlr_select()

Type Parameter Key Value
PARAM_VALUE 0 fip 4096-ptr_max
PARAM_VALUE 0 fip->ctlr_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 fip->ctlr_mutex.dep_map->name 0-255
PARAM_VALUE 0 fip->ctlr_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 fip->ctlr_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 fip->ctlr_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 fip->ctlr_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 fip->ctlr_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 fip->ctlr_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 fip->flogi_req_send 1-255
PARAM_VALUE 0 fip->mode 0-2,4-u32max
PARAM_VALUE 0 fip->sel_fcf 4096-ptr_max
PARAM_VALUE 0 fip->sel_fcf->flogi_sent 1-255
PARAM_VALUE 0 fip->state 1-u32max
DATA_SOURCE 0 fip $0
PREEMPT_ADD <- disables preempt
LOCK2 bh
LOCK2 0 &fip->ctlr_lock
LOCK2 0 &fip->ctlr_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct fcoe_ctlr)->ctlr_lock
TYPE_LOCK (struct fcoe_ctlr)->ctlr_mutex

drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_flogi_send() -> fcoe_ctlr_select()

Type Parameter Key Value
PARAM_VALUE 0 fip 4096-ptr_max
PARAM_VALUE 0 fip->ctlr_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 fip->ctlr_mutex.dep_map->name 0-255
PARAM_VALUE 0 fip->ctlr_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 fip->ctlr_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 fip->ctlr_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 fip->ctlr_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 fip->ctlr_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 fip->ctlr_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 fip->flogi_req_send 1-255
PARAM_VALUE 0 fip->mode 0-2,4-u32max
PARAM_VALUE 0 fip->sel_fcf 0,4096-ptr_max
PARAM_VALUE 0 fip->state 1-u32max
CAPPED_DATA 0 &fip->fcfs 1
DATA_SOURCE 0 fip $0
PREEMPT_ADD <- disables preempt
LOCK2 bh
LOCK2 0 &fip->ctlr_lock
LOCK2 0 &fip->ctlr_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct fcoe_ctlr)->ctlr_lock
TYPE_LOCK (struct fcoe_ctlr)->ctlr_mutex

drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_timer_work() -> fcoe_ctlr_select()

Type Parameter Key Value
PARAM_VALUE 0 fip 4096-ptr_max
PARAM_VALUE 0 fip->ctlr_mutex.dep_map->name 0-255
PARAM_VALUE 0 fip->ctlr_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 fip->ctlr_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 fip->ctlr_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 fip->ctlr_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 fip->ctlr_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 fip->ctlr_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 fip->mode 0-2,4-u32max
PARAM_VALUE 0 fip->sel_fcf 0
PARAM_VALUE 0 fip->sel_time 1-u64max
PARAM_VALUE 0 fip->state 1-u32max
CAPPED_DATA 0 &fip->ctlr_mutex 1
LOCK2 0 &fip->ctlr_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct fcoe_ctlr)->ctlr_mutex