• Home
  • Raw
  • Download

Lines Matching refs:offset

25 	size_t offset;  member
65 pldm_check_fw_space(struct pldmfw_priv *data, size_t offset, size_t length) in pldm_check_fw_space() argument
67 size_t expected_size = offset + length; in pldm_check_fw_space()
95 err = pldm_check_fw_space(data, data->offset, bytes_to_move); in pldm_move_fw_offset()
99 data->offset += bytes_to_move; in pldm_move_fw_offset()
153 err = pldm_check_fw_space(data, data->offset, header_size); in pldm_parse_header()
176 data->offset); in pldm_parse_header()
265 desc_start = data->fw->data + data->offset; in pldm_parse_desc_tlvs()
348 bitmap_ptr = data->fw->data + data->offset; in pldm_parse_one_record()
364 record->version_string = data->fw->data + data->offset; in pldm_parse_one_record()
375 record->package_data = data->fw->data + data->offset; in pldm_parse_one_record()
381 measured_length = data->offset - ((const u8 *)__record - data->fw->data); in pldm_parse_one_record()
416 component_area = (const struct __pldmfw_component_area *)(data->fw->data + data->offset); in pldm_parse_records()
451 u32 offset, size; in pldm_parse_components() local
461 offset = get_unaligned_le32(&__component->location_offset); in pldm_parse_components()
464 err = pldm_check_fw_space(data, offset, size); in pldm_parse_components()
481 component->component_data = data->fw->data + offset; in pldm_parse_components()
487 header_crc_ptr = data->fw->data + data->offset; in pldm_parse_components()
494 if (data->offset != data->total_header_size) { in pldm_parse_components()
496 data->total_header_size, data->offset); in pldm_parse_components()
524 length = data->offset - sizeof(data->header_crc); in pldm_verify_header_crc()