Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/libsas/sas_expander.c sas_check_parent_topology() -> sas_phy_match_dev_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev_type | 2-3 |
| PARAM_VALUE | 0 | dev->ex_dev.cmd_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->ex_dev.cmd_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->ex_dev.cmd_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->ex_dev.cmd_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->ex_dev.cmd_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->ex_dev.cmd_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->ex_dev.cmd_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->ex_dev.cmd_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->ex_dev.cmd_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->ex_dev.cmd_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ex_dev.cmd_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->ex_dev.cmd_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | dev->ex_dev.ex_change_count | 0-u16max |
| PARAM_VALUE | 0 | dev->ex_dev.ex_phy | 16,4096-ptr_max |
| PARAM_VALUE | 0 | dev->ex_dev.num_phys | 0-128 |
| PARAM_VALUE | 0 | dev->lldd_dev | 0-64,4096-ptr_max |
| PARAM_VALUE | 0 | dev->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->parent->dev_type | 2-3 |
| PARAM_VALUE | 0 | dev->parent->ex_dev.ex_phy | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->parent->ex_dev.num_phys | 1-255 |
| PARAM_VALUE | 0 | dev->port | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->port->ha | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->port->ha->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dev->port->ha->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dev->port->ha->dev->power.runtime_status | 0,2 |
| PARAM_VALUE | 0 | dev->port->ha->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->port->ha->lldd_ha | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->port->ha->shost | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->port->lldd_port | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->rphy | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->rphy->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->ex_dev.enclosure_logical_id | 0-255 |
| PARAM_VALUE | 1 | phy | 4096-ptr_max |
| PARAM_VALUE | 1 | phy->phy_state | 0,3-u32max |
| BUF_SIZE | 0 | dev | (-1),576 |
| BUF_SIZE | 0 | dev | (-1),576 |
| BUF_SIZE | 0 | dev->rphy | (-1),1680 |
| CAPPED_DATA | 0 | dev->ex_dev.num_phys | 1 |
| CAPPED_DATA | 0 | dev->port | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| NO_OVERFLOW_SIMPLE | 0 | dev->rphy->q->limits.max_open_zones |
drivers/scsi/libsas/sas_expander.c sas_configure_parent() -> sas_phy_match_dev_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ex_dev.parent_port->dev.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | dev->ex_dev.parent_port->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | dev->ex_dev.parent_port->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | dev->ex_dev.parent_port->dev.dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | dev->ex_dev.parent_port->dev.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | dev->ex_dev.parent_port->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | dev->ex_dev.parent_port->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | dev->ex_dev.parent_port->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | dev->parent | 1-u64max |
| PARAM_VALUE | 0 | dev->parent->port->ha->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->port->ha->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->sata_dev.ap->link.tdev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->sata_dev.ap->tdev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | dev->sata_dev.ap->tdev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | phy | 4096-ptr_max |
| PARAM_VALUE | 1 | phy->routing_attr | 2 |
| DATA_SOURCE | 0 | dev | $1 |
| HALF_LOCKED2 | &ha->disco_mutex |
drivers/scsi/libsas/sas_expander.c sas_discover_new() -> sas_phy_match_dev_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | phy | 4096-ptr_max |
| CAPPED_DATA | 0 | &dev->siblings | 1 |
| LOCK2 | &ha->disco_mutex | ||
| TYPE_LOCK | (struct sas_ha_struct)->disco_mutex |
drivers/scsi/libsas/sas_expander.c sas_ex_discover_dev() -> sas_phy_match_dev_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-u64max |
| PARAM_VALUE | 0 | dev->port->ha->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | phy | 4096-ptr_max |
| HALF_LOCKED2 | &ha->disco_mutex |
drivers/scsi/libsas/sas_expander.c sas_ex_get_linkrate() -> sas_phy_match_dev_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->hashed_sas_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | dev->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->parent->ex_dev.ex_phy | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->parent->parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->parent->port | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->pathways | 0-s32max |
| PARAM_VALUE | 0 | dev->port | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->sas_addr | 4096-ptr_max |
| PARAM_VALUE | 1 | phy | 4096-ptr_max |
| PARAM_VALUE | 1 | phy->phy_state | 0,3-u32max |
| BUF_SIZE | 0 | dev | 576 |
| BUF_SIZE | 0 | dev->rphy | (-1),1680 |
| CAPPED_DATA | 0 | dev->parent->ex_dev.num_phys | 1 |
| DATA_SOURCE | 0 | dev | $1 |
| FUZZY_MAX | 0 | dev->pathways | 0 |
| HALF_LOCKED2 | &ha->disco_mutex |
drivers/scsi/libsas/sas_expander.c sas_find_attached_phy_id() -> sas_phy_match_dev_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->lldd_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->parent->dev_type | 2-3 |
| PARAM_VALUE | 0 | dev->parent->port->ha->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->port | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->port->ha | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->rphy->dev.iommu_group->owner_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | dev->rphy->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | dev->sata_dev.ap->link.tdev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->sata_dev.ap->tdev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | dev->sata_dev.ap->tdev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | dev->sata_dev.ap->tdev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | phy | 4096-ptr_max |
| BUF_SIZE | 0 | dev->rphy | (-1),1680 |
| CAPPED_DATA | 0 | dev->port | 1 |
| DATA_SOURCE | 0 | dev | $1 |
| PREEMPT_ADD | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->rphy->q->limits.max_discard_sectors | |
| HALF_LOCKED2 | &pm8001_ha->lock | ||
| HALF_LOCKED2 | flags |
drivers/scsi/libsas/sas_expander.c sas_unregister_devs_sas_addr() -> sas_phy_match_dev_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | phy | 4096-ptr_max |
| CAPPED_DATA | 0 | &dev->siblings | 1 |
| LOCK2 | &ha->disco_mutex | ||
| TYPE_LOCK | (struct sas_ha_struct)->disco_mutex |