Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/marvell/prestera/prestera_main.c prestera_create_ports() -> prestera_port_destroy()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->phy_link 0,4096-ptr_max
PARAM_VALUE 0 port->phy_link->link_gpio->gdev->desc_srcu.srcu_sup->lock.dep_map->name 0-255
PARAM_VALUE 0 port->phy_link->link_gpio->gdev->desc_srcu.srcu_sup->srcu_cb_mutex.dep_map->name 0-255
PARAM_VALUE 0 port->phy_link->link_gpio->gdev->desc_srcu.srcu_sup->srcu_gp_mutex.dep_map->name 0-255
PARAM_VALUE 0 port->phy_link->link_gpio->gdev->desc_srcu.srcu_sup->work.work.entry.prev 2076614606316732416
PARAM_VALUE 0 port->phy_link->link_gpio->gdev->dev.kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 port->phy_link->link_gpio->gdev->dev.kobj.release.cpu s32min-s32max
PARAM_VALUE 0 port->phy_link->link_gpio->gdev->dev.kobj.release.timer.flags 0-4294967295
PARAM_VALUE 0 port->phy_link->link_gpio->gdev->line_state_notifier.head->priority s32min-s32max
PARAM_VALUE 0 port->phy_link->link_gpio->gdev->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 port->phy_link->resolve.lockdep_map->name 0-255
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->active.counter s32min-s32max
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->d_flags 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->d_inode->__i_nlink 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->d_inode->i_atime_nsec 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->d_inode->i_blkbits 0-255
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->d_inode->i_bytes 0-u16max
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->d_inode->i_ctime_nsec 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->d_inode->i_dir_seq 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->d_inode->i_flags 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->d_inode->i_fsnotify_mask 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->d_inode->i_generation 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->d_inode->i_linklen s32min-s32max
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->d_inode->i_mode 0-u16max
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->d_inode->i_mtime_nsec 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->d_inode->i_nlink 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->d_inode->i_opflags 0-u16max
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->d_inode->i_rdev 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->d_inode->i_wb_frn_avg_time 0-u16max
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->d_inode->i_wb_frn_history 0-u16max
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->d_inode->i_wb_frn_winner s32min-s32max
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->d_inode->i_write_hint 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->d_lockref.count s32min-s32max
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->d_parent->d_lockref.count s32min-s32max
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->data->ref.refs.counter s32min-s32max
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->management_timer.is_hard 0-1
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->management_timer.is_lazy 0-1
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->management_timer.is_queued 0-1
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->management_timer.is_soft 0-1
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 port->phy_link->sfp_bus->kref.file->d_fsdata->ref.refs.counter s32min-s32max
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->have_a2 0-1
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->hwmon_dev (-4095)-s64max
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->hwmon_probe.cpu s32min-s32max
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->hwmon_probe.timer.flags 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->hwmon_tries 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c->dev.parent->devt 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c->dev.parent->dma_uses_io_tlb 0-1
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c->dev.parent->id 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c->dev.parent->kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c->dev.parent->kobj.release.cpu s32min-s32max
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c->dev.parent->kobj.release.timer.flags 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c->dev.parent->kobj.state_add_uevent_sent 0-1
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c->dev.parent->kobj.state_in_sysfs 0-1
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c->dev.parent->kobj.state_initialized 0-1
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c->dev.parent->kobj.state_remove_uevent_sent 0-1
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c->dev.parent->kobj.uevent_suppress 0-1
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c->dev.parent->links.status 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c->dev.parent->numa_node s32min-s32max
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c->dev.parent->removable 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c_mii->dev.class 1852637539097526272
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c_mii->dev.dma_io_tlb_mem 1473117533515866112
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c_mii->dev.links.status 0,3
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c_mii->dev.numa_node (-1)
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c_mii->dev.power.early_init 1
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c_mii->dev.power.runtime_auto 1
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c_mii->mdio_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c_mii->mdio_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c_mii->mdio_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c_mii->name 7570163105948680192
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c_mii->phy_mask 4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c_mii->read 371223338077802496,6389833556411265024
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c_mii->state 2-3
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->i2c_mii->write 1828839584621879296,2510225549227065344
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->id.base.phys_ext_id 0,4
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->id.base.phys_id 0,2-3
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->mdio_protocol 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->mod_phy->is_on_sfp_module 1
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->module_power_mW 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->module_t_start_up 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->module_t_wait 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->phy_t_retry 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->poll.cpu s32min-s32max
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->poll.timer.flags 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->quirk 0-s64max
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->rs_state_mask 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->rs_threshold_kbd 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->sm_dev_state 0-255
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->sm_fault_retries 0-255
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->sm_mod_state 0-255
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->sm_mod_tries 0-255
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->sm_mod_tries_init 0-255
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->sm_mutex.dep_map->name 0-255
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->sm_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->sm_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->sm_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->sm_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->sm_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->sm_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->sm_phy_retries 0-255
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->sm_state 0-u16max
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->state 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->state_hw_drive 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->state_hw_mask 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->state_ignore_mask 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->state_soft_mask 0-4294967295
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->timeout.cpu s32min-s32max
PARAM_VALUE 0 port->phy_link->sfp_bus->sfp->timeout.timer.flags 0-4294967295
PARAM_VALUE 0 *port->dev->name 0-255
CAPPED_DATA 0 port->phy_link 1
CAPPED_DATA 0 &port->list 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/marvell/prestera/prestera_main.c prestera_destroy_ports() -> prestera_port_destroy()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 *port->dev->name 0-255
CAPPED_DATA 0 &port->list 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL