Searched refs:hdrsz (Results 1 – 8 of 8) sorted by relevance
/freebsd/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_open.c | 725 size_t size, hdrsz; in ctf_bufopen() local 764 hdrsz = sizeof (ctf_header_t); in ctf_bufopen() 801 if ((base = ctf_data_alloc(size + hdrsz)) == MAP_FAILED) in ctf_bufopen() 804 bcopy(ctfsect->cts_data, base, hdrsz); in ctf_bufopen() 806 buf = (uchar_t *)base + hdrsz; in ctf_bufopen() 808 src = (uchar_t *)ctfsect->cts_data + hdrsz; in ctf_bufopen() 809 srclen = ctfsect->cts_size - hdrsz; in ctf_bufopen() 814 ctf_data_free(base, size + hdrsz); in ctf_bufopen() 821 ctf_data_free(base, size + hdrsz); in ctf_bufopen() 825 ctf_data_protect(base, size + hdrsz); in ctf_bufopen() [all …]
|
/freebsd/sys/kern/ |
H A D | kern_dump.c | 292 size_t hdrsz; in dumpsys_generic() local 327 hdrsz = ehdr.e_phoff + ehdr.e_phnum * ehdr.e_phentsize; in dumpsys_generic() 328 fileofs = MD_ALIGN(hdrsz); in dumpsys_generic() 330 hdrgap = fileofs - roundup2((off_t)hdrsz, di->blocksize); in dumpsys_generic()
|
H A D | kern_shutdown.c | 1574 size_t hdrsz; in dump_write_headers() 1579 hdrsz = sizeof(*kdh); in dump_write_headers() 1580 if (hdrsz > di->blocksize) in dump_write_headers() 1597 if (hdrsz == di->blocksize) in dump_write_headers() 1602 memcpy(buf, kdh, hdrsz); in dump_write_headers() 1571 size_t hdrsz; dump_write_headers() local
|
/freebsd/contrib/elftoolchain/libelf/ |
H A D | libelf_convert.m4 | 841 size_t sz, hdrsz; 846 hdrsz = 4 * sizeof(uint32_t); /* Header is 4x32 bits. */ 847 if (dsz < hdrsz || srcsz < sizeof(Elf_GNU_Hash_Header)) 859 dsz -= hdrsz; 929 size_t sz, hdrsz; 934 hdrsz = 3 * sizeof(uint32_t); 935 if (count < hdrsz) /* Source too small. */ 944 while (count > hdrsz) { 963 count -= hdrsz;
|
/freebsd/usr.sbin/makefs/zfs/ |
H A D | fs.c | 365 size_t bonussz, hdrsz; in fs_populate_sattrs() local 466 hdrsz = sizeof(uint64_t); in fs_populate_sattrs() 470 hdrsz = sizeof(uint64_t) * 2; in fs_populate_sattrs() 478 SA_HDR_LAYOUT_INFO_ENCODE(sahdr->sa_layout_info, layout, hdrsz); in fs_populate_sattrs()
|
/freebsd/sys/netipsec/ |
H A D | ipsec.h | 139 uint16_t hdrsz; member
|
/freebsd/sys/netpfil/pf/ |
H A D | pflow.c | 524 pflow_calc_mtu(struct pflow_softc *sc, int mtu, int hdrsz) in pflow_calc_mtu() argument 528 sc->sc_maxcount4 = (mtu - hdrsz - in pflow_calc_mtu() 530 sc->sc_maxcount6 = (mtu - hdrsz - in pflow_calc_mtu() 532 sc->sc_maxcount_nat4 = (mtu - hdrsz - in pflow_calc_mtu() 545 return (hdrsz + sizeof(struct udpiphdr) + min); in pflow_calc_mtu()
|
/freebsd/sys/dev/qat_c2xxx/ |
H A D | qat_hw15.c | 110 uint8_t hdrsz, uint8_t hwblksz, uint16_t comn_req_flags, uint32_t flow_id) in qat_msg_cmn_hdr_populate() argument 116 hdr->content_desc_hdr_sz = hdrsz; in qat_msg_cmn_hdr_populate()
|