Searched refs:header_bytes (Results 1 – 5 of 5) sorted by relevance
| /freebsd/contrib/libarchive/libarchive/ |
| H A D | archive_write_add_filter_lzop.c | 323 int header_bytes, r; in drive_compressor() local 328 header_bytes = make_header(f); in drive_compressor() 331 header_bytes = 0; in drive_compressor() 341 p + header_bytes + block_info_bytes, &csize, in drive_compressor() 346 p + header_bytes + block_info_bytes, &csize, in drive_compressor() 351 p + header_bytes + block_info_bytes, &csize, in drive_compressor() 362 archive_be32enc(p + header_bytes, (uint32_t)usize); in drive_compressor() 365 archive_be32enc(p + header_bytes + 8, checksum); in drive_compressor() 369 archive_be32enc(p + header_bytes + 4, (uint32_t)csize); in drive_compressor() 371 header_bytes + block_info_bytes + csize); in drive_compressor() [all …]
|
| H A D | archive_read_support_format_7zip.c | 427 static const unsigned char *header_bytes(struct archive_read *, size_t); 2068 if ((p = header_bytes(a, 1)) == NULL) in parse_7zip_int64() 2075 if ((p = header_bytes(a, 1)) == NULL) in parse_7zip_int64() 2099 if ((p = header_bytes(a, 1)) == NULL) in read_Bools() 2133 if ((p = header_bytes(a, 1)) == NULL) in read_Digests() 2147 if ((p = header_bytes(a, 4)) == NULL) in read_Digests() 2189 if ((p = header_bytes(a, 1)) == NULL) in read_PackInfo() 2209 if ((p = header_bytes(a, 1)) == NULL) in read_PackInfo() 2231 if ((p = header_bytes(a, 1)) == NULL) in read_PackInfo() 2280 if ((p = header_bytes(a, 1)) == NULL) in read_Folder() [all …]
|
| /freebsd/sys/dev/isci/scil/ |
| H A D | sati_reassign_blocks.c | 277 U8 header_bytes[4]={0,0,0,0}; in sati_reassign_blocks_initial_processing() local 309 sati_get_data_byte(sequence, scsi_io, index, &header_bytes[index]); in sati_reassign_blocks_initial_processing() 317 data_transfer_length = (header_bytes[2]<<8) + header_bytes[3] + lba_offset; in sati_reassign_blocks_initial_processing() 322 data_transfer_length = (header_bytes[0]<<24) + (header_bytes[1]<<16) + in sati_reassign_blocks_initial_processing() 323 (header_bytes[2]<<8) + header_bytes[3] + lba_offset; in sati_reassign_blocks_initial_processing()
|
| /freebsd/sys/dev/coreboot/ |
| H A D | coreboot.c | 93 if (hdr->header_bytes < sizeof(*hdr) || in coreboot_sanitize_header() 94 hdr->header_bytes > CB_MAX_HEADER_BYTES) in coreboot_sanitize_header() 96 if ((hdr->header_bytes % CB_TABLE_ALIGN) != 0) in coreboot_sanitize_header() 103 total = (uint64_t)hdr->header_bytes + (uint64_t)hdr->table_bytes; in coreboot_sanitize_header() 120 if (hdr->header_bytes > mapped_len) in coreboot_validate_header() 123 cksum = cb_checksum(hdr, hdr->header_bytes); in coreboot_validate_header() 142 if ((uint64_t)hdr->header_bytes + (uint64_t)hdr->table_bytes > in coreboot_validate_table() 148 table = (const uint8_t *)hdr + hdr->header_bytes; in coreboot_validate_table() 224 entry = (uint8_t *)hdr + hdr->header_bytes; in coreboot_parse_table() 1246 entry = (uint8_t *)hdr + hdr->header_bytes; in coreboot_identify()
|
| H A D | coreboot.h | 93 uint32_t header_bytes; member
|