Searched refs:valid_len (Results 1 – 1 of 1) sorted by relevance
680 int valid_len = 0; in virtchnl_vc_validate_vf_msg() local685 valid_len = sizeof(struct virtchnl_version_info); in virtchnl_vc_validate_vf_msg()691 valid_len = sizeof(u32); in virtchnl_vc_validate_vf_msg()694 valid_len = sizeof(struct virtchnl_txq_info); in virtchnl_vc_validate_vf_msg()697 valid_len = sizeof(struct virtchnl_rxq_info); in virtchnl_vc_validate_vf_msg()700 valid_len = sizeof(struct virtchnl_vsi_queue_config_info); in virtchnl_vc_validate_vf_msg()701 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg()704 valid_len += (vqc->num_queue_pairs * in virtchnl_vc_validate_vf_msg()712 valid_len = sizeof(struct virtchnl_irq_map_info); in virtchnl_vc_validate_vf_msg()713 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg()[all …]