valid_len 383 drivers/gpu/drm/i915/gvt/cmd_parser.c static int gvt_check_valid_cmd_length(int len, int valid_len) valid_len 385 drivers/gpu/drm/i915/gvt/cmd_parser.c if (valid_len != len) { valid_len 387 drivers/gpu/drm/i915/gvt/cmd_parser.c len, valid_len); valid_len 442 drivers/gpu/drm/i915/gvt/cmd_parser.c u32 valid_len; valid_len 966 drivers/gpu/drm/i915/gvt/cmd_parser.c u32 valid_len = CMD_LEN(1); valid_len 973 drivers/gpu/drm/i915/gvt/cmd_parser.c if ((cmd_len < valid_len) || (cmd_len > MAX_VALID_LEN)) { valid_len 975 drivers/gpu/drm/i915/gvt/cmd_parser.c cmd_len, valid_len); valid_len 1409 drivers/gpu/drm/i915/gvt/cmd_parser.c u32 valid_len = CMD_LEN(1); valid_len 1413 drivers/gpu/drm/i915/gvt/cmd_parser.c valid_len++; valid_len 1415 drivers/gpu/drm/i915/gvt/cmd_parser.c valid_len); valid_len 1537 drivers/gpu/drm/i915/gvt/cmd_parser.c u32 valid_len = CMD_LEN(2); valid_len 1546 drivers/gpu/drm/i915/gvt/cmd_parser.c valid_len++; valid_len 1548 drivers/gpu/drm/i915/gvt/cmd_parser.c valid_len); valid_len 1594 drivers/gpu/drm/i915/gvt/cmd_parser.c u32 valid_len = CMD_LEN(1); valid_len 1602 drivers/gpu/drm/i915/gvt/cmd_parser.c valid_len = CMD_LEN(9); valid_len 1604 drivers/gpu/drm/i915/gvt/cmd_parser.c valid_len); valid_len 1645 drivers/gpu/drm/i915/gvt/cmd_parser.c u32 valid_len = CMD_LEN(2); valid_len 1648 drivers/gpu/drm/i915/gvt/cmd_parser.c valid_len); valid_len 1652 drivers/gpu/drm/i915/gvt/cmd_parser.c ++valid_len); valid_len 2685 drivers/gpu/drm/i915/gvt/cmd_parser.c info->valid_len); valid_len 680 include/linux/avf/virtchnl.h int valid_len = 0; valid_len 685 include/linux/avf/virtchnl.h valid_len = sizeof(struct virtchnl_version_info); valid_len 691 include/linux/avf/virtchnl.h valid_len = sizeof(u32); valid_len 694 include/linux/avf/virtchnl.h valid_len = sizeof(struct virtchnl_txq_info); valid_len 697 include/linux/avf/virtchnl.h valid_len = sizeof(struct virtchnl_rxq_info); valid_len 700 include/linux/avf/virtchnl.h valid_len = sizeof(struct virtchnl_vsi_queue_config_info); valid_len 701 include/linux/avf/virtchnl.h if (msglen >= valid_len) { valid_len 704 include/linux/avf/virtchnl.h valid_len += (vqc->num_queue_pairs * valid_len 712 include/linux/avf/virtchnl.h valid_len = sizeof(struct virtchnl_irq_map_info); valid_len 713 include/linux/avf/virtchnl.h if (msglen >= valid_len) { valid_len 716 include/linux/avf/virtchnl.h valid_len += (vimi->num_vectors * valid_len 724 include/linux/avf/virtchnl.h valid_len = sizeof(struct virtchnl_queue_select); valid_len 728 include/linux/avf/virtchnl.h valid_len = sizeof(struct virtchnl_ether_addr_list); valid_len 729 include/linux/avf/virtchnl.h if (msglen >= valid_len) { valid_len 732 include/linux/avf/virtchnl.h valid_len += veal->num_elements * valid_len 740 include/linux/avf/virtchnl.h valid_len = sizeof(struct virtchnl_vlan_filter_list); valid_len 741 include/linux/avf/virtchnl.h if (msglen >= valid_len) { valid_len 744 include/linux/avf/virtchnl.h valid_len += vfl->num_elements * sizeof(u16); valid_len 750 include/linux/avf/virtchnl.h valid_len = sizeof(struct virtchnl_promisc_info); valid_len 753 include/linux/avf/virtchnl.h valid_len = sizeof(struct virtchnl_queue_select); valid_len 761 include/linux/avf/virtchnl.h valid_len = msglen; valid_len 768 include/linux/avf/virtchnl.h valid_len = sizeof(struct virtchnl_iwarp_qvlist_info); valid_len 769 include/linux/avf/virtchnl.h if (msglen >= valid_len) { valid_len 776 include/linux/avf/virtchnl.h valid_len += ((qv->num_vectors - 1) * valid_len 781 include/linux/avf/virtchnl.h valid_len = sizeof(struct virtchnl_rss_key); valid_len 782 include/linux/avf/virtchnl.h if (msglen >= valid_len) { valid_len 785 include/linux/avf/virtchnl.h valid_len += vrk->key_len - 1; valid_len 789 include/linux/avf/virtchnl.h valid_len = sizeof(struct virtchnl_rss_lut); valid_len 790 include/linux/avf/virtchnl.h if (msglen >= valid_len) { valid_len 793 include/linux/avf/virtchnl.h valid_len += vrl->lut_entries - 1; valid_len 799 include/linux/avf/virtchnl.h valid_len = sizeof(struct virtchnl_rss_hena); valid_len 805 include/linux/avf/virtchnl.h valid_len = sizeof(struct virtchnl_vf_res_request); valid_len 808 include/linux/avf/virtchnl.h valid_len = sizeof(struct virtchnl_tc_info); valid_len 809 include/linux/avf/virtchnl.h if (msglen >= valid_len) { valid_len 812 include/linux/avf/virtchnl.h valid_len += (vti->num_tc - 1) * valid_len 821 include/linux/avf/virtchnl.h valid_len = sizeof(struct virtchnl_filter); valid_len 824 include/linux/avf/virtchnl.h valid_len = sizeof(struct virtchnl_filter); valid_len 833 include/linux/avf/virtchnl.h if (err_msg_format || valid_len != msglen)