Defined in 2 files as a member:
Defined in 4 files as a function:
- drivers/net/ethernet/chelsio/cxgb/cxgb2.c, line 780 (as a function)
- drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c, line 1612 (as a function)
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c, line 192 (as a function)
- drivers/net/ethernet/natsemi/natsemi.c, line 2577 (as a function)
Referenced in 59 files:
- drivers/net/can/usb/peak_usb/pcan_usb.c, line 995
- drivers/net/can/usb/peak_usb/pcan_usb_fd.c, line 1167
- drivers/net/can/usb/peak_usb/pcan_usb_pro.c, line 1051
- drivers/net/dsa/mv88e6xxx/chip.c, line 7204
- drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c, line 286
- drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c, line 372
- drivers/net/ethernet/atheros/atlx/atl2.c, line 2049
- drivers/net/ethernet/broadcom/bnx2.c, line 7836
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c, line 3654
- drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c, line 5783
- drivers/net/ethernet/broadcom/tg3.c, line 14244
- drivers/net/ethernet/brocade/bna/bnad_ethtool.c, line 1085
- drivers/net/ethernet/cavium/liquidio/lio_ethtool.c, line 3128
- drivers/net/ethernet/chelsio/cxgb/cxgb2.c
- drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
- drivers/net/ethernet/davicom/dm9000.c, line 740
- drivers/net/ethernet/davicom/dm9051.c, line 664
- drivers/net/ethernet/emulex/benet/be_ethtool.c, line 1417
- drivers/net/ethernet/intel/e100.c, line 2746
- drivers/net/ethernet/intel/e1000/e1000_ethtool.c, line 1875
- drivers/net/ethernet/intel/e1000/e1000_main.c, line 710
- drivers/net/ethernet/intel/e1000e/ethtool.c, line 2372
- drivers/net/ethernet/intel/i40e/i40e_ethtool.c
- drivers/net/ethernet/intel/ice/ice_ethtool.c
- drivers/net/ethernet/intel/igb/igb_ethtool.c, line 3494
- drivers/net/ethernet/intel/igbvf/ethtool.c, line 445
- drivers/net/ethernet/intel/igc/igc_ethtool.c, line 2273
- drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
- drivers/net/ethernet/jme.c, line 2839
- drivers/net/ethernet/marvell/skge.c, line 894
- drivers/net/ethernet/marvell/sky2.c, line 4363
- drivers/net/ethernet/micrel/ks8851_common.c, line 860
- drivers/net/ethernet/micrel/ksz884x.c, line 6234
- drivers/net/ethernet/microchip/lan743x_ethtool.c, line 1364
- drivers/net/ethernet/natsemi/natsemi.c
- drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c
- drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c, line 926
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c
- drivers/net/ethernet/realtek/8139cp.c, line 1598
- drivers/net/ethernet/sis/sis900.c, line 2204
- drivers/net/ethernet/smsc/smc91x.c, line 1730
- drivers/net/ethernet/smsc/smsc911x.c, line 2139
- drivers/net/ethernet/smsc/smsc9420.c, line 394
- drivers/net/ethernet/sun/niu.c, line 7924
- drivers/net/ethernet/ti/tlan.c, line 780
- drivers/net/usb/asix_devices.c
- drivers/net/usb/ax88172a.c, line 123
- drivers/net/usb/ax88179_178a.c, line 856
- drivers/net/usb/dm9601.c, line 267
- drivers/net/usb/lan78xx.c, line 1924
- drivers/net/usb/smsc75xx.c, line 735
- drivers/net/usb/smsc95xx.c, line 839
- drivers/net/usb/sr9700.c, line 225
- drivers/net/usb/sr9800.c, line 504
- drivers/net/wireless/intel/ipw2x00/ipw2200.c, line 10443
- drivers/net/wireless/marvell/libertas/ethtool.c, line 106
- net/dsa/user.c
- net/ethtool/ioctl.c
Smatch caller information:
net/ethtool/ioctl.c ethtool_get_drvinfo() -> (struct ethtool_ops)->get_eeprom_len()
| 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_eeprom_len | 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 | 0 | dev->rtnl_link_ops | 4096-ptr_max |
| 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 |
| HALF_LOCKED2 | global &rtnl_mutex |
net/ethtool/ioctl.c ethtool_get_eeprom() -> (struct ethtool_ops)->get_eeprom_len()
| 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_eeprom | 1-u64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_eeprom_len | 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 |
| 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 |
| HALF_LOCKED2 | global &rtnl_mutex |
net/ethtool/ioctl.c ethtool_get_eeprom() -> (struct ethtool_ops)->get_eeprom_len()
| 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_eeprom | 1-u64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_eeprom_len | 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 |
| 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 |
| HALF_LOCKED2 | global &rtnl_mutex |
net/ethtool/ioctl.c ethtool_set_eeprom() -> (struct ethtool_ops)->get_eeprom_len()
| 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_eeprom_len | 1-u64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->set_eeprom | 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 |
| 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 |
| HALF_LOCKED2 | global &rtnl_mutex |
net/ethtool/ioctl.c ethtool_set_eeprom() -> (struct ethtool_ops)->get_eeprom_len()
| 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_eeprom_len | 1-u64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->set_eeprom | 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 |
| 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 |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/intel/e1000/e1000_main.c e1000_dump_eeprom() -> (struct ethtool_ops)->get_eeprom_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ethtool_ops | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |