Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/intel/igb/igb_main.c igb_ping_all_vfs() -> igb_write_mbx()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 1 msg 7809328289203814400
PARAM_VALUE 1 *msg 256,536871168
PARAM_VALUE 2 size 1
BUF_SIZE 0 hw 1200
CAPPED_DATA 3 mbx_id 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 hw->bus.pci_cmd_word 0
HOST_DATA 0 hw->nvm.flash_bank_size 0,1024-8388608,1065355264-1073740800[c]
HOST_DATA 0 hw->nvm.flash_base_addr 0,4096-33550336[c]
UNITS 3 mbx_id unit_array_size

drivers/net/ethernet/intel/igb/igb_main.c igb_rcv_ack_from_vf() -> igb_write_mbx()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->hw_addr 0,4096-ptr_max
PARAM_VALUE 0 hw->mbx.ops.check_for_ack 1-u64max
PARAM_VALUE 1 msg 2712858787149664256
PARAM_VALUE 1 *msg 1073741824
PARAM_VALUE 2 size 1
BUF_SIZE 0 hw 1200
CAPPED_DATA 3 mbx_id 1
DATA_SOURCE 3 mbx_id $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 mbx_id unit_array_size
LOCK2 &adapter->vfs_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct igb_adapter)->vfs_lock

drivers/net/ethernet/intel/igb/igb_main.c igb_rcv_msg_from_vf() -> igb_write_mbx()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->hw_addr 0,4096-ptr_max
PARAM_VALUE 0 hw->mbx.ops.check_for_msg 1-u64max
PARAM_VALUE 1 msg 946027611296305152
PARAM_VALUE 2 size 1
BUF_SIZE 0 hw 1200
BUF_SIZE 1 msg 64
CAPPED_DATA 3 mbx_id 1
DATA_SOURCE 3 mbx_id $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 mbx_id unit_array_size
LOCK2 &adapter->vfs_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct igb_adapter)->vfs_lock

drivers/net/ethernet/intel/igb/igb_main.c igb_vf_reset_msg() -> igb_write_mbx()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->hw_addr 0,4096-ptr_max
PARAM_VALUE 0 hw->mbx.ops.check_for_msg 1-u64max
PARAM_VALUE 0 hw->mbx.ops.read 1-u64max
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 2 size 3
BUF_SIZE 0 hw 1200
BUF_SIZE 1 msg 12
CAPPED_DATA 3 mbx_id 1
DATA_SOURCE 3 mbx_id $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 mbx_id unit_array_size
LOCK2 &adapter->vfs_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct igb_adapter)->vfs_lock