Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/libfc/fc_npiv.c fc_vport_setlink() -> __fc_vport_setlink()

Type Parameter Key Value
PARAM_VALUE 0 n_port->lp_mutex.dep_map->name 0-255
PARAM_VALUE 0 n_port->lp_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 n_port->lp_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 n_port->lp_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 n_port->lp_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 n_port->lp_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 n_port->lp_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 vn_port 4096-ptr_max
PARAM_VALUE 1 vn_port->disc.disc_mutex.dep_map->name 0-255
PARAM_VALUE 1 vn_port->disc.disc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 vn_port->disc.disc_mutex.first_waiter->list.prev->prev 0,5159360019465732096
PARAM_VALUE 1 vn_port->disc.disc_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 1 vn_port->disc.disc_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 vn_port->disc.disc_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 vn_port->disc.disc_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 1 vn_port->disc.disc_mutex.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 1 vn_port->disc.disc_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 vn_port->disc.disc_work->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 1 vn_port->disc.disc_work.wq->dfl_pwq 0-s64max
PARAM_VALUE 1 vn_port->disc.disc_work.wq->saved_max_active s32min-s32max
PARAM_VALUE 1 vn_port->disc.disc_work.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 vn_port->disc.priv->ctlr_mutex.dep_map->name 0-255
PARAM_VALUE 1 vn_port->disc.priv->ctlr_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 vn_port->disc.priv->ctlr_mutex.first_waiter->list.prev->prev 0,5159360019465732096
PARAM_VALUE 1 vn_port->disc.priv->ctlr_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 1 vn_port->disc.priv->ctlr_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 vn_port->disc.priv->ctlr_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 vn_port->disc.priv->ctlr_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 1 vn_port->disc.priv->ctlr_mutex.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 1 vn_port->disc.priv->ctlr_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 vn_port->disc.priv->ctlr_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 1 vn_port->dns_rdata 0
PARAM_VALUE 1 vn_port->host->pseudo_sdev->sdev_dev.dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 1 vn_port->host->pseudo_sdev->sdev_dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 1 vn_port->host->pseudo_sdev->sdev_dev.dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 1 vn_port->host->pseudo_sdev->sdev_dev.dma_io_tlb_mem->force_bounce 0-1
PARAM_VALUE 1 vn_port->host->pseudo_sdev->sdev_dev.dma_io_tlb_mem->nslabs 0-s64max
PARAM_VALUE 1 vn_port->host->pseudo_sdev->sdev_dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 1 vn_port->host->pseudo_sdev->sdev_gendev.dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 1 vn_port->host->pseudo_sdev->sdev_gendev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 1 vn_port->host->pseudo_sdev->sdev_gendev.dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 1 vn_port->host->pseudo_sdev->sdev_gendev.dma_io_tlb_mem->force_bounce 0-1
PARAM_VALUE 1 vn_port->host->pseudo_sdev->sdev_gendev.dma_io_tlb_mem->nslabs 0-s64max
PARAM_VALUE 1 vn_port->host->pseudo_sdev->sdev_gendev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 1 vn_port->host->shost_dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 1 vn_port->host->shost_dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 vn_port->host->shost_gendev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 1 vn_port->host->shost_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 vn_port->lp_mutex.dep_map->name 0-255
PARAM_VALUE 1 vn_port->lp_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 vn_port->lp_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 vn_port->lp_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 vn_port->lp_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 vn_port->lp_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 vn_port->lp_mutex.wait_lock.owner (-1)
PARAM_VALUE 1 vn_port->lp_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 vn_port->port_id 0
PARAM_VALUE 1 vn_port->ptp_rdata 0
PARAM_VALUE 1 vn_port->retry_work.wq->dfl_pwq 0-s64max
PARAM_VALUE 1 vn_port->retry_work.wq->saved_max_active s32min-s32max
PARAM_VALUE 1 vn_port->retry_work.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 vn_port->state 1-14,16-u32max
PARAM_VALUE 1 vn_port->vport 4096-ptr_max
BUF_SIZE 1 vn_port (-1)-0,8,96,248,1296
BUF_SIZE 1 vn_port (-1)-0,8,96,248,1296
CAPPED_DATA 0 &n_port->lp_mutex 1
CAPPED_DATA 1 vn_port 1
CAPPED_DATA 1 &vn_port->lp_mutex 1
DATA_SOURCE 1 vn_port $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 vn_port->host->pseudo_sdev->request_queue->async_depth
NO_OVERFLOW_SIMPLE 1 vn_port->host->pseudo_sdev->request_queue->limits.max_discard_sectors
NO_OVERFLOW_SIMPLE 1 vn_port->host->pseudo_sdev->request_queue->limits.max_open_zones
NO_OVERFLOW_SIMPLE 1 vn_port->host->pseudo_sdev->request_queue->nr_hw_queues
NO_OVERFLOW_SIMPLE 1 vn_port->host->pseudo_sdev->request_queue->nr_requests
LOCK2 0 &n_port->lp_mutex
LOCK2 1 &vn_port->lp_mutex
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct fc_lport)->lp_mutex

drivers/scsi/libfc/fc_npiv.c fc_vports_linkchange() -> __fc_vport_setlink()

Type Parameter Key Value
PARAM_VALUE 0 n_port 4096-ptr_max
PARAM_VALUE 0 n_port->host->pseudo_sdev->sdev_dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 n_port->host->pseudo_sdev->sdev_gendev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 n_port->host->shost_dev.dma_ops->alloc 0,1744715142275031040,2065280936184246272,2938795245442469888
PARAM_VALUE 0 n_port->host->shost_dev.dma_ops->alloc_pages_op 0,4686288359180861440,6350905364812603392,6978773206971854848
PARAM_VALUE 0 n_port->host->shost_dev.dma_ops->dma_supported 0,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888
PARAM_VALUE 0 n_port->host->shost_dev.dma_ops->free 0,4778164490434129920,7144974343242604544,7861694134817480704
PARAM_VALUE 0 n_port->host->shost_dev.dma_ops->free_pages 0,239457316199952384,5196233516945883136,7413093576918179840
PARAM_VALUE 0 n_port->host->shost_dev.dma_ops->get_required_mask 0,7770840938859397120
PARAM_VALUE 0 n_port->host->shost_dev.dma_ops->get_sgtable 0,1322759480623644672
PARAM_VALUE 0 n_port->host->shost_dev.dma_ops->map_phys 0,2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696
PARAM_VALUE 0 n_port->host->shost_dev.dma_ops->map_sg 0,2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488
PARAM_VALUE 0 n_port->host->shost_dev.dma_ops->max_mapping_size 0,8830639662091943936
PARAM_VALUE 0 n_port->host->shost_dev.dma_ops->mmap 0,5761417605877342208,7694740394750603264
PARAM_VALUE 0 n_port->host->shost_dev.dma_ops->sync_sg_for_cpu 0,4862850025765572608
PARAM_VALUE 0 n_port->host->shost_dev.dma_ops->sync_sg_for_device 0,3732476178258022400
PARAM_VALUE 0 n_port->host->shost_dev.dma_ops->sync_single_for_cpu 0,1155325867376779264
PARAM_VALUE 0 n_port->host->shost_dev.dma_ops->sync_single_for_device 0,8781567156597239808
PARAM_VALUE 0 n_port->host->shost_dev.dma_ops->unmap_phys 0,3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048
PARAM_VALUE 0 n_port->host->shost_dev.dma_ops->unmap_sg 0,1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440
PARAM_VALUE 0 n_port->host->shost_dev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 n_port->host->shost_dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 n_port->host->shost_dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 n_port->host->shost_gendev.dma_ops->alloc 0,1744715142275031040,2065280936184246272,2938795245442469888
PARAM_VALUE 0 n_port->host->shost_gendev.dma_ops->alloc_pages_op 0,4686288359180861440,6350905364812603392,6978773206971854848
PARAM_VALUE 0 n_port->host->shost_gendev.dma_ops->dma_supported 0,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888
PARAM_VALUE 0 n_port->host->shost_gendev.dma_ops->free 0,4778164490434129920,7144974343242604544,7861694134817480704
PARAM_VALUE 0 n_port->host->shost_gendev.dma_ops->free_pages 0,239457316199952384,5196233516945883136,7413093576918179840
PARAM_VALUE 0 n_port->host->shost_gendev.dma_ops->get_required_mask 0,7770840938859397120
PARAM_VALUE 0 n_port->host->shost_gendev.dma_ops->get_sgtable 0,1322759480623644672
PARAM_VALUE 0 n_port->host->shost_gendev.dma_ops->map_phys 0,2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696
PARAM_VALUE 0 n_port->host->shost_gendev.dma_ops->map_sg 0,2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488
PARAM_VALUE 0 n_port->host->shost_gendev.dma_ops->max_mapping_size 0,8830639662091943936
PARAM_VALUE 0 n_port->host->shost_gendev.dma_ops->mmap 0,5761417605877342208,7694740394750603264
PARAM_VALUE 0 n_port->host->shost_gendev.dma_ops->sync_sg_for_cpu 0,4862850025765572608
PARAM_VALUE 0 n_port->host->shost_gendev.dma_ops->sync_sg_for_device 0,3732476178258022400
PARAM_VALUE 0 n_port->host->shost_gendev.dma_ops->sync_single_for_cpu 0,1155325867376779264
PARAM_VALUE 0 n_port->host->shost_gendev.dma_ops->sync_single_for_device 0,8781567156597239808
PARAM_VALUE 0 n_port->host->shost_gendev.dma_ops->unmap_phys 0,3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048
PARAM_VALUE 0 n_port->host->shost_gendev.dma_ops->unmap_sg 0,1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440
PARAM_VALUE 0 n_port->host->shost_gendev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 n_port->host->shost_gendev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 n_port->host->shost_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 n_port->state 0,14-16
PARAM_VALUE 1 vn_port 4096-ptr_max
PARAM_VALUE 1 vn_port->lp_mutex.dep_map->name 0-255
PARAM_VALUE 1 vn_port->lp_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 vn_port->lp_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 vn_port->lp_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 vn_port->lp_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 vn_port->lp_mutex.wait_lock.owner (-1)
PARAM_VALUE 1 vn_port->lp_mutex.wait_lock.owner_cpu u32max
BUF_SIZE 0 n_port (-1)-u16max
BUF_SIZE 0 n_port (-1)-u16max
BUF_SIZE 0 n_port->host->hostt (-1),360
BUF_SIZE 0 n_port->ptp_rdata (-1),1-u16max
CAPPED_DATA 0 &n_port->vports 1
CAPPED_DATA 1 &vn_port->list 1
CAPPED_DATA 1 &vn_port->lp_mutex 1
DATA_SOURCE 0 n_port $0
NOSPEC 0 n_port->ptp_rdata->ids.port_id
HARD_MAX 0 n_port->state 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 n_port->e_d_tov 1-u32max[c]
USER_DATA 0 n_port->npiv_enabled 0-1
USER_DATA 0 n_port->ptp_rdata->e_d_tov 1-u32max[c]
USER_DATA 0 n_port->ptp_rdata->ids.port_id 0-16777215[c]
USER_DATA 0 n_port->ptp_rdata->local_port->e_d_tov 1-u32max[c]
USER_DATA 0 n_port->ptp_rdata->local_port->npiv_enabled 0-1
USER_DATA 0 n_port->ptp_rdata->local_port->r_a_tov 0-u32max[c]
USER_DATA 0 n_port->ptp_rdata->r_a_tov 0-u32max[c]
USER_DATA 0 n_port->r_a_tov 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 n_port->host->pseudo_sdev->request_queue->async_depth
NO_OVERFLOW_SIMPLE 0 n_port->host->pseudo_sdev->request_queue->limits.io_min
NO_OVERFLOW_SIMPLE 0 n_port->host->pseudo_sdev->request_queue->limits.max_discard_sectors
NO_OVERFLOW_SIMPLE 0 n_port->host->pseudo_sdev->request_queue->limits.max_open_zones
NO_OVERFLOW_SIMPLE 0 n_port->host->pseudo_sdev->request_queue->limits.physical_block_size
NO_OVERFLOW_SIMPLE 0 n_port->host->pseudo_sdev->request_queue->limits.zone_write_granularity
NO_OVERFLOW_SIMPLE 0 n_port->host->pseudo_sdev->request_queue->nr_hw_queues
NO_OVERFLOW_SIMPLE 0 n_port->host->pseudo_sdev->request_queue->nr_requests
NO_OVERFLOW_SIMPLE 0 n_port->host->shost_dev.physical_location
NO_OVERFLOW_SIMPLE 0 n_port->host->shost_gendev.p
NO_OVERFLOW_SIMPLE 0 n_port->host->shost_gendev.physical_location
LOCK2 1 &vn_port->lp_mutex
HALF_LOCKED2 0 n_port->host->host_lock
HALF_LOCKED2 0 &n_port->lp_mutex
TYPE_LOCK (struct fc_lport)->lp_mutex