Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/
Dfw_inc.c604 size_t s, hdr_sz; in wil_fw_process() local
609 hdr_sz = le32_to_cpu(hdr->size); in wil_fw_process()
610 s = sizeof(*hdr) + hdr_sz; in wil_fw_process()
613 if (hdr_sz % 4) { in wil_fw_process()
615 hdr_sz); in wil_fw_process()
619 &hdr[1], hdr_sz, load); in wil_fw_process()
629 le16_to_cpu(hdr->type), hdr_sz); in wil_fw_process()
694 size_t s, hdr_sz = 0; in wil_brd_process() local
722 hdr_sz = le32_to_cpu(hdr->size); in wil_brd_process()
723 s = sizeof(*hdr) + hdr_sz; in wil_brd_process()
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dtrace-event-info.c43 static int record_file(const char *file, ssize_t hdr_sz) in record_file() argument
58 if (hdr_sz) { in record_file()
59 if (write(output_fd, &size, hdr_sz) != hdr_sz) in record_file()
75 sizep += sizeof(u64) - hdr_sz; in record_file()
77 if (hdr_sz && pwrite(output_fd, sizep, hdr_sz, hdr_pos) < 0) { in record_file()
Dsession.c1672 size_t hdr_sz, rest; in perf_session__peek_event() local
1685 hdr_sz = sizeof(struct perf_event_header); in perf_session__peek_event()
1687 if (buf_sz < hdr_sz) in perf_session__peek_event()
1691 readn(fd, buf, hdr_sz) != (ssize_t)hdr_sz) in perf_session__peek_event()
1699 if (event->header.size < hdr_sz || event->header.size > buf_sz) in perf_session__peek_event()
1702 buf += hdr_sz; in perf_session__peek_event()
1703 rest = event->header.size - hdr_sz; in perf_session__peek_event()
Dheader.c3452 static int try_all_file_abis(uint64_t hdr_sz, struct perf_header *ph) in try_all_file_abis() argument
3460 if (hdr_sz != ref_size) { in try_all_file_abis()
3461 attr_size = bswap_64(hdr_sz); in try_all_file_abis()
3490 static int try_all_pipe_abis(uint64_t hdr_sz, struct perf_header *ph) in try_all_pipe_abis() argument
3496 if (hdr_sz != attr_pipe_abi_sizes[i]) { in try_all_pipe_abis()
3497 attr_size = bswap_64(hdr_sz); in try_all_pipe_abis()
3498 if (attr_size != hdr_sz) in try_all_pipe_abis()
3519 static int check_magic_endian(u64 magic, uint64_t hdr_sz, in check_magic_endian() argument
3530 return try_all_pipe_abis(hdr_sz, ph); in check_magic_endian()
3532 return try_all_file_abis(hdr_sz, ph); in check_magic_endian()
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/venc/
Dvenc_h264_if.c559 int hdr_sz; in h264_enc_encode() local
582 hdr_sz = bs_size_hdr; in h264_enc_encode()
583 hdr_sz_ext = (hdr_sz & (bs_alignment - 1)); in h264_enc_encode()
588 h264_encode_filler(inst, bs_buf->va + hdr_sz, in h264_enc_encode()
592 tmp_bs_buf.va = bs_buf->va + hdr_sz + filler_sz; in h264_enc_encode()
593 tmp_bs_buf.dma_addr = bs_buf->dma_addr + hdr_sz + filler_sz; in h264_enc_encode()
594 tmp_bs_buf.size = bs_buf->size - (hdr_sz + filler_sz); in h264_enc_encode()
601 result->bs_size = hdr_sz + filler_sz + bs_size_frm; in h264_enc_encode()
604 hdr_sz, filler_sz, bs_size_frm, in h264_enc_encode()
/kernel/linux/linux-5.10/net/tipc/
Dmsg.c100 uint hdr_sz, uint data_sz, u32 dnode, in tipc_msg_create() argument
106 buf = tipc_buf_acquire(hdr_sz + data_sz, GFP_ATOMIC); in tipc_msg_create()
111 tipc_msg_init(onode, msg, user, type, hdr_sz, dnode); in tipc_msg_create()
112 msg_set_size(msg, hdr_sz + data_sz); in tipc_msg_create()
116 if (hdr_sz > SHORT_H_SIZE) { in tipc_msg_create()
Dmsg.h1185 struct sk_buff *tipc_msg_create(uint user, uint type, uint hdr_sz,
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
Denetc_hw.h548 static inline __le16 enetc_txbd_l3_csoff(int start, int hdr_sz, u16 l3_flags) in enetc_txbd_l3_csoff() argument
550 return cpu_to_le16(l3_flags | ENETC_TXBD_L3_SET_HSIZE(hdr_sz) | in enetc_txbd_l3_csoff()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c3859 int hdr_sz) in mvpp2_tso_put_hdr() argument
3867 mvpp2_txdesc_size_set(port, tx_desc, hdr_sz); in mvpp2_tso_put_hdr()
3923 int hdr_sz, i, len, descs = 0; in mvpp2_tx_tso() local
3932 hdr_sz = tso_start(skb, &tso); in mvpp2_tx_tso()
3934 len = skb->len - hdr_sz; in mvpp2_tx_tso()
3944 mvpp2_tso_put_hdr(skb, dev, txq, aggr_txq, txq_pcpu, hdr_sz); in mvpp2_tx_tso()