Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/emulex/benet/be_cmds.c be_cmd_query_cable_type() -> be_cmd_read_port_transceiver_data()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->db 4096-ptr_max
PARAM_VALUE 0 adapter->mcc_cq_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->mcc_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->mcc_obj.q.created 1
PARAM_VALUE 0 adapter->mcc_obj.q.len 1-u32max
PARAM_VALUE 0 adapter->mcc_obj.q.used.counter 0
PARAM_VALUE 0 adapter->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adapter->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 adapter->pdev->dev.cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 adapter->pdev->dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->pdev->dev.dma_uses_io_tlb 1
PARAM_VALUE 0 adapter->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 *adapter->netdev->name 0-255
PARAM_VALUE 1 page_num 160
PARAM_VALUE 2 off 0
PARAM_VALUE 3 len 256
PARAM_VALUE 4 data 6154018490685521920
BUF_SIZE 4 data 256
CAPPED_DATA 0 adapter->mcc_obj.q.len 1
DATA_SOURCE 0 adapter $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/emulex/benet/be_cmds.c be_cmd_query_sfp_info() -> be_cmd_read_port_transceiver_data()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->netdev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev 4096-ptr_max
PARAM_VALUE 0 adapter->rx_obj 4096-ptr_max
PARAM_VALUE 1 page_num 160
PARAM_VALUE 2 off 0
PARAM_VALUE 3 len 256
PARAM_VALUE 4 data 7805529584390426624
BUF_SIZE 4 data 256
CAPPED_DATA 0 adapter->num_rx_qs 1
DATA_SOURCE 0 adapter $0
BIT_INFO 0 adapter->flags 0x400,0xffffffff
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/emulex/benet/be_ethtool.c be_get_module_eeprom() -> be_cmd_read_port_transceiver_data()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->cmd_privileges 256-u32max
PARAM_VALUE 1 page_num 160
PARAM_VALUE 2 off 0-255
PARAM_VALUE 3 len 0-256,4294967041-u32max
PARAM_VALUE 4 data 4096-ptr_max
BUF_SIZE 4 data 4096
BUF_SIZE 4 data 4096
DATA_SOURCE 4 data $2
NOSPEC 2 off
NOSPEC 2 off
RX_PATH
USER_DATA 2 off 0-255[c]
USER_DATA 3 len 0-256,4294967042-u32max[c]
NO_OVERFLOW_SIMPLE 2 off
UNITS 2 off unit_byte
UNITS 3 len unit_byte

drivers/net/ethernet/emulex/benet/be_ethtool.c be_get_module_eeprom() -> be_cmd_read_port_transceiver_data()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->cmd_privileges 256-u32max
PARAM_VALUE 1 page_num 162
BUF_SIZE 4 data (-1),4096
BUF_SIZE 4 data (-1),4096
DATA_SOURCE 4 data $2 [m]
RX_PATH
USER_DATA 2 off 0-2147487486[c]
UNITS 2 off unit_byte
UNITS 3 len unit_byte

drivers/net/ethernet/emulex/benet/be_ethtool.c be_get_module_info() -> be_cmd_read_port_transceiver_data()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->cmd_privileges 256-u32max
PARAM_VALUE 1 page_num 160
PARAM_VALUE 2 off 0
PARAM_VALUE 3 len 256
PARAM_VALUE 4 data 8230898824470994944
BUF_SIZE 4 data 256
RX_PATH
TASK_NOT_RUNNING