Searched refs:hdr_sz (Results 1 – 8 of 8) sorted by relevance
/linux-4.1.27/tools/perf/util/ |
D | trace-event-info.c | 60 static int record_file(const char *file, ssize_t hdr_sz) in record_file() argument 75 if (hdr_sz) { in record_file() 76 if (write(output_fd, &size, hdr_sz) != hdr_sz) in record_file() 92 sizep += sizeof(u64) - hdr_sz; in record_file() 94 if (hdr_sz && pwrite(output_fd, sizep, hdr_sz, hdr_pos) < 0) { in record_file()
|
D | header.c | 2141 static int try_all_file_abis(uint64_t hdr_sz, struct perf_header *ph) in try_all_file_abis() argument 2149 if (hdr_sz != ref_size) { in try_all_file_abis() 2150 attr_size = bswap_64(hdr_sz); in try_all_file_abis() 2179 static int try_all_pipe_abis(uint64_t hdr_sz, struct perf_header *ph) in try_all_pipe_abis() argument 2185 if (hdr_sz != attr_pipe_abi_sizes[i]) { in try_all_pipe_abis() 2186 attr_size = bswap_64(hdr_sz); in try_all_pipe_abis() 2187 if (attr_size != hdr_sz) in try_all_pipe_abis() 2208 static int check_magic_endian(u64 magic, uint64_t hdr_sz, in check_magic_endian() argument 2219 return try_all_pipe_abis(hdr_sz, ph); in check_magic_endian() 2221 return try_all_file_abis(hdr_sz, ph); in check_magic_endian()
|
D | session.c | 1018 size_t hdr_sz, rest; in perf_session__peek_event() local 1031 hdr_sz = sizeof(struct perf_event_header); in perf_session__peek_event() 1033 if (buf_sz < hdr_sz) in perf_session__peek_event() 1037 readn(fd, &buf, hdr_sz) != (ssize_t)hdr_sz) in perf_session__peek_event() 1045 if (event->header.size < hdr_sz) in perf_session__peek_event() 1048 rest = event->header.size - hdr_sz; in perf_session__peek_event()
|
/linux-4.1.27/net/tipc/ |
D | msg.c | 90 uint hdr_sz, uint data_sz, u32 dnode, in tipc_msg_create() argument 96 buf = tipc_buf_acquire(hdr_sz + data_sz); in tipc_msg_create() 101 tipc_msg_init(onode, msg, user, type, hdr_sz, dnode); in tipc_msg_create() 102 msg_set_size(msg, hdr_sz + data_sz); in tipc_msg_create() 106 if (hdr_sz > SHORT_H_SIZE) { in tipc_msg_create() 555 int hdr_sz; in tipc_msg_reassemble() local 560 hdr_sz = skb_headroom(skb) + msg_hdr_sz(buf_msg(skb)); in tipc_msg_reassemble() 561 return __pskb_copy(skb, hdr_sz, GFP_ATOMIC); in tipc_msg_reassemble()
|
D | msg.h | 771 struct sk_buff *tipc_msg_create(uint user, uint type, uint hdr_sz,
|
/linux-4.1.27/drivers/net/wireless/ath/wil6210/ |
D | fw_inc.c | 425 size_t s, hdr_sz; in wil_fw_load() local 430 hdr_sz = le32_to_cpu(hdr->size); in wil_fw_load() 431 s = sizeof(*hdr) + hdr_sz; in wil_fw_load() 434 if (hdr_sz % 4) { in wil_fw_load() 436 hdr_sz); in wil_fw_load() 440 &hdr[1], hdr_sz); in wil_fw_load() 450 le16_to_cpu(hdr->type), hdr_sz); in wil_fw_load()
|
/linux-4.1.27/drivers/mmc/card/ |
D | queue.c | 461 unsigned int hdr_sz = mmc_large_sector(mq->card) ? 4096 : 512; in mmc_queue_packed_map_sg() local 466 remain = hdr_sz; in mmc_queue_packed_map_sg()
|
D | block.c | 1524 unsigned int hdr_sz = mmc_large_sector(card) ? 4096 : 512; in mmc_calc_packed_hdr_segs() local 1529 len = min(hdr_sz, max_seg_sz); in mmc_calc_packed_hdr_segs() 1530 hdr_sz -= len; in mmc_calc_packed_hdr_segs() 1532 } while (hdr_sz); in mmc_calc_packed_hdr_segs()
|