Home
last modified time | relevance | path

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

/openbmc/linux/tools/lib/bpf/
H A Dzip.c149 struct end_of_cd_record *eocd; in try_parse_end_of_cd() local
152 eocd = check_access(archive, offset, sizeof(*eocd)); in try_parse_end_of_cd()
153 if (!eocd || eocd->magic != END_OF_CD_RECORD_MAGIC) in try_parse_end_of_cd()
156 comment_length = eocd->comment_length; in try_parse_end_of_cd()
157 if (offset + sizeof(*eocd) + comment_length != archive->size) in try_parse_end_of_cd()
160 cd_records = eocd->cd_records; in try_parse_end_of_cd()
161 if (eocd->this_disk != 0 || eocd->cd_disk != 0 || eocd->cd_records_total != cd_records) in try_parse_end_of_cd()
165 cd_offset = eocd->cd_offset; in try_parse_end_of_cd()
166 cd_size = eocd->cd_size; in try_parse_end_of_cd()