Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/scsi/elx/libefc/efc_domain.c
- drivers/scsi/elx/libefc/efc_fabric.c
- drivers/scsi/elx/libefc/efc_nport.c, line 416
Smatch caller information:
drivers/scsi/elx/libefc/efc_domain.c __efc_domain_init() -> efc_node_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nport | 4096-ptr_max |
| PARAM_VALUE | 0 | nport->attached | 0 |
| PARAM_VALUE | 0 | nport->dma.alloc | 0 |
| PARAM_VALUE | 0 | nport->dma.len | 0 |
| PARAM_VALUE | 0 | nport->dma.pdev | 0 |
| PARAM_VALUE | 0 | nport->dma.size | 0,112 |
| PARAM_VALUE | 0 | nport->dma.virt | 0-ptr_max |
| PARAM_VALUE | 0 | nport->dma.virt->_refcount.counter | s32min-s32max |
| PARAM_VALUE | 0 | nport->dma.virt->memcg_data | 0 |
| PARAM_VALUE | 0 | nport->dma.virt->page_type | 0-4294967295 |
| PARAM_VALUE | 0 | nport->domain | 4096-ptr_max |
| PARAM_VALUE | 0 | nport->domain->efc | 4096-ptr_max |
| PARAM_VALUE | 0 | nport->efc | 4096-ptr_max |
| PARAM_VALUE | 0 | nport->efc->base->hw.bmbx_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nport->efc->base->hw.bmbx_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | nport->efc->base->hw.bmbx_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | nport->efc->base->hw.bmbx_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nport->efc->base->hw.bmbx_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | nport->efc->base->hw.bmbx_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | nport->efc->base->hw.cmd_ctx_pool->curr_nr | s32min-s32max |
| PARAM_VALUE | 0 | nport->efc->base->hw.cmd_ctx_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nport->efc->base->hw.cmd_head_count | 0-4294967295 |
| PARAM_VALUE | 0 | nport->efc->base->hw.cmd_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nport->efc->base->hw.mbox_rqst_pool->curr_nr | s32min-s32max |
| PARAM_VALUE | 0 | nport->efc->base->hw.mbox_rqst_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nport->efc->base->hw.mq->index | 0-4294967295 |
| PARAM_VALUE | 0 | nport->efc->base->hw.mq->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nport->efc->pci->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | nport->efc->pci->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nport->free_req_pending | 0 |
| PARAM_VALUE | 0 | nport->list_entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | nport->list_entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | nport->list_entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | nport->list_entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | nport->lookup.xa_flags | 0 |
| PARAM_VALUE | 0 | nport->lookup.xa_head | 0 |
| PARAM_VALUE | 0 | nport->release | 3588041897913532416 |
| PARAM_VALUE | 0 | nport->sm.app | 4096-ptr_max |
| PARAM_VALUE | 0 | nport->topology | 3 |
| PARAM_VALUE | 0 | *nport->efc->base->hw->sli.bmbx.virt | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | port_id | 0-255 |
| PARAM_VALUE | 2 | init | 0 |
| PARAM_VALUE | 3 | targ | 1 |
| BUF_SIZE | 0 | nport | 480 |
| BUF_SIZE | 0 | nport->domain | 480,1080 |
| DATA_SOURCE | 0 | nport | r efc_nport_alloc |
| STR_LEN | 0 | nport->display_name | 31 |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &efc->lock | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | flags |
drivers/scsi/elx/libefc/efc_domain.c __efc_domain_wait_alloc() -> efc_node_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nport | 4096-ptr_max |
| PARAM_VALUE | 0 | nport->service_params | 4096-ptr_max |
| PARAM_VALUE | 1 | port_id | 16777214 |
| PARAM_VALUE | 2 | init | 0 |
| PARAM_VALUE | 3 | targ | 0 |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &efc->lock | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | flags |
drivers/scsi/elx/libefc/efc_domain.c efc_domain_dispatch_frame() -> efc_node_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nport | 4096-ptr_max |
| PARAM_VALUE | 0 | nport->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | port_id | 0-16777215 |
| PARAM_VALUE | 2 | init | 0 |
| PARAM_VALUE | 3 | targ | 0 |
| DATA_SOURCE | 1 | port_id | r ntoh24 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &efc->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct efc)->lock |
drivers/scsi/elx/libefc/efc_nport.c __efc_nport_vport_wait_alloc() -> efc_node_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nport | 4096-ptr_max |
| PARAM_VALUE | 0 | nport->fc_id | u32max |
| PARAM_VALUE | 0 | nport->service_params | 4096-ptr_max |
| PARAM_VALUE | 1 | port_id | 16777214 |
| PARAM_VALUE | 2 | init | 0 |
| PARAM_VALUE | 3 | targ | 0 |
| BUF_SIZE | 0 | nport | 480,1080 |
| BUF_SIZE | 0 | nport | 480,1080 |
| STR_LEN | 0 | nport->wwnn_str | (-1),31 |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &efc->lock | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | flags |
drivers/scsi/elx/libefc/efc_fabric.c __efc_p2p_wait_domain_attach() -> efc_node_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nport | 4096-ptr_max |
| PARAM_VALUE | 2 | init | 0 |
| PARAM_VALUE | 3 | targ | 0 |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &efc->lock | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | flags |
drivers/scsi/elx/libefc/efc_fabric.c efc_process_gidpt_payload() -> efc_node_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | init | 0 |
| PARAM_VALUE | 3 | targ | 0 |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &efc->lock | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | flags |
drivers/scsi/elx/libefc/efc_fabric.c efc_start_fabctl_node() -> efc_node_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nport | 4096-ptr_max |
| PARAM_VALUE | 0 | nport->efc | 4096-ptr_max |
| PARAM_VALUE | 0 | nport->efc->node_dma_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | nport->efc->node_dma_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | nport->efc->node_dma_pool->dev->cma_area->alloc_mutex.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | nport->efc->node_dma_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | nport->efc->node_dma_pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | nport->efc->node_dma_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nport->efc->node_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nport->enable_rscn | 1 |
| PARAM_VALUE | 0 | nport->lookup.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | port_id | 16777213 |
| PARAM_VALUE | 2 | init | 0 |
| PARAM_VALUE | 3 | targ | 0 |
| DATA_SOURCE | 0 | nport | $0 |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &efc->lock | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | flags |
drivers/scsi/elx/libefc/efc_fabric.c efc_start_ns_node() -> efc_node_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | port_id | 16777212 |
| PARAM_VALUE | 2 | init | 0 |
| PARAM_VALUE | 3 | targ | 0 |
| DATA_SOURCE | 0 | nport | $0 |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &efc->lock | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | flags |