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

/freebsd-9.3-release/sys/boot/common/
H A Dgpt.c83 hdr->hdr_crc_self = crc32(hdr, hdr->hdr_size);
85 bcopy(hdr, secbuf, hdr->hdr_size);
204 if (crc32(hdr, hdr->hdr_size) != crc) {
272 hdr->hdr_crc_self = crc32(hdr, hdr->hdr_size);
274 bcopy(hdr, secbuf, hdr->hdr_size);
H A Dpart.c155 sz = le32toh(hdr->hdr_size);
283 hdr.hdr_size != phdr->hdr_size ||
/freebsd-9.3-release/sys/ofed/drivers/infiniband/core/
H A Duser_mad.c153 static int hdr_size(struct ib_umad_file *file) function
233 packet->mad.hdr.length = hdr_size(file) + mad_recv_wc->mad_len;
273 count < hdr_size(file) + packet->length) ||
275 count < hdr_size(file) + sizeof (*recv_buf->mad)))
278 if (copy_to_user(buf, &packet->mad, hdr_size(file)))
281 buf += hdr_size(file);
291 if (count < hdr_size(file) + packet->length) {
311 return hdr_size(file) + packet->length;
317 ssize_t size = hdr_size(file) + packet->length;
322 if (copy_to_user(buf, &packet->mad, hdr_size(fil
[all...]
H A Dmad_rmpp.c431 int hdr_size, data_size, pad; local
435 hdr_size = ib_get_mad_data_offset(rmpp_mad->mad_hdr.mgmt_class);
436 data_size = sizeof(struct ib_rmpp_mad) - hdr_size;
441 return hdr_size + rmpp_recv->seg_num * data_size - pad;
/freebsd-9.3-release/lib/libdisk/
H A Dwrite_ia64_disk.c179 hdr[0].hdr_size = offsetof(struct gpt_hdr, padding);
323 hdr[0].hdr_crc_self = crc32(&hdr[0], hdr[0].hdr_size);
327 hdr[1].hdr_crc_self = crc32(&hdr[1], hdr[1].hdr_size);
/freebsd-9.3-release/sys/geom/part/
H A Dg_part_gpt.c391 sz = le32toh(buf->hdr_size);
397 hdr->hdr_size = sz;
531 pri->hdr_size == sec->hdr_size &&
633 table->hdr->hdr_size = offsetof(struct gpt_hdr, padding);
1089 le32enc(buf + 12, table->hdr->hdr_size);
1120 crc = crc32(buf, table->hdr->hdr_size);
1142 crc = crc32(buf, table->hdr->hdr_size);
/freebsd-9.3-release/sys/dev/qlxge/
H A Dqls_dump.h46 uint32_t hdr_size; member in struct:qls_mpid_glbl_hdr
H A Dqls_dump.c1610 mpi_dump->mpi_global_header.hdr_size =
/freebsd-9.3-release/sys/sys/
H A Dgpt.h39 uint32_t hdr_size; member in struct:gpt_hdr
56 * header in field hdr_size, or otherwise use offsetof().
/freebsd-9.3-release/contrib/dtc/
H A Dflattree.c35 int hdr_size; member in struct:version_info
347 reserve_off = ALIGN(vi->hdr_size, 8);
415 blob = data_append_data(blob, &fdt, vi->hdr_size);
/freebsd-9.3-release/contrib/binutils/ld/
H A Dldexp.c485 bfd_vma hdr_size = 0; local
489 hdr_size = bfd_sizeof_headers (output_bfd, &link_info);
490 new_abs (hdr_size);
/freebsd-9.3-release/sys/dev/ixgbe/
H A Dixgbe_common.c4321 u32 hdr_size = sizeof(struct ixgbe_hic_hdr); local
4373 dword_len = hdr_size >> 2;
4386 if (length < (buf_len + hdr_size)) {
/freebsd-9.3-release/sys/dev/bwi/
H A Dif_bwi.c2387 bus_addr_t paddr, int hdr_size, int ndesc)
2399 val = __SHIFTIN(hdr_size, BWI_RX32_CTRL_HDRSZ_MASK) |
2386 bwi_init_rxdesc_ring32(struct bwi_softc *sc, uint32_t ctrl_base, bus_addr_t paddr, int hdr_size, int ndesc) argument

Completed in 123 milliseconds