Documented in 1 files:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_vc_process_vf_msg() -> virtchnl_vc_validate_vf_msg()

Type Parameter Key Value
PARAM_VALUE 0 ver 4096-ptr_max
PARAM_VALUE 1 v_opcode 0
PARAM_VALUE 2 msg 4096-ptr_max
PARAM_VALUE 3 msglen 0-4096
BUF_SIZE 2 msg 4096
BUF_SIZE 2 msg 4096
DATA_SOURCE 1 v_opcode $2
DATA_SOURCE 2 msg $4
DATA_SOURCE 3 msglen $5
UNITS 3 msglen unit_byte
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/intel/ice/virt/virtchnl.c ice_vc_process_vf_msg() -> virtchnl_vc_validate_vf_msg()

Type Parameter Key Value
PARAM_VALUE 0 ver 4096-ptr_max
PARAM_VALUE 1 v_opcode 0
PARAM_VALUE 2 msg 16,4096-ptr_max
BUF_SIZE 2 msg 1-u16max
BUF_SIZE 2 msg 1-u16max
HOST_DATA 3 msglen 0-u16max[c]
UNITS 3 msglen unit_byte
LOCK2 &vf->cfg_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ice_vf)->cfg_lock