Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/message/fusion/mptsas.c, line 3261
- drivers/scsi/leapraid/leapraid_transport.c, line 674
- drivers/scsi/libsas/sas_discover.c
- drivers/scsi/libsas/sas_expander.c
- drivers/scsi/mpi3mr/mpi3mr_transport.c, line 1455
- drivers/scsi/mpt3sas/mpt3sas_transport.c, line 818
- drivers/scsi/scsi_transport_sas.c, line 1562
- drivers/scsi/smartpqi/smartpqi_sas_transport.c, line 120
Smatch caller information:
drivers/scsi/mpi3mr/mpi3mr_transport.c mpi3mr_sas_port_add() -> sas_expander_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.fwnode->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.fwnode->dev->fwnode | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.fwnode->dev->p | 1-u64max |
| PARAM_VALUE | 0 | parent->dev.fwnode->dev->power.set_latency_tolerance | 5740181548905971712 |
| PARAM_VALUE | 0 | parent->dev.fwnode->suppliers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.fwnode->suppliers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.kobj.sd->active.counter | (-2147483647) |
| PARAM_VALUE | 0 | parent->dev.p->klist_children.get | 2213798222526185472 |
| PARAM_VALUE | 0 | parent->dev.p->klist_children.put | 3126867300421632000 |
| PARAM_VALUE | 0 | parent->dev.p->knode_bus.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | parent->dev.p->knode_class.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | parent->dev.p->knode_parent.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | parent->dev.physical_location->horizontal_position | 0-3 |
| PARAM_VALUE | 0 | parent->dev.physical_location->panel | 0-7 |
| PARAM_VALUE | 0 | parent->dev.physical_location->vertical_position | 0-3 |
| PARAM_VALUE | 0 | parent->phy_list.next | 1792,4096-ptr_max |
| PARAM_VALUE | 1 | type | 2 |
| BUF_SIZE | 0 | parent | (-1),1824 |
| BUF_SIZE | 0 | parent | (-1),1824 |
| DATA_SOURCE | 0 | parent | r sas_port_alloc_num |
| PARAM_COMPARE | 0 | &parent->phy_list | == $0->phy_list.next |
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/smartpqi/smartpqi_sas_transport.c pqi_sas_rphy_alloc() -> sas_expander_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->phy_list.next | 1792,4096-ptr_max |
| PARAM_VALUE | 1 | type | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ctrl_info->scan_mutex | ||
| HALF_LOCKED2 | &ctrl_info->lun_reset_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct pqi_ctrl_info)->scan_mutex |
drivers/scsi/libsas/sas_expander.c sas_ex_discover_expander() -> sas_expander_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.devres_head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.devres_head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.dma_io_tlb_mem->dyn_alloc.data.counter | 9007199250546704 |
| PARAM_VALUE | 0 | parent->dev.dma_io_tlb_mem->dyn_alloc.entry.prev | 1473117533515866344 |
| PARAM_VALUE | 0 | parent->dev.dma_io_tlb_mem->dyn_alloc.func | 1583282886040592384 |
| PARAM_VALUE | 0 | parent->dev.dma_io_tlb_mem->pools.prev | 1473117533515866320 |
| PARAM_VALUE | 0 | parent->dev.dma_io_tlb_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.dma_io_tlb_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.dma_io_tlb_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.dma_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.dma_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.dma_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.flags | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.fwnode->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.fwnode->dev->fwnode | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.fwnode->dev->p | 1-u64max |
| PARAM_VALUE | 0 | parent->dev.fwnode->dev->power.set_latency_tolerance | 5740181548905971712 |
| PARAM_VALUE | 0 | parent->dev.fwnode->suppliers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.fwnode->suppliers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.kobj.sd->active.counter | (-2147483647) |
| PARAM_VALUE | 0 | parent->dev.links.consumers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.links.consumers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.links.consumers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.links.defer_sync.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.links.defer_sync.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.links.defer_sync.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.links.suppliers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.links.suppliers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.links.suppliers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.p->klist_children.get | 2213798222526185472 |
| PARAM_VALUE | 0 | parent->dev.p->klist_children.put | 3126867300421632000 |
| PARAM_VALUE | 0 | parent->dev.p->knode_bus.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | parent->dev.p->knode_class.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | parent->dev.p->knode_parent.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | parent->dev.parent->release | 0-ptr_max |
| PARAM_VALUE | 0 | parent->dev.physical_location->horizontal_position | 0-3 |
| PARAM_VALUE | 0 | parent->dev.physical_location->panel | 0-7 |
| PARAM_VALUE | 0 | parent->dev.physical_location->vertical_position | 0-3 |
| PARAM_VALUE | 0 | parent->dev.power.entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.power.entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.power.wait_queue.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.power.wait_queue.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.power.wait_queue.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->phy_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->phy_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->phy_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->phy_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->phy_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->phy_list_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | parent->phy_list_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | parent->phy_list_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->phy_list_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | parent->port_identifier | 0-254 |
| PARAM_VALUE | 1 | type | 2 |
| BUF_SIZE | 0 | parent | (-1),1824 |
| BUF_SIZE | 0 | parent | (-1),1824 |
| DATA_SOURCE | 0 | parent | r sas_port_alloc |
| PARAM_COMPARE | 0 | &parent->phy_list | == $0->phy_list.next |
| HALF_LOCKED2 | &ha->disco_mutex |
drivers/scsi/libsas/sas_expander.c sas_ex_discover_expander() -> sas_expander_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.devres_head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.devres_head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.dma_io_tlb_mem->dyn_alloc.data.counter | 9007199250546704 |
| PARAM_VALUE | 0 | parent->dev.dma_io_tlb_mem->dyn_alloc.entry.prev | 1473117533515866344 |
| PARAM_VALUE | 0 | parent->dev.dma_io_tlb_mem->dyn_alloc.func | 1583282886040592384 |
| PARAM_VALUE | 0 | parent->dev.dma_io_tlb_mem->pools.prev | 1473117533515866320 |
| PARAM_VALUE | 0 | parent->dev.dma_io_tlb_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.dma_io_tlb_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.dma_io_tlb_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.dma_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.dma_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.dma_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.flags | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.fwnode->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.fwnode->dev->fwnode | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.fwnode->dev->p | 1-u64max |
| PARAM_VALUE | 0 | parent->dev.fwnode->dev->power.set_latency_tolerance | 5740181548905971712 |
| PARAM_VALUE | 0 | parent->dev.fwnode->suppliers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.fwnode->suppliers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.kobj.sd->active.counter | (-2147483647) |
| PARAM_VALUE | 0 | parent->dev.links.consumers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.links.consumers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.links.consumers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.links.defer_sync.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.links.defer_sync.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.links.defer_sync.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.links.suppliers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.links.suppliers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.links.suppliers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.p->klist_children.get | 2213798222526185472 |
| PARAM_VALUE | 0 | parent->dev.p->klist_children.put | 3126867300421632000 |
| PARAM_VALUE | 0 | parent->dev.p->knode_bus.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | parent->dev.p->knode_class.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | parent->dev.p->knode_parent.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | parent->dev.parent->release | 0-ptr_max |
| PARAM_VALUE | 0 | parent->dev.physical_location->horizontal_position | 0-3 |
| PARAM_VALUE | 0 | parent->dev.physical_location->panel | 0-7 |
| PARAM_VALUE | 0 | parent->dev.physical_location->vertical_position | 0-3 |
| PARAM_VALUE | 0 | parent->dev.power.entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.power.entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.power.wait_queue.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.power.wait_queue.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.power.wait_queue.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->phy_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->phy_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->phy_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->phy_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->phy_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->phy_list_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | parent->phy_list_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | parent->phy_list_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->phy_list_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | parent->port_identifier | 0-254 |
| PARAM_VALUE | 1 | type | 3 |
| BUF_SIZE | 0 | parent | (-1),1824 |
| BUF_SIZE | 0 | parent | (-1),1824 |
| DATA_SOURCE | 0 | parent | r sas_port_alloc |
| PARAM_COMPARE | 0 | &parent->phy_list | == $0->phy_list.next |
| HALF_LOCKED2 | &ha->disco_mutex |
drivers/scsi/libsas/sas_discover.c sas_get_port_device() -> sas_expander_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 2 |
drivers/scsi/libsas/sas_discover.c sas_get_port_device() -> sas_expander_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 3 |
drivers/scsi/leapraid/leapraid_transport.c leapraid_create_and_register_rphy() -> sas_expander_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.fwnode->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.fwnode->dev->fwnode | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.fwnode->dev->p | 1-u64max |
| PARAM_VALUE | 0 | parent->dev.fwnode->dev->power.set_latency_tolerance | 5740181548905971712 |
| PARAM_VALUE | 0 | parent->dev.fwnode->suppliers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.fwnode->suppliers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.kobj.sd->active.counter | (-2147483647) |
| PARAM_VALUE | 0 | parent->dev.p->klist_children.get | 2213798222526185472 |
| PARAM_VALUE | 0 | parent->dev.p->klist_children.put | 3126867300421632000 |
| PARAM_VALUE | 0 | parent->dev.p->knode_bus.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | parent->dev.p->knode_class.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | parent->dev.p->knode_parent.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | parent->dev.physical_location->horizontal_position | 0-3 |
| PARAM_VALUE | 0 | parent->dev.physical_location->panel | 0-7 |
| PARAM_VALUE | 0 | parent->dev.physical_location->vertical_position | 0-3 |
| PARAM_VALUE | 0 | parent->phy_list.next | 1792,4096-ptr_max |
| PARAM_VALUE | 1 | type | 2-u32max |
| BUF_SIZE | 0 | parent | 1824 |
| DATA_SOURCE | 0 | parent | r sas_port_alloc_num |
| PARAM_COMPARE | 0 | &parent->phy_list | == $0->phy_list.next |
drivers/scsi/mpt3sas/mpt3sas_transport.c mpt3sas_transport_port_add() -> sas_expander_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.fwnode->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.fwnode->dev->fwnode | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.fwnode->dev->p | 1-u64max |
| PARAM_VALUE | 0 | parent->dev.fwnode->dev->power.set_latency_tolerance | 5740181548905971712 |
| PARAM_VALUE | 0 | parent->dev.fwnode->suppliers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.fwnode->suppliers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.kobj.sd->active.counter | (-2147483647) |
| PARAM_VALUE | 0 | parent->dev.p->klist_children.get | 2213798222526185472 |
| PARAM_VALUE | 0 | parent->dev.p->klist_children.put | 3126867300421632000 |
| PARAM_VALUE | 0 | parent->dev.p->knode_bus.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | parent->dev.p->knode_class.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | parent->dev.p->knode_parent.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | parent->dev.physical_location->horizontal_position | 0-3 |
| PARAM_VALUE | 0 | parent->dev.physical_location->panel | 0-7 |
| PARAM_VALUE | 0 | parent->dev.physical_location->vertical_position | 0-3 |
| PARAM_VALUE | 0 | parent->phy_list.next | 1792,4096-ptr_max |
| PARAM_VALUE | 1 | type | 2-3 |
| BUF_SIZE | 0 | parent | 1824 |
| DATA_SOURCE | 0 | parent | r sas_port_alloc_num |
| PARAM_COMPARE | 0 | &parent->phy_list | == $0->phy_list.next |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/message/fusion/mptsas.c mptsas_probe_one_phy() -> sas_expander_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | parent->rphy | 0 |
| PARAM_VALUE | 1 | type | 2-3 |
| BUF_SIZE | 0 | parent | (-1),1824 |
| BUF_SIZE | 0 | parent | (-1),1824 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |