/Linux-v4.19/drivers/net/wireless/ath/wil6210/ |
D | fw_inc.c | 580 size_t s, hdr_sz; in wil_fw_process() local 585 hdr_sz = le32_to_cpu(hdr->size); in wil_fw_process() 586 s = sizeof(*hdr) + hdr_sz; in wil_fw_process() 589 if (hdr_sz % 4) { in wil_fw_process() 591 hdr_sz); in wil_fw_process() 595 &hdr[1], hdr_sz, load); in wil_fw_process() 605 le16_to_cpu(hdr->type), hdr_sz); in wil_fw_process() 663 size_t s, hdr_sz; in wil_brd_process() local 680 hdr_sz = le32_to_cpu(hdr->size); in wil_brd_process() 682 if (wil->brd_file_max_size && hdr_sz > wil->brd_file_max_size) in wil_brd_process() [all …]
|
/Linux-v4.19/drivers/media/platform/mtk-vcodec/venc/ |
D | venc_h264_if.c | 529 int hdr_sz; in h264_enc_encode() local 552 hdr_sz = bs_size_hdr; in h264_enc_encode() 553 hdr_sz_ext = (hdr_sz & (bs_alignment - 1)); in h264_enc_encode() 558 h264_encode_filler(inst, bs_buf->va + hdr_sz, in h264_enc_encode() 562 tmp_bs_buf.va = bs_buf->va + hdr_sz + filler_sz; in h264_enc_encode() 563 tmp_bs_buf.dma_addr = bs_buf->dma_addr + hdr_sz + filler_sz; in h264_enc_encode() 564 tmp_bs_buf.size = bs_buf->size - (hdr_sz + filler_sz); in h264_enc_encode() 571 result->bs_size = hdr_sz + filler_sz + bs_size_frm; in h264_enc_encode() 574 hdr_sz, filler_sz, bs_size_frm, in h264_enc_encode()
|
/Linux-v4.19/tools/perf/util/ |
D | trace-event-info.c | 59 static int record_file(const char *file, ssize_t hdr_sz) in record_file() argument 74 if (hdr_sz) { in record_file() 75 if (write(output_fd, &size, hdr_sz) != hdr_sz) in record_file() 91 sizep += sizeof(u64) - hdr_sz; in record_file() 93 if (hdr_sz && pwrite(output_fd, sizep, hdr_sz, hdr_pos) < 0) { in record_file()
|
D | session.c | 1443 size_t hdr_sz, rest; in perf_session__peek_event() local 1456 hdr_sz = sizeof(struct perf_event_header); in perf_session__peek_event() 1458 if (buf_sz < hdr_sz) in perf_session__peek_event() 1462 readn(fd, buf, hdr_sz) != (ssize_t)hdr_sz) in perf_session__peek_event() 1470 if (event->header.size < hdr_sz || event->header.size > buf_sz) in perf_session__peek_event() 1473 rest = event->header.size - hdr_sz; in perf_session__peek_event()
|
D | header.c | 2915 static int try_all_file_abis(uint64_t hdr_sz, struct perf_header *ph) in try_all_file_abis() argument 2923 if (hdr_sz != ref_size) { in try_all_file_abis() 2924 attr_size = bswap_64(hdr_sz); in try_all_file_abis() 2953 static int try_all_pipe_abis(uint64_t hdr_sz, struct perf_header *ph) in try_all_pipe_abis() argument 2959 if (hdr_sz != attr_pipe_abi_sizes[i]) { in try_all_pipe_abis() 2960 attr_size = bswap_64(hdr_sz); in try_all_pipe_abis() 2961 if (attr_size != hdr_sz) in try_all_pipe_abis() 2982 static int check_magic_endian(u64 magic, uint64_t hdr_sz, in check_magic_endian() argument 2993 return try_all_pipe_abis(hdr_sz, ph); in check_magic_endian() 2995 return try_all_file_abis(hdr_sz, ph); in check_magic_endian()
|
/Linux-v4.19/net/tipc/ |
D | msg.c | 92 uint hdr_sz, uint data_sz, u32 dnode, in tipc_msg_create() argument 98 buf = tipc_buf_acquire(hdr_sz + data_sz, GFP_ATOMIC); in tipc_msg_create() 103 tipc_msg_init(onode, msg, user, type, hdr_sz, dnode); in tipc_msg_create() 104 msg_set_size(msg, hdr_sz + data_sz); in tipc_msg_create() 108 if (hdr_sz > SHORT_H_SIZE) { in tipc_msg_create()
|
D | msg.h | 956 struct sk_buff *tipc_msg_create(uint user, uint type, uint hdr_sz,
|
/Linux-v4.19/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_main.c | 2801 int hdr_sz) in mvpp2_tso_put_hdr() argument 2808 mvpp2_txdesc_size_set(port, tx_desc, hdr_sz); in mvpp2_tso_put_hdr() 2864 int hdr_sz = skb_transport_offset(skb) + tcp_hdrlen(skb); in mvpp2_tx_tso() local 2875 len = skb->len - hdr_sz; in mvpp2_tx_tso() 2885 mvpp2_tso_put_hdr(skb, dev, txq, aggr_txq, txq_pcpu, hdr_sz); in mvpp2_tx_tso()
|