Documented in 1 files:
Defined in 10 files as a function:
- drivers/net/ethernet/dec/tulip/uli526x.c, line 969 (as a function)
- drivers/net/ethernet/dec/tulip/winbond-840.c, line 1380 (as a function)
- drivers/net/ethernet/fealnx.c, line 1808 (as a function)
- drivers/net/ethernet/ibm/ibmveth.c, line 882 (as a function)
- drivers/net/ethernet/korina.c, line 938 (as a function)
- drivers/net/ethernet/micrel/ksz884x.c, line 5697 (as a function)
- drivers/net/ethernet/rdc/r6040.c, line 937 (as a function)
- drivers/net/ethernet/smsc/epic100.c, line 1386 (as a function)
- drivers/net/ethernet/via/via-rhine.c, line 2286 (as a function)
- drivers/net/ethernet/xircom/xirc2ps_cs.c, line 1405 (as a function)
Referenced in 10 files:
- drivers/net/ethernet/dec/tulip/uli526x.c, line 1004
- drivers/net/ethernet/dec/tulip/winbond-840.c, line 1436
- drivers/net/ethernet/fealnx.c, line 1864
- drivers/net/ethernet/ibm/ibmveth.c, line 1171
- drivers/net/ethernet/korina.c, line 982
- drivers/net/ethernet/micrel/ksz884x.c, line 6227
- drivers/net/ethernet/rdc/r6040.c, line 948
- drivers/net/ethernet/smsc/epic100.c, line 1469
- drivers/net/ethernet/via/via-rhine.c, line 2382
- drivers/net/ethernet/xircom/xirc2ps_cs.c, line 1414
Smatch caller information:
net/ethtool/ioctl.c ethtool_get_drvinfo() -> (struct ethtool_ops)->get_drvinfo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.parent->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.parent->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.parent->power.request | 0-4 |
| PARAM_VALUE | 0 | dev->dev.parent->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dev->dev.parent->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.parent->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->dev.parent->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ethtool_ops->begin | 0,1835931156019712000,3096438129622650880,3900617307435175936,5716752743725981696,7946597811871383552,8525681326485266432 |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_drvinfo | 1-u64max |
| PARAM_VALUE | 0 | dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->moving_ns | 0 |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcnt_tracker.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcnt_tracker.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->reg_state | 0-1 |
| PARAM_VALUE | 1 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | info->cmd | 3 |
| CAPPED_DATA | 0 | dev->nd_net.net | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| FUZZY_MAX | 0 | dev->reg_state | 1 |
| HARD_MAX | 0 | dev->reg_state | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/scsi/bnx2fc/bnx2fc_fcoe.c _bnx2fc_create() -> (struct ethtool_ops)->get_drvinfo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_drvinfo | 1-u64max |
| PARAM_VALUE | 1 | info | 1564615576474222592 |
| CONTAINER | 0 | -40-784+0 | $(-1) |
| MEM_ZERO | 1 | info | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &bnx2fc_dev_lock | ||
| LOCK2 | global &ft_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/infiniband/hw/cxgb4/provider.c hca_type_show() -> (struct ethtool_ops)->get_drvinfo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | info | 7269271813775613952 |
| CONTAINER | 0 | -40-784+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/infiniband/hw/usnic/usnic_ib_verbs.c usnic_ib_query_device() -> (struct ethtool_ops)->get_drvinfo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | info | 3288868903906586624 |
| CONTAINER | 0 | *(-40-784+0) | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &us_ibdev->usdev_lock | ||
| TYPE_LOCK | (struct usnic_ib_dev)->usdev_lock |
drivers/net/ethernet/qlogic/qede/qede_main.c qede_netdev_event() -> (struct ethtool_ops)->get_drvinfo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_drvinfo | 1-u64max |
| PARAM_VALUE | 1 | info | 885158217772335104 |
| DATA_SOURCE | 0 | dev | r netdev_notifier_info_to_dev |
| CONTAINER | 0 | -40-784+0 | $(-1) |
| MEM_ZERO | 1 | info | |
| NOCHECK_CALL |
drivers/net/ethernet/broadcom/cnic.c is_cnic_dev() -> (struct ethtool_ops)->get_drvinfo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_drvinfo | 1-u64max |
| PARAM_VALUE | 1 | info | 4720704065632952320 |
| DATA_SOURCE | 0 | dev | $0 |
| CONTAINER | 0 | -40-784+0 | $(-1) |
| MEM_ZERO | 1 | info | |
| NOCHECK_CALL |
drivers/infiniband/hw/usnic/usnic_ib_main.c usnic_get_dev_fw_str() -> (struct ethtool_ops)->get_drvinfo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | info | 41896591415173120 |
| CONTAINER | 0 | *(-40-784+0) | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &us_ibdev->usdev_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct usnic_ib_dev)->usdev_lock |