Documented in 1 files:

Defined in 10 files as a function:

Referenced in 10 files:

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