Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- drivers/message/fusion/mptsas.c
- drivers/scsi/hpsa.c, line 9796
- drivers/scsi/leapraid/leapraid_transport.c, line 664
- drivers/scsi/libsas/sas_ata.c, line 710
- drivers/scsi/libsas/sas_discover.c, line 112
- drivers/scsi/libsas/sas_expander.c, line 782
- drivers/scsi/mpi3mr/mpi3mr_transport.c, line 1452
- drivers/scsi/mpt3sas/mpt3sas_transport.c, line 807
- drivers/scsi/scsi_transport_sas.c, line 1521
- drivers/scsi/smartpqi/smartpqi_sas_transport.c, line 123
Smatch caller information:
drivers/scsi/mpi3mr/mpi3mr_transport.c mpi3mr_sas_port_add() -> sas_end_device_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 |
| 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_end_device_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->phy_list.next | 1792,4096-ptr_max |
| 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_add_dev() -> sas_end_device_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 1-u64max |
| PARAM_VALUE | 0 | parent->phy_list.prev->next->next | 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,4096-ptr_max |
| PARAM_VALUE | 0 | parent->phy_list_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | parent->phy_list_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | parent->phy_list_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | parent->phy_list_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | parent->phy_list_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | parent->phy_list_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | parent->phy_list_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | parent->phy_list_mutex.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | parent | (-1),1824 |
| BUF_SIZE | 0 | parent | (-1),1824 |
| HALF_LOCKED2 | &ha->disco_mutex |
drivers/scsi/hpsa.c hpsa_add_sas_device() -> sas_end_device_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->phy_list.next | 1792,4096-ptr_max |
drivers/scsi/libsas/sas_ata.c sas_ata_add_dev() -> sas_end_device_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 1-u64max |
| PARAM_VALUE | 0 | parent->phy_list.prev->next->next | 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,4096-ptr_max |
| PARAM_VALUE | 0 | parent->phy_list_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | parent->phy_list_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | parent->phy_list_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | parent->phy_list_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | parent->phy_list_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | parent->phy_list_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | parent->phy_list_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | parent->phy_list_mutex.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | parent | (-1),1824 |
| BUF_SIZE | 0 | parent | (-1),1824 |
| HALF_LOCKED2 | &ha->disco_mutex |
drivers/scsi/libsas/sas_discover.c sas_get_port_device() -> sas_end_device_alloc()
| Type | Parameter | Key | Value |
|---|
drivers/scsi/leapraid/leapraid_transport.c leapraid_create_and_register_rphy() -> sas_end_device_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 |
| 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_end_device_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 |
| 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_add_end_device() -> sas_end_device_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/message/fusion/mptsas.c mptsas_probe_one_phy() -> sas_end_device_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 |
| BUF_SIZE | 0 | parent | (-1),1824 |
| BUF_SIZE | 0 | parent | (-1),1824 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |