Searched refs:ini_file_size (Results 1 – 1 of 1) sorted by relevance
1353 u16 ini_file_size; in mlxsw_linecard_types_file_validate() local1373 ini_file_size = le16_to_cpu(ini_file->size); in mlxsw_linecard_types_file_validate()1374 if (ini_file_size + sizeof(__le16) > size) { in mlxsw_linecard_types_file_validate()1378 if (ini_file_size % 4) { in mlxsw_linecard_types_file_validate()1382 data += ini_file_size + sizeof(__le16); in mlxsw_linecard_types_file_validate()1383 size -= ini_file_size + sizeof(__le16); in mlxsw_linecard_types_file_validate()1402 u16 ini_file_size; in mlxsw_linecard_types_file_parse() local1407 ini_file_size = le16_to_cpu(ini_file->size); in mlxsw_linecard_types_file_parse()1408 for (i = 0; i < ini_file_size / 4; i++) { in mlxsw_linecard_types_file_parse()1414 data += ini_file_size + sizeof(__le16); in mlxsw_linecard_types_file_parse()[all …]