Lines Matching defs:hdr_sz
3448 * hdr_sz was used to encode endianness. But given that hdr_sz can vary based
3452 static int try_all_file_abis(uint64_t hdr_sz, struct perf_header *ph)
3460 if (hdr_sz != ref_size) {
3461 attr_size = bswap_64(hdr_sz);
3490 static int try_all_pipe_abis(uint64_t hdr_sz, struct perf_header *ph)
3496 if (hdr_sz != attr_pipe_abi_sizes[i]) {
3497 attr_size = bswap_64(hdr_sz);
3498 if (attr_size != hdr_sz)
3519 static int check_magic_endian(u64 magic, uint64_t hdr_sz,
3530 return try_all_pipe_abis(hdr_sz, ph);
3532 return try_all_file_abis(hdr_sz, ph);