Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/ath/wil6210/
H A 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 …]
/linux/tools/perf/util/
H A 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()
H A Dsession.c1701 size_t hdr_sz, rest; in perf_session__peek_event() local
1714 hdr_sz = sizeof(struct perf_event_header); in perf_session__peek_event()
1716 if (buf_sz < hdr_sz) in perf_session__peek_event()
1720 readn(fd, buf, hdr_sz) != (ssize_t)hdr_sz) in perf_session__peek_event()
1728 if (event->header.size < hdr_sz || event->header.size > buf_sz) in perf_session__peek_event()
1731 buf += hdr_sz; in perf_session__peek_event()
1732 rest = event->header.size - hdr_sz; in perf_session__peek_event()
H A Dheader.c3883 static int try_all_file_abis(uint64_t hdr_sz, struct perf_header *ph) in try_all_file_abis() argument
3891 if (hdr_sz != ref_size) { in try_all_file_abis()
3892 attr_size = bswap_64(hdr_sz); in try_all_file_abis()
3921 static int try_all_pipe_abis(uint64_t hdr_sz, struct perf_header *ph) in try_all_pipe_abis() argument
3927 if (hdr_sz != attr_pipe_abi_sizes[i]) { in try_all_pipe_abis()
3928 attr_size = bswap_64(hdr_sz); in try_all_pipe_abis()
3929 if (attr_size != hdr_sz) in try_all_pipe_abis()
3950 static int check_magic_endian(u64 magic, uint64_t hdr_sz, in check_magic_endian() argument
3961 return try_all_pipe_abis(hdr_sz, ph); in check_magic_endian()
3963 return try_all_file_abis(hdr_sz, ph); in check_magic_endian()
H A Darm-spe.c1533 int hdr_sz, per_cpu_sz, i; in arm_spe__alloc_metadata() local
1547 hdr_sz = ptr[ARM_SPE_HEADER_SIZE]; in arm_spe__alloc_metadata()
1555 ptr += hdr_sz; in arm_spe__alloc_metadata()
1556 per_cpu_sz = (metadata_size - (hdr_sz * sizeof(u64))) / (*nr_cpu); in arm_spe__alloc_metadata()
/linux/net/tipc/
H A Dmsg.c98 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()
H A Dmsg.h1162 struct sk_buff *tipc_msg_create(uint user, uint type, uint hdr_sz,
/linux/drivers/net/wireless/intel/iwlwifi/mei/
H A Dmain.c477 size_t hdr_sz; in iwl_mei_add_data_to_ring() local
514 hdr_sz = cb_tx ? sizeof(struct iwl_sap_cb_data) : in iwl_mei_add_data_to_ring()
516 tx_sz = skb->len + hdr_sz; in iwl_mei_add_data_to_ring()
533 if (skb_headroom(skb) < hdr_sz) { in iwl_mei_add_data_to_ring()
/linux/arch/x86/include/asm/
H A Dsev.h197 u16 hdr_sz; member
/linux/tools/perf/
H A Dbuiltin-inject.c1562 size_t hdr_sz = sizeof(*hdr); in guest_session__fetch() local
1573 ret = readn(gs->tmp_fd, buf, hdr_sz); in guest_session__fetch()
1583 buf += hdr_sz; in guest_session__fetch()
1585 ret = readn(gs->tmp_fd, buf, hdr->size - hdr_sz); in guest_session__fetch()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc.c1545 size_t hdr_sz = sizeof(struct npc_kpu_profile_fwdata), offset = 0; in npc_apply_custom_kpu() local
1553 if (rvu->kpu_fwdata_sz < hdr_sz) { in npc_apply_custom_kpu()
1607 if (rvu->kpu_fwdata_sz < hdr_sz + offset) { in npc_apply_custom_kpu()
/linux/arch/x86/coco/sev/
H A Dcore.c2138 hdr->hdr_sz = sizeof(*hdr); in enc_payload()