Searched refs:valid_len (Results 1 – 3 of 3) sorted by relevance
683 int valid_len = 0; in virtchnl_vc_validate_vf_msg() local688 valid_len = sizeof(struct virtchnl_version_info); in virtchnl_vc_validate_vf_msg()694 valid_len = sizeof(u32); in virtchnl_vc_validate_vf_msg()697 valid_len = sizeof(struct virtchnl_txq_info); in virtchnl_vc_validate_vf_msg()700 valid_len = sizeof(struct virtchnl_rxq_info); in virtchnl_vc_validate_vf_msg()703 valid_len = sizeof(struct virtchnl_vsi_queue_config_info); in virtchnl_vc_validate_vf_msg()704 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg()707 valid_len += (vqc->num_queue_pairs * in virtchnl_vc_validate_vf_msg()715 valid_len = sizeof(struct virtchnl_irq_map_info); in virtchnl_vc_validate_vf_msg()716 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg()[all …]
386 static int gvt_check_valid_cmd_length(int len, int valid_len) in gvt_check_valid_cmd_length() argument388 if (valid_len != len) { in gvt_check_valid_cmd_length()390 len, valid_len); in gvt_check_valid_cmd_length()445 u32 valid_len; member1442 u32 valid_len = CMD_LEN(1); in cmd_handler_mi_display_flip() local1446 valid_len++; in cmd_handler_mi_display_flip()1448 valid_len); in cmd_handler_mi_display_flip()1570 u32 valid_len = CMD_LEN(2); in cmd_handler_mi_store_data_imm() local1579 valid_len++; in cmd_handler_mi_store_data_imm()1581 valid_len); in cmd_handler_mi_store_data_imm()[all …]
1120 unsigned int valid_len = len; in null_transfer() local1125 valid_len = null_zone_valid_read_len(nullb, in null_transfer()1128 if (valid_len) { in null_transfer()1130 sector, valid_len); in null_transfer()1131 off += valid_len; in null_transfer()1132 len -= valid_len; in null_transfer()