Searched refs:section_descriptor (Results 1 – 3 of 3) sorted by relevance
24 cper_section_descriptor_to_ir(EFI_ERROR_SECTION_DESCRIPTOR *section_descriptor);108 EFI_ERROR_SECTION_DESCRIPTOR *section_descriptor; in cper_buf_to_ir() local109 section_descriptor = (EFI_ERROR_SECTION_DESCRIPTOR *)(pos); in cper_buf_to_ir()113 if (section_descriptor->SectionOffset > size) { in cper_buf_to_ir()119 if (section_descriptor->SectionLength <= 0) { in cper_buf_to_ir()125 if (section_descriptor->SectionOffset > in cper_buf_to_ir()126 UINT_MAX - section_descriptor->SectionLength) { in cper_buf_to_ir()132 if (section_descriptor->SectionOffset + in cper_buf_to_ir()133 section_descriptor->SectionLength > in cper_buf_to_ir()141 cper_buf + section_descriptor->SectionOffset; in cper_buf_to_ir()[all …]
276 EFI_ERROR_SECTION_DESCRIPTOR section_descriptor; in ir_single_section_to_cper() local277 memset(§ion_descriptor, 0, sizeof(section_descriptor)); in ir_single_section_to_cper()281 §ion_descriptor); in ir_single_section_to_cper()282 fwrite(§ion_descriptor, sizeof(section_descriptor), 1, out); in ir_single_section_to_cper()286 §ion_descriptor, out); in ir_single_section_to_cper()
104 EFI_ERROR_SECTION_DESCRIPTOR *section_descriptor = in generate_single_section_record() local106 section_descriptor->SectionOffset = in generate_single_section_record()110 fwrite(section_descriptor, sizeof(EFI_ERROR_SECTION_DESCRIPTOR), 1, in generate_single_section_record()116 free(section_descriptor); in generate_single_section_record()