Lines Matching refs:hdr_sz
4485 * hdr_sz was used to encode endianness. But given that hdr_sz can vary based
4489 static int try_all_file_abis(uint64_t hdr_sz, struct perf_header *ph)
4497 if (hdr_sz != ref_size) {
4498 attr_size = bswap_64(hdr_sz);
4527 static int try_all_pipe_abis(uint64_t hdr_sz, struct perf_header *ph)
4533 if (hdr_sz != attr_pipe_abi_sizes[i]) {
4534 attr_size = bswap_64(hdr_sz);
4535 if (attr_size != hdr_sz)
4556 static int check_magic_endian(u64 magic, uint64_t hdr_sz,
4567 return try_all_pipe_abis(hdr_sz, ph);
4569 return try_all_file_abis(hdr_sz, ph);