Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c qlcnic_sysfs_get_esw_stats() -> qlcnic_get_eswitch_stats()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->pdev 4096-ptr_max
PARAM_VALUE 2 rx_tx 0
PARAM_VALUE 3 esw_stats 9030212921562513408
BUF_SIZE 0 adapter s32min-(-2),1-s32max
BUF_SIZE 0 adapter s32min-(-2),1-s32max
DATA_SOURCE 1 eswitch $4
NOSPEC 1 eswitch
NOSPEC 1 eswitch
MEM_ZERO 3 esw_stats
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 eswitch 0-1
UNITS 0 adapter unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c qlcnic_sysfs_get_esw_stats() -> qlcnic_get_eswitch_stats()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->ahw->op_mode 0
PARAM_VALUE 0 adapter->ahw->total_nic_func 0-255
PARAM_VALUE 0 adapter->npars 4096-ptr_max
PARAM_VALUE 0 adapter->pdev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 adapter->pdev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 2 rx_tx 1
PARAM_VALUE 3 esw_stats 9030212921562513496
BUF_SIZE 0 adapter s32min-(-2),1-s32max
BUF_SIZE 0 adapter s32min-(-2),1-s32max
CAPPED_DATA 0 adapter->ahw->total_nic_func 1
CAPPED_DATA 1 eswitch 1
DATA_SOURCE 1 eswitch $4
NOSPEC 1 eswitch
NOSPEC 1 eswitch
MEM_ZERO 3 esw_stats
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 eswitch 0-1[c]
UNITS 0 adapter unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex