Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/avf/
Dvirtchnl.h683 int valid_len = 0; in virtchnl_vc_validate_vf_msg() local
688 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
Dcmd_parser.c386 static int gvt_check_valid_cmd_length(int len, int valid_len) in gvt_check_valid_cmd_length() argument
388 if (valid_len != len) { in gvt_check_valid_cmd_length()
390 len, valid_len); in gvt_check_valid_cmd_length()
445 u32 valid_len; member
1442 u32 valid_len = CMD_LEN(1); in cmd_handler_mi_display_flip() local
1446 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() local
1579 valid_len++; in cmd_handler_mi_store_data_imm()
1581 valid_len); in cmd_handler_mi_store_data_imm()
[all …]
/kernel/linux/linux-5.10/drivers/block/
Dnull_blk_main.c1120 unsigned int valid_len = len; in null_transfer() local
1125 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()