Lines Matching defs:hdr_sz
3833 * hdr_sz was used to encode endianness. But given that hdr_sz can vary based
3837 static int try_all_file_abis(uint64_t hdr_sz, struct perf_header *ph)
3845 if (hdr_sz != ref_size) {
3846 attr_size = bswap_64(hdr_sz);
3875 static int try_all_pipe_abis(uint64_t hdr_sz, struct perf_header *ph)
3881 if (hdr_sz != attr_pipe_abi_sizes[i]) {
3882 attr_size = bswap_64(hdr_sz);
3883 if (attr_size != hdr_sz)
3904 static int check_magic_endian(u64 magic, uint64_t hdr_sz,
3915 return try_all_pipe_abis(hdr_sz, ph);
3917 return try_all_file_abis(hdr_sz, ph);