Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 10 files:

Smatch caller information:

drivers/scsi/mpi3mr/mpi3mr_transport.c mpi3mr_sas_port_remove() -> sas_port_delete()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/scsi/smartpqi/smartpqi_sas_transport.c pqi_free_sas_port() -> sas_port_delete()

Type Parameter Key Value
PARAM_VALUE 0 port->dev.power.wakeirq->status 0-4294967295
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ctrl_info->scan_mutex

drivers/scsi/libsas/sas_expander.c sas_ex_discover_end_dev() -> sas_port_delete()

Type Parameter Key Value
PARAM_VALUE 0 port 1-u64max
PARAM_VALUE 0 port->phy_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 port->phy_list_mutex.dep_map->name 0-255
PARAM_VALUE 0 port->phy_list_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 port->phy_list_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->phy_list_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 port->phy_list_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 port->phy_list_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 port->phy_list_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 port->phy_list_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 port->phy_list_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 port->phy_list_mutex.osq.tail.counter 0-s32max
BUF_SIZE 0 port (-1),1824
BUF_SIZE 0 port (-1),1824
NOCHECK_CALL
HALF_LOCKED2 &ha->disco_mutex

drivers/scsi/libsas/sas_expander.c sas_ex_discover_expander() -> sas_port_delete()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->dev.devres_head.next->next 4096-ptr_max
PARAM_VALUE 0 port->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 port->dev.devres_head.prev->prev 4096-ptr_max
PARAM_VALUE 0 port->dev.dma_io_tlb_mem->dyn_alloc.data.counter 9007199250546704
PARAM_VALUE 0 port->dev.dma_io_tlb_mem->dyn_alloc.entry.prev 1473117533515866344
PARAM_VALUE 0 port->dev.dma_io_tlb_mem->dyn_alloc.func 1583282886040592384
PARAM_VALUE 0 port->dev.dma_io_tlb_mem->pools.prev 1473117533515866320
PARAM_VALUE 0 port->dev.dma_io_tlb_pools.next->next 4096-ptr_max
PARAM_VALUE 0 port->dev.dma_io_tlb_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 port->dev.dma_io_tlb_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 port->dev.dma_pools.next->next 4096-ptr_max
PARAM_VALUE 0 port->dev.dma_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 port->dev.dma_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 port->dev.flags 4096-ptr_max
PARAM_VALUE 0 port->dev.fwnode->dev 4096-ptr_max
PARAM_VALUE 0 port->dev.fwnode->dev->fwnode 4096-ptr_max
PARAM_VALUE 0 port->dev.fwnode->dev->p 1-u64max
PARAM_VALUE 0 port->dev.fwnode->dev->power.set_latency_tolerance 5740181548905971712
PARAM_VALUE 0 port->dev.fwnode->suppliers.next 4096-ptr_max
PARAM_VALUE 0 port->dev.fwnode->suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 port->dev.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 port->dev.kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 port->dev.kobj.sd->active.counter (-2147483647)
PARAM_VALUE 0 port->dev.links.consumers.next->next 4096-ptr_max
PARAM_VALUE 0 port->dev.links.consumers.prev->next 4096-ptr_max
PARAM_VALUE 0 port->dev.links.consumers.prev->prev 4096-ptr_max
PARAM_VALUE 0 port->dev.links.defer_sync.next->next 4096-ptr_max
PARAM_VALUE 0 port->dev.links.defer_sync.prev->next 4096-ptr_max
PARAM_VALUE 0 port->dev.links.defer_sync.prev->prev 4096-ptr_max
PARAM_VALUE 0 port->dev.links.suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 port->dev.links.suppliers.prev->next 4096-ptr_max
PARAM_VALUE 0 port->dev.links.suppliers.prev->prev 4096-ptr_max
PARAM_VALUE 0 port->dev.p->klist_children.get 2213798222526185472
PARAM_VALUE 0 port->dev.p->klist_children.put 3126867300421632000
PARAM_VALUE 0 port->dev.p->knode_bus.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 port->dev.p->knode_class.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 port->dev.p->knode_parent.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 port->dev.physical_location->horizontal_position 0-3
PARAM_VALUE 0 port->dev.physical_location->panel 0-7
PARAM_VALUE 0 port->dev.physical_location->vertical_position 0-3
PARAM_VALUE 0 port->dev.power.entry.next->next 4096-ptr_max
PARAM_VALUE 0 port->dev.power.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 port->dev.power.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 port->dev.power.wait_queue.head.next->next 4096-ptr_max
PARAM_VALUE 0 port->dev.power.wait_queue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 port->dev.power.wait_queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 port->phy_list.next 4096-ptr_max
PARAM_VALUE 0 port->phy_list.next->next 4096-ptr_max
PARAM_VALUE 0 port->phy_list.prev 4096-ptr_max
PARAM_VALUE 0 port->phy_list.prev->next 4096-ptr_max
PARAM_VALUE 0 port->phy_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 port->phy_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 port->phy_list_mutex.dep_map->name 0-255
PARAM_VALUE 0 port->phy_list_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->phy_list_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 port->phy_list_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 port->phy_list_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 port->phy_list_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 port->phy_list_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 port->phy_list_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 port->port_identifier 0-254
BUF_SIZE 0 port (-1),1824
BUF_SIZE 0 port (-1),1824
DATA_SOURCE 0 port r sas_port_alloc
PARAM_COMPARE 0 &port->phy_list == $0->phy_list.next
NOCHECK_CALL
HALF_LOCKED2 &ha->disco_mutex

drivers/scsi/hpsa.c hpsa_free_sas_port() -> sas_port_delete()

Type Parameter Key Value
PARAM_VALUE 0 port->dev.power.wakeirq->status 0-4294967295
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/scsi/libsas/sas_discover.c sas_destruct_ports() -> sas_port_delete()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->dev.power.wakeirq->status 0-4294967295
CAPPED_DATA 0 &port->del_list 1
NOCHECK_CALL

drivers/scsi/leapraid/leapraid_transport.c leapraid_create_and_register_rphy() -> sas_port_delete()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->dev.fwnode->dev 0,4096-ptr_max
PARAM_VALUE 0 port->dev.fwnode->dev->fwnode 4096-ptr_max
PARAM_VALUE 0 port->dev.fwnode->dev->p 1-u64max
PARAM_VALUE 0 port->dev.fwnode->dev->power.set_latency_tolerance 5740181548905971712
PARAM_VALUE 0 port->dev.fwnode->suppliers.next 4096-ptr_max
PARAM_VALUE 0 port->dev.fwnode->suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 port->dev.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 port->dev.kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 port->dev.kobj.sd->active.counter (-2147483647)
PARAM_VALUE 0 port->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 port->dev.p->klist_children.get 2213798222526185472
PARAM_VALUE 0 port->dev.p->klist_children.put 3126867300421632000
PARAM_VALUE 0 port->dev.p->knode_bus.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 port->dev.p->knode_class.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 port->dev.p->knode_parent.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 port->dev.physical_location->horizontal_position 0-3
PARAM_VALUE 0 port->dev.physical_location->panel 0-7
PARAM_VALUE 0 port->dev.physical_location->vertical_position 0-3
PARAM_VALUE 0 port->phy_list.next 1792,4096-ptr_max
BUF_SIZE 0 port 1824
DATA_SOURCE 0 port r sas_port_alloc_num
PARAM_COMPARE 0 &port->phy_list == $0->phy_list.next
NOCHECK_CALL

drivers/scsi/leapraid/leapraid_transport.c leapraid_transport_port_remove() -> sas_port_delete()

Type Parameter Key Value
NOCHECK_CALL

drivers/scsi/scsi_transport_sas.c do_sas_phy_delete() -> sas_port_delete()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
NOCHECK_CALL

drivers/scsi/mpt3sas/mpt3sas_transport.c mpt3sas_transport_port_add() -> sas_port_delete()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->dev.fwnode->dev 4096-ptr_max
PARAM_VALUE 0 port->dev.fwnode->dev->fwnode 4096-ptr_max
PARAM_VALUE 0 port->dev.fwnode->dev->p 1-u64max
PARAM_VALUE 0 port->dev.fwnode->dev->power.set_latency_tolerance 5740181548905971712
PARAM_VALUE 0 port->dev.fwnode->suppliers.next 4096-ptr_max
PARAM_VALUE 0 port->dev.fwnode->suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 port->dev.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 port->dev.kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 port->dev.kobj.sd->active.counter (-2147483647)
PARAM_VALUE 0 port->dev.p->klist_children.get 2213798222526185472
PARAM_VALUE 0 port->dev.p->klist_children.put 3126867300421632000
PARAM_VALUE 0 port->dev.p->knode_bus.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 port->dev.p->knode_class.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 port->dev.p->knode_parent.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 port->dev.physical_location->horizontal_position 0-3
PARAM_VALUE 0 port->dev.physical_location->panel 0-7
PARAM_VALUE 0 port->dev.physical_location->vertical_position 0-3
PARAM_VALUE 0 port->phy_list.next 1792,4096-ptr_max
BUF_SIZE 0 port 1824
DATA_SOURCE 0 port r sas_port_alloc_num
PARAM_COMPARE 0 &port->phy_list == $0->phy_list.next
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/scsi/mpt3sas/mpt3sas_transport.c mpt3sas_transport_port_remove() -> sas_port_delete()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/message/fusion/mptsas.c mptsas_del_end_device() -> sas_port_delete()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 port->dev.class 0,4096-ptr_max
PARAM_VALUE 0 port->dev.driver 0,4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &ioc->sas_device_info_mutex
HALF_LOCKED2 &pool->lock

drivers/message/fusion/mptsas.c mptsas_expander_delete() -> sas_port_delete()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 port->dev.class 0,4096-ptr_max
PARAM_VALUE 0 port->dev.driver 0,4096-ptr_max
PARAM_VALUE 0 port->phy_list_mutex.dep_map->name 0-255
PARAM_VALUE 0 port->phy_list_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 port->phy_list_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->phy_list_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 port->phy_list_mutex.osq.tail.counter 0-s32max
NOCHECK_CALL
HALF_LOCKED2 &ioc->sas_topology_mutex
HALF_LOCKED2 &pool->lock

drivers/scsi/libsas/sas_port.c sas_deform_port() -> sas_port_delete()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->rphy 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL