Home
last modified time | relevance | path

Searched refs:headersize (Results 1 – 17 of 17) sorted by relevance

/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_crc32.c33 if (hdr->headersize <= sizeof(struct efi_table_hdr)) { in check_table()
48 ret = bs_crc32(table, hdr->headersize, &res); in check_table()
H A Defi_selftest_config_table.c51 ret = boottime->calculate_crc32(table, hdr->headersize, &res); in check_table()
/openbmc/linux/arch/x86/platform/efi/
H A Dquirks.c71 u32 headersize; member
621 csh->headersize != QUARK_SECURITY_HEADER_SIZE) in qrk_capsule_setup_info()
636 *pkbuff += csh->headersize; in qrk_capsule_setup_info()
637 cap_info->total_size = csh->headersize; in qrk_capsule_setup_info()
642 cap_info->phys[0] += csh->headersize; in qrk_capsule_setup_info()
/openbmc/linux/drivers/net/wireless/intersil/orinoco/
H A Dfw.c45 __le16 headersize; /* Total length of header */ member
66 hdrsize = le16_to_cpu(hdr->headersize); in validate_fw()
160 le16_to_cpu(hdr->headersize) + in orinoco_dl_firmware()
171 le16_to_cpu(hdr->headersize) + in orinoco_dl_firmware()
/openbmc/linux/drivers/firmware/efi/
H A Dcapsule-loader.c212 if (cap_info->header.headersize == 0) { in efi_capsule_write()
223 if (cap_info->header.headersize > 0 && in efi_capsule_write()
258 (cap_info->header.headersize == 0 || in efi_capsule_release()
H A Dcapsule.c96 capsule.headersize = capsule.imagesize = sizeof(capsule); in efi_capsule_supported()
/openbmc/linux/drivers/net/ppp/
H A Dpptp.c273 int headersize, payload_len, seq; in pptp_rcv_core() local
284 headersize = sizeof(*header); in pptp_rcv_core()
290 if (!pskb_may_pull(skb, headersize)) in pptp_rcv_core()
303 headersize -= sizeof(header->ack); in pptp_rcv_core()
313 if (!pskb_may_pull(skb, headersize + payload_len)) in pptp_rcv_core()
316 payload = skb->data + headersize; in pptp_rcv_core()
326 skb_pull(skb, headersize); in pptp_rcv_core()
/openbmc/qemu/include/hw/loongarch/
H A Dboot.h50 uint32_t headersize; member
/openbmc/linux/arch/x86/boot/compressed/
H A Defi.h30 u32 headersize; member
/openbmc/linux/net/ipv6/
H A Dip6_output.c1506 unsigned int maxnonfragsize, headersize; in __ip6_append_data() local
1529 headersize = sizeof(struct ipv6hdr) + in __ip6_append_data()
1545 if (headersize + transhdrlen > mtu) in __ip6_append_data()
1548 if (cork->length + length > mtu - headersize && ipc6->dontfrag && in __ip6_append_data()
1552 ipv6_local_rxpmtu(sk, fl6, mtu - headersize + in __ip6_append_data()
1562 if (cork->length + length > maxnonfragsize - headersize) { in __ip6_append_data()
1564 pmtu = max_t(int, mtu - headersize + sizeof(struct ipv6hdr), 0); in __ip6_append_data()
1573 headersize == sizeof(struct ipv6hdr) && in __ip6_append_data()
1574 length <= mtu - headersize && in __ip6_append_data()
/openbmc/linux/arch/x86/xen/
H A Defi.c27 .headersize = 0, /* Ignored by Linux Kernel. */
/openbmc/u-boot/lib/efi_loader/
H A Defi_runtime.c101 table->headersize); in efi_update_table_header_crc32()
697 .headersize = sizeof(struct efi_runtime_services),
H A Defi_boottime.c3146 .headersize = sizeof(struct efi_boot_services),
3202 .headersize = sizeof(struct efi_system_table),
/openbmc/u-boot/include/
H A Defi.h112 u32 headersize; member
/openbmc/linux/net/sctp/
H A Dsm_make_chunk.c1662 int headersize, bodysize; in sctp_pack_cookie() local
1667 headersize = sizeof(struct sctp_paramhdr) + in sctp_pack_cookie()
1679 *cookie_len = headersize + bodysize; in sctp_pack_cookie()
1747 int headersize, bodysize, fixed_size; in sctp_unpack_cookie() local
1759 headersize = sizeof(struct sctp_chunkhdr) + in sctp_unpack_cookie()
1762 bodysize = ntohs(chunk->chunk_hdr->length) - headersize; in sctp_unpack_cookie()
1763 fixed_size = headersize + sizeof(struct sctp_cookie); in sctp_unpack_cookie()
/openbmc/linux/include/linux/
H A Defi.h87 u32 headersize; member
148 u32 headersize; member
/openbmc/linux/drivers/acpi/
H A Dpfr_update.c287 size = cap_hdr->headersize; in applicable_image()