Searched refs:valid_len (Results 1 – 3 of 3) sorted by relevance
1458 u32 valid_len = 0; in virtchnl_vc_validate_vf_msg() local1463 valid_len = sizeof(struct virtchnl_version_info); in virtchnl_vc_validate_vf_msg()1469 valid_len = sizeof(u32); in virtchnl_vc_validate_vf_msg()1472 valid_len = sizeof(struct virtchnl_txq_info); in virtchnl_vc_validate_vf_msg()1475 valid_len = sizeof(struct virtchnl_rxq_info); in virtchnl_vc_validate_vf_msg()1478 valid_len = virtchnl_vsi_queue_config_info_LEGACY_SIZEOF; in virtchnl_vc_validate_vf_msg()1479 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg()1482 valid_len = virtchnl_struct_size(vqc, qpair, in virtchnl_vc_validate_vf_msg()1489 valid_len = virtchnl_irq_map_info_LEGACY_SIZEOF; in virtchnl_vc_validate_vf_msg()1490 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg()[all …]
400 static int gvt_check_valid_cmd_length(int len, int valid_len) in gvt_check_valid_cmd_length() argument402 if (valid_len != len) { in gvt_check_valid_cmd_length()404 len, valid_len); in gvt_check_valid_cmd_length()459 u32 valid_len; member1481 u32 valid_len = CMD_LEN(1); in cmd_handler_mi_display_flip() local1485 valid_len++; in cmd_handler_mi_display_flip()1487 valid_len); in cmd_handler_mi_display_flip()1609 u32 valid_len = CMD_LEN(2); in cmd_handler_mi_store_data_imm() local1618 valid_len++; in cmd_handler_mi_store_data_imm()1620 valid_len); in cmd_handler_mi_store_data_imm()[all …]
1218 unsigned int valid_len = len; in null_transfer() local1223 valid_len = null_zone_valid_read_len(nullb, in null_transfer()1226 if (valid_len) { in null_transfer()1228 sector, valid_len); in null_transfer()1229 off += valid_len; in null_transfer()1230 len -= valid_len; in null_transfer()