Searched refs:hdr_offset (Results 1 – 7 of 7) sorted by relevance
| /src/sys/dev/sfxge/common/ |
| H A D | ef10_image.c | 611 uint32_t hdr_offset; in efx_build_signed_image_write_buffer() local 744 hdr_offset = buffer_size - SIGNED_IMAGE_CHUNK_HDR_LEN; in efx_build_signed_image_write_buffer() 752 memcpy(bufferp + hdr_offset, &chunk_hdr, sizeof (chunk_hdr)); in efx_build_signed_image_write_buffer() 766 hdr_offset = chunk_hdr.offset + chunk_hdr.len; in efx_build_signed_image_write_buffer() 767 if (hdr_offset > (buffer_size - SIGNED_IMAGE_CHUNK_HDR_LEN)) { in efx_build_signed_image_write_buffer() 774 chunk_hdr.offset = hdr_offset + SIGNED_IMAGE_CHUNK_HDR_LEN; in efx_build_signed_image_write_buffer() 777 memcpy(bufferp + hdr_offset, &chunk_hdr, SIGNED_IMAGE_CHUNK_HDR_LEN); in efx_build_signed_image_write_buffer() 793 hdr_offset = chunk_hdr.offset + chunk_hdr.len; in efx_build_signed_image_write_buffer() 794 if (hdr_offset > (buffer_size - SIGNED_IMAGE_CHUNK_HDR_LEN)) { in efx_build_signed_image_write_buffer() 804 memcpy(bufferp + hdr_offset, &chunk_hdr, SIGNED_IMAGE_CHUNK_HDR_LEN); in efx_build_signed_image_write_buffer() [all …]
|
| /src/sys/dev/cxgbe/cudbg/ |
| H A D | cudbg_flash_utils.c | 90 u32 hdr_offset; in update_headers() local 113 hdr_offset = sizeof(struct cudbg_flash_hdr); in update_headers() 115 memcpy((void *)((char *)sec_hdr + hdr_offset), in update_headers() 125 hdr_offset = data_hdr_size + sizeof(struct cudbg_flash_hdr); in update_headers()
|
| /src/sys/dev/mxge/ |
| H A D | if_mxge.c | 679 unsigned hdr_offset; in mxge_load_firmware_helper() local 719 hdr_offset = htobe32(*(const uint32_t *) in mxge_load_firmware_helper() 721 if ((hdr_offset & 3) || hdr_offset + sizeof(*hdr) > fw_len) { in mxge_load_firmware_helper() 726 hdr = (const void*)(inflate_buffer + hdr_offset); in mxge_load_firmware_helper() 886 size_t hdr_offset; in mxge_adopt_running_firmware() local 890 hdr_offset = htobe32(*(volatile uint32_t *) in mxge_adopt_running_firmware() 893 if ((hdr_offset & 3) || hdr_offset + sizeof(*hdr) > sc->sram_size) { in mxge_adopt_running_firmware() 896 (int)hdr_offset); in mxge_adopt_running_firmware() 909 hdr_offset, (char *)hdr, bytes); in mxge_adopt_running_firmware()
|
| /src/sys/contrib/dev/mediatek/mt76/ |
| H A D | mt76_connac.h | 445 struct sk_buff *skb, u16 hdr_offset);
|
| H A D | mt76_connac_mac.c | 955 struct sk_buff *skb, u16 hdr_offset) in mt76_connac2_reverse_frag0_hdr_trans() argument 958 struct ethhdr *eth_hdr = (struct ethhdr *)(skb->data + hdr_offset); in mt76_connac2_reverse_frag0_hdr_trans() 1000 skb_pull(skb, hdr_offset + sizeof(struct ethhdr) - 2); in mt76_connac2_reverse_frag0_hdr_trans()
|
| /src/contrib/file/magic/Magdir/ |
| H A D | luks | 96 # hdr_offset; offset from device start [ bytes ] like: 0
|
| /src/sys/contrib/dev/broadcom/brcm80211/brcmfmac/ |
| H A D | sdio.c | 1491 u8 hdr_offset; in brcmf_sdio_hdpack() local 1494 hdr_offset = SDPCM_HWHDR_LEN; in brcmf_sdio_hdpack() 1497 hdrval = (hd_info->len - hdr_offset) | (hd_info->lastfrm << 24); in brcmf_sdio_hdpack() 1498 *((__le32 *)(header + hdr_offset)) = cpu_to_le32(hdrval); in brcmf_sdio_hdpack() 1500 *(((__le32 *)(header + hdr_offset)) + 1) = cpu_to_le32(hdrval); in brcmf_sdio_hdpack() 1501 hdr_offset += SDPCM_HWEXT_LEN; in brcmf_sdio_hdpack() 1509 *((__le32 *)(header + hdr_offset)) = cpu_to_le32(hdrval); in brcmf_sdio_hdpack() 1510 *(((__le32 *)(header + hdr_offset)) + 1) = 0; in brcmf_sdio_hdpack()
|