/Linux-v6.1/drivers/net/wireless/ath/wil6210/ |
D | fw_inc.c | 604 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 …]
|
/Linux-v6.1/drivers/media/platform/mediatek/vcodec/venc/ |
D | venc_h264_if.c | 664 int hdr_sz; in h264_enc_encode() local 687 hdr_sz = bs_size_hdr; in h264_enc_encode() 688 hdr_sz_ext = (hdr_sz & (bs_alignment - 1)); in h264_enc_encode() 693 h264_encode_filler(inst, bs_buf->va + hdr_sz, in h264_enc_encode() 697 tmp_bs_buf.va = bs_buf->va + hdr_sz + filler_sz; in h264_enc_encode() 698 tmp_bs_buf.dma_addr = bs_buf->dma_addr + hdr_sz + filler_sz; in h264_enc_encode() 699 tmp_bs_buf.size = bs_buf->size - (hdr_sz + filler_sz); in h264_enc_encode() 706 result->bs_size = hdr_sz + filler_sz + bs_size_frm; in h264_enc_encode() 709 hdr_sz, filler_sz, bs_size_frm, in h264_enc_encode()
|
/Linux-v6.1/tools/perf/util/ |
D | trace-event-info.c | 51 static int record_file(const char *file, ssize_t hdr_sz) in record_file() argument 66 if (hdr_sz) { in record_file() 67 if (write(output_fd, &size, hdr_sz) != hdr_sz) in record_file() 83 sizep += sizeof(u64) - hdr_sz; in record_file() 85 if (hdr_sz && pwrite(output_fd, sizep, hdr_sz, hdr_pos) < 0) { in record_file()
|
D | session.c | 1762 size_t hdr_sz, rest; in perf_session__peek_event() local 1775 hdr_sz = sizeof(struct perf_event_header); in perf_session__peek_event() 1777 if (buf_sz < hdr_sz) in perf_session__peek_event() 1781 readn(fd, buf, hdr_sz) != (ssize_t)hdr_sz) in perf_session__peek_event() 1789 if (event->header.size < hdr_sz || event->header.size > buf_sz) in perf_session__peek_event() 1792 buf += hdr_sz; in perf_session__peek_event() 1793 rest = event->header.size - hdr_sz; in perf_session__peek_event()
|
D | header.c | 3794 static int try_all_file_abis(uint64_t hdr_sz, struct perf_header *ph) in try_all_file_abis() argument 3802 if (hdr_sz != ref_size) { in try_all_file_abis() 3803 attr_size = bswap_64(hdr_sz); in try_all_file_abis() 3832 static int try_all_pipe_abis(uint64_t hdr_sz, struct perf_header *ph) in try_all_pipe_abis() argument 3838 if (hdr_sz != attr_pipe_abi_sizes[i]) { in try_all_pipe_abis() 3839 attr_size = bswap_64(hdr_sz); in try_all_pipe_abis() 3840 if (attr_size != hdr_sz) in try_all_pipe_abis() 3861 static int check_magic_endian(u64 magic, uint64_t hdr_sz, in check_magic_endian() argument 3872 return try_all_pipe_abis(hdr_sz, ph); in check_magic_endian() 3874 return try_all_file_abis(hdr_sz, ph); in check_magic_endian()
|
/Linux-v6.1/drivers/virt/coco/sev-guest/ |
D | sev-guest.h | 49 u16 hdr_sz; member
|
D | sev-guest.c | 306 hdr->hdr_sz = sizeof(*hdr); in enc_payload()
|
/Linux-v6.1/net/tipc/ |
D | msg.c | 98 uint hdr_sz, uint data_sz, u32 dnode, in tipc_msg_create() argument 104 buf = tipc_buf_acquire(hdr_sz + data_sz, GFP_ATOMIC); in tipc_msg_create() 109 tipc_msg_init(onode, msg, user, type, hdr_sz, dnode); in tipc_msg_create() 110 msg_set_size(msg, hdr_sz + data_sz); in tipc_msg_create()
|
D | msg.h | 1162 struct sk_buff *tipc_msg_create(uint user, uint type, uint hdr_sz,
|
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/mei/ |
D | main.c | 431 size_t hdr_sz; in iwl_mei_add_data_to_ring() local 468 hdr_sz = cb_tx ? sizeof(struct iwl_sap_cb_data) : in iwl_mei_add_data_to_ring() 470 tx_sz = skb->len + hdr_sz; in iwl_mei_add_data_to_ring() 487 if (skb_headroom(skb) < hdr_sz) { in iwl_mei_add_data_to_ring()
|
/Linux-v6.1/tools/perf/ |
D | builtin-inject.c | 1363 size_t hdr_sz = sizeof(*hdr); in guest_session__fetch() local 1366 ret = readn(gs->tmp_fd, buf, hdr_sz); in guest_session__fetch() 1376 buf += hdr_sz; in guest_session__fetch() 1378 ret = readn(gs->tmp_fd, buf, hdr->size - hdr_sz); in guest_session__fetch()
|
/Linux-v6.1/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_main.c | 4217 int hdr_sz) in mvpp2_tso_put_hdr() argument 4225 mvpp2_txdesc_size_set(port, tx_desc, hdr_sz); in mvpp2_tso_put_hdr() 4281 int hdr_sz, i, len, descs = 0; in mvpp2_tx_tso() local 4290 hdr_sz = tso_start(skb, &tso); in mvpp2_tx_tso() 4292 len = skb->len - hdr_sz; in mvpp2_tx_tso() 4302 mvpp2_tso_put_hdr(skb, dev, txq, aggr_txq, txq_pcpu, hdr_sz); in mvpp2_tx_tso()
|
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_npc.c | 1504 size_t hdr_sz = sizeof(struct npc_kpu_profile_fwdata), offset = 0; in npc_apply_custom_kpu() local 1512 if (rvu->kpu_fwdata_sz < hdr_sz) { in npc_apply_custom_kpu() 1566 if (rvu->kpu_fwdata_sz < hdr_sz + offset) { in npc_apply_custom_kpu()
|