Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c, line 190
Smatch caller information:
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c qlcnic_irq_test() -> qlcnic_diag_alloc_res()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->dev.parent->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->dev.parent->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->dev.parent->power.request | 0-4 |
| PARAM_VALUE | 0 | netdev->dev.parent->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | netdev->dev.parent->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->dev.parent->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->dev.parent->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool_ops->get_sset_count | 1-u64max |
| PARAM_VALUE | 0 | netdev->ethtool_ops->self_test | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | netdev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | netdev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | netdev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | netdev->moving_ns | 0 |
| PARAM_VALUE | 0 | netdev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->priv->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->refcnt_tracker.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->refcnt_tracker.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->reg_state | 0-1 |
| PARAM_VALUE | 1 | test | 1 |
| CAPPED_DATA | 0 | netdev->nd_net.net | 1 |
| DATA_SOURCE | 0 | netdev | $0 |
| FUZZY_MAX | 0 | netdev->reg_state | 1 |
| HARD_MAX | 0 | netdev->reg_state | 1 |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c qlcnic_loopback_test() -> qlcnic_diag_alloc_res()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->dev.parent->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->dev.parent->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->dev.parent->power.request | 0-4 |
| PARAM_VALUE | 0 | netdev->dev.parent->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | netdev->dev.parent->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->dev.parent->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->dev.parent->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool_ops->get_sset_count | 1-u64max |
| PARAM_VALUE | 0 | netdev->ethtool_ops->self_test | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | netdev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | netdev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | netdev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | netdev->moving_ns | 0 |
| PARAM_VALUE | 0 | netdev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->priv->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->refcnt_tracker.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->refcnt_tracker.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->reg_state | 0-1 |
| PARAM_VALUE | 0 | *netdev->name | 0-255 |
| PARAM_VALUE | 1 | test | 2 |
| CAPPED_DATA | 0 | netdev->nd_net.net | 1 |
| DATA_SOURCE | 0 | netdev | $0 |
| FUZZY_MAX | 0 | netdev->reg_state | 1 |
| HARD_MAX | 0 | netdev->reg_state | 1 |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c qlcnic_set_led() -> qlcnic_diag_alloc_res()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool->phys_id_busy | 0 |
| PARAM_VALUE | 0 | netdev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool_ops->set_phys_id | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->priv->ahw | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->priv->ahw->op_mode | 0-1,3-u16max |
| PARAM_VALUE | 0 | netdev->priv->pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | test | 3 |
| DATA_SOURCE | 0 | netdev | $0 |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c qlcnic_set_led() -> qlcnic_diag_alloc_res()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool->phys_id_busy | 0 |
| PARAM_VALUE | 0 | netdev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool_ops->set_phys_id | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | netdev->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | netdev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | netdev->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | netdev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | netdev->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | netdev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->priv->ahw | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->priv->ahw->op_mode | 0-1,3-u16max |
| PARAM_VALUE | 0 | netdev->priv->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->refcnt_tracker.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->refcnt_tracker.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->refcnt_tracker.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->refcnt_tracker.quarantine.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->refcnt_tracker.quarantine.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->refcnt_tracker.quarantine.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | test | 3 |
| DATA_SOURCE | 0 | netdev | $0 |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c qlcnic_82xx_store_beacon() -> qlcnic_diag_alloc_res()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *netdev->name | 0 |
| PARAM_VALUE | 1 | test | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |