Home
last modified time | relevance | path

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

/linux-3.4.99/tools/perf/util/
Dtrace-event-info.c162 static void record_file(const char *file, size_t hdr_sz) in record_file() argument
174 if (hdr_sz) in record_file()
175 write_or_die(&size, hdr_sz); in record_file()
189 sizep += sizeof(u64) - hdr_sz; in record_file()
191 if (hdr_sz && pwrite(output_fd, sizep, hdr_sz, hdr_pos) < 0) in record_file()
Dheader.c1831 static int try_all_file_abis(uint64_t hdr_sz, struct perf_header *ph) in try_all_file_abis() argument
1839 if (hdr_sz != ref_size) { in try_all_file_abis()
1840 attr_size = bswap_64(hdr_sz); in try_all_file_abis()
1869 static int try_all_pipe_abis(uint64_t hdr_sz, struct perf_header *ph) in try_all_pipe_abis() argument
1875 if (hdr_sz != attr_pipe_abi_sizes[i]) { in try_all_pipe_abis()
1876 attr_size = bswap_64(hdr_sz); in try_all_pipe_abis()
1877 if (attr_size != hdr_sz) in try_all_pipe_abis()
1888 static int check_magic_endian(u64 magic, uint64_t hdr_sz, in check_magic_endian() argument
1898 return try_all_pipe_abis(hdr_sz, ph); in check_magic_endian()
1900 return try_all_file_abis(hdr_sz, ph); in check_magic_endian()
/linux-3.4.99/net/tipc/
Dport.c357 int hdr_sz; in tipc_reject_msg() local
378 hdr_sz = msg_hdr_sz(msg); in tipc_reject_msg()
379 rmsg_sz = hdr_sz + min_t(u32, data_sz, MAX_REJECT_SIZE); in tipc_reject_msg()