Home
last modified time | relevance | path

Searched refs:valid_len (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/include/linux/avf/
Dvirtchnl.h669 int valid_len = 0; in virtchnl_vc_validate_vf_msg() local
674 valid_len = sizeof(struct virtchnl_version_info); in virtchnl_vc_validate_vf_msg()
680 valid_len = sizeof(u32); in virtchnl_vc_validate_vf_msg()
683 valid_len = sizeof(struct virtchnl_txq_info); in virtchnl_vc_validate_vf_msg()
686 valid_len = sizeof(struct virtchnl_rxq_info); in virtchnl_vc_validate_vf_msg()
689 valid_len = sizeof(struct virtchnl_vsi_queue_config_info); in virtchnl_vc_validate_vf_msg()
690 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg()
693 valid_len += (vqc->num_queue_pairs * in virtchnl_vc_validate_vf_msg()
701 valid_len = sizeof(struct virtchnl_irq_map_info); in virtchnl_vc_validate_vf_msg()
702 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg()
[all …]