Searched refs:hdr_size (Results 1 - 25 of 44) sorted by relevance

12

/netbsd-current/external/bsd/tcpdump/dist/
H A Dprint-geonet.c113 int hdr_size = -1; local
184 hdr_size = 0;
187 hdr_size = 0;
211 hdr_size = 0;
214 hdr_size = 68 - 36;
228 if (hdr_size >= 0) {
229 if (length < (u_int)hdr_size) {
230 ND_PRINT(" (header size %d > %u)", hdr_size, length);
233 ND_TCHECK_LEN(bp, hdr_size);
234 length -= hdr_size;
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/include/nvfw/
H A Dhs.h17 u32 hdr_size; member in struct:nvfw_hs_header
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/nvfw/
H A Dnouveau_nvkm_nvfw_hs.c42 nvkm_debug(subdev, "\thdrSize : 0x%x\n", hdr->hdr_size);
/netbsd-current/usr.bin/audio/common/
H A Dsun.c184 auh.hdr_size = htonl(sizeof(auh) + infolen);
187 auh.hdr_size = htonl(sizeof(auh) + *leftp);
H A Dlibaudio.h76 u_int32_t hdr_size; /* header size; in bytes */ member in struct:__anon3
/netbsd-current/sys/dev/dkwedge/
H A Ddkwedge_gpt.c106 rv = le32toh(crc) == crc32(0, (void *)hdr, le32toh(hdr->hdr_size));
157 if (le32toh(hdr->hdr_size) > secsize) {
/netbsd-current/sys/dev/pci/
H A Dif_iavfvar.h155 uint16_t hdr_size; member in struct:iavf_vc_rxq_info
/netbsd-current/sys/arch/mac68k/nubus/
H A Dnubus.c335 int i, j, found, hdr_size; local
397 hdr_size = 20;
405 hdr = nubus_adjust_ptr(lanes, hdr, -hdr_size);
409 fmt->top, hdr_size, hdr);
/netbsd-current/external/gpl3/gdb/dist/bfd/
H A Dcompress.c312 bfd_size_type hdr_size; local
368 hdr_size = bfd_get_compression_header_size (ibfd, isec);
369 if (hdr_size == 0)
373 if (hdr_size == sizeof (Elf32_External_Chdr))
/netbsd-current/lib/libkvm/
H A Dkvm.c526 size_t hdr_size; local
558 hdr_size = ALIGN(sizeof(cpu_hdr));
570 dump_off + hdr_size);
576 hdr_size += kd->cpu_dsize;
581 kd->dump_off = dump_off + hdr_size;
607 return (hdr_size);
/netbsd-current/sys/modules/lua/
H A Dlua.c563 const size_t hdr_size = roundup(sizeof(alloc_header_t), 8); local
564 alloc_header_t *hdr = (alloc_header_t *) ((char *) ptr - hdr_size);
569 } else if (ptr != NULL && nsize <= hdr->size - hdr_size) /* shrinking */
575 size_t alloc_size = nsize + hdr_size;
581 nptr = (void *) ((char *) nhdr + hdr_size);
/netbsd-current/external/gpl3/gdb/dist/libsframe/
H A Dsframe.c1557 size_t hdr_size; local
1578 hdr_size = sframe_get_hdr_size (ehp);
1585 if ((contents == NULL) || (buf_size < hdr_size))
1603 contents += hdr_size + all_fdes_size;
1640 memcpy (contents, ehp, hdr_size);
1641 contents += hdr_size;
/netbsd-current/sbin/gpt/
H A Drecover.c105 hdr->hdr_crc_self = htole32(crc32(hdr, le32toh(hdr->hdr_size)));
H A Dgpt.c399 if (crc32(hdr, le32toh(hdr->hdr_size)) != crc) {
723 hdr->hdr_crc_self = htole32(crc32(hdr, le32toh(hdr->hdr_size)));
907 hdr->hdr_size = htole32(GPT_HDR_SIZE);
H A Drestore.c352 hdr->hdr_size = htole32(GPT_HDR_SIZE);
/netbsd-current/external/gpl3/binutils.old/dist/bfd/
H A Dbfd.c2709 bfd_size_type hdr_size;
2730 hdr_size = bfd_get_compression_header_size (ibfd, isec);
2731 if (hdr_size == 0)
2735 if (hdr_size == sizeof (Elf32_External_Chdr))
2706 bfd_size_type hdr_size; local
/netbsd-current/external/gpl3/binutils/dist/bfd/
H A Dbfd.c2654 bfd_size_type hdr_size;
2675 hdr_size = bfd_get_compression_header_size (ibfd, isec);
2676 if (hdr_size == 0)
2680 if (hdr_size == sizeof (Elf32_External_Chdr))
2651 bfd_size_type hdr_size; local
/netbsd-current/external/gpl3/gdb.old/dist/bfd/
H A Dbfd.c2721 bfd_size_type hdr_size;
2742 hdr_size = bfd_get_compression_header_size (ibfd, isec);
2743 if (hdr_size == 0)
2747 if (hdr_size == sizeof (Elf32_External_Chdr))
2718 bfd_size_type hdr_size; local
/netbsd-current/sys/arch/i386/stand/bootxx/
H A Dboot1.c242 if (le32toh(hdr->hdr_size) > BIOSDISK_DEFAULT_SECSIZE)
/netbsd-current/sys/sys/
H A Ddisklabel_gpt.h47 uint32_t hdr_size; /* size of GPT Header */ member in struct:gpt_hdr
/netbsd-current/external/gpl2/dtc/dist/
H A Dflattree.c22 int hdr_size; member in struct:version_info
331 reserve_off = FDTALIGN2(vi->hdr_size, 8);
406 blob = data_append_data(blob, &fdt, vi->hdr_size);
/netbsd-current/sbin/fdisk/
H A Dfdisk.c641 if (gpt1.hdr_size != 0 || gpt2.hdr_size != 0)
3044 || crc32(0, (void *)hdr, gptp->hdr_size) != gptp->hdr_crc_self) {
3049 if (v_flag && gptp->hdr_size != 0) {
3054 return gptp->hdr_size;
3067 if (gptp->hdr_size == 0)
/netbsd-current/usr.sbin/fstyp/
H A Dhammer_disk.h525 * out-of-band. hdr_size is the size of the whole mess, including the tail.
533 * case, containing only hdr_signature, hdr_type, and hdr_size fields,
584 uint32_t hdr_size; /* Aligned size of the whole mess */ member in struct:hammer_fifo_head
/netbsd-current/usr.bin/audio/play/
H A Dplay.c496 hdr_len = ntohl(sunhdr->hdr_size);
/netbsd-current/external/bsd/libarchive/dist/libarchive/
H A Darchive_read_support_format_rar5.c2175 size_t raw_hdr_size = 0, hdr_size_len, hdr_size; local
2202 hdr_size = raw_hdr_size + hdr_size_len;
2205 if(hdr_size > (2 * 1024 * 1024)) {
2214 hdr_size < SMALLEST_RAR5_BLOCK_SIZE)
2225 if(!read_ahead(a, hdr_size, &p)) {
2230 computed_crc = (uint32_t) crc32(0, p, (int) hdr_size);
2251 rar->generic.size = (int)hdr_size;

Completed in 381 milliseconds

12