Searched refs:hdrsize (Results 1 - 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioFile.cc71 hdrsize(0), seekpos(0), origlen(0.), mapaddr(0), maplen(0),
82 hdrsize(0), seekpos(0), origlen(0.), mapaddr(0), maplen(0),
186 hdrsize = lseek(desc, (off_t)0, SEEK_CUR);
187 if (hdrsize < 0) {
331 hdrsize = (off_t)lseek(desc, (off_t)0, SEEK_CUR);
332 if (hdrsize < 0) {
399 (lseek(getfd(), (off_t)0, SEEK_END) - hdrsize)) {
420 hdrsize = 0;
465 if ((offset + hdrsize) >= maplen) {
470 } else if ((offset + hdrsize
[all...]
H A Dfilehdr.c981 int hdrsize; local
994 hdrsize = sizeof (fhdr) + ilen;
995 offset = ROUND_DBL(hdrsize);
1111 if (offset > hdrsize) {
1112 (void) memset(&buf[hdrsize], '\0', (size_t)(offset - hdrsize));
/illumos-gate/usr/src/lib/libtnf/
H A Darray.c103 hdr_size = base->hdrsize;
125 hdr_size = base->hdrsize;
188 return (DATUM_VAL(datum) + base->hdrsize);
204 return ((caddr_t)(DATUM_VAL(datum) + base->hdrsize));
H A Dabi.c104 size_t size, hdrsize; local
110 hdrsize = _tnf_get_header_size(tnf, base_tag);
111 return (((size - hdrsize) / eltsize));
114 hdrsize = sizeof (struct tnf_array_hdr);
115 return (((size - hdrsize) / eltsize));
128 size_t hdrsize; local
132 hdrsize = _tnf_get_header_size(tnf, base_tag);
133 return ((caddr_t)((char *)array + hdrsize));
H A Dinfo.c310 info->hdrsize = _tnf_get_header_size(tnf, tag);
312 if (info->hdrsize != sizeof (struct tnf_array_hdr))
H A Dlibtnf.h77 size_t hdrsize; /* array header size */ member in struct:taginfo
/illumos-gate/usr/src/uts/common/sys/1394/adapters/
H A Dhci1394_q.h360 hci1394_basic_pkt_t *hdr, uint_t hdrsize, int *result);
362 hci1394_basic_pkt_t *hdr, uint_t hdrsize, uint8_t *data, uint_t datasize,
365 hci1394_basic_pkt_t *hdr, uint_t hdrsize, h1394_mblk_t *mblk, int *result);
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_dfs.c398 uint16_t entsize, rep_bufsize, hdrsize;
406 hdrsize = (ver == DFS_REFERRAL_V3) ? DFS_REFV3_ENTSZ : DFS_REFV4_ENTSZ;
409 entsize = hdrsize + dfs_pathsz + dfs_pathsz +
423 path_offs = (referrals->i_ntargets - r) * hdrsize;
429 entsize = hdrsize + targetsz;
440 ver, hdrsize, server_type, flags,
/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_q.c65 uint_t hdrsize);
68 uint_t hdrsize);
576 hci1394_basic_pkt_t *hdr, uint_t hdrsize, int *result)
624 hci1394_q_at_write_OLI(q_handle, &q_handle->q_desc, cmd, hdr, hdrsize);
667 hci1394_basic_pkt_t *hdr, uint_t hdrsize, uint8_t *data, uint_t datasize,
736 hci1394_q_at_write_OMI(q_handle, &q_handle->q_desc, cmd, hdr, hdrsize);
765 hci1394_basic_pkt_t *hdr, uint_t hdrsize, h1394_mblk_t *mblk, int *result)
834 hci1394_q_at_write_OMI(q_handle, &q_handle->q_desc, cmd, hdr, hdrsize);
951 hci1394_q_cmd_t *cmd, hci1394_basic_pkt_t *hdr, uint_t hdrsize)
965 ASSERT((hdrsize
575 hci1394_q_at(hci1394_q_handle_t q_handle, hci1394_q_cmd_t *cmd, hci1394_basic_pkt_t *hdr, uint_t hdrsize, int *result) argument
666 hci1394_q_at_with_data(hci1394_q_handle_t q_handle, hci1394_q_cmd_t *cmd, hci1394_basic_pkt_t *hdr, uint_t hdrsize, uint8_t *data, uint_t datasize, int *result) argument
764 hci1394_q_at_with_mblk(hci1394_q_handle_t q_handle, hci1394_q_cmd_t *cmd, hci1394_basic_pkt_t *hdr, uint_t hdrsize, h1394_mblk_t *mblk, int *result) argument
950 hci1394_q_at_write_OMI(hci1394_q_handle_t q_handle, hci1394_q_buf_t *qbuf, hci1394_q_cmd_t *cmd, hci1394_basic_pkt_t *hdr, uint_t hdrsize) argument
1009 hci1394_q_at_write_OLI(hci1394_q_handle_t q_handle, hci1394_q_buf_t *qbuf, hci1394_q_cmd_t *cmd, hci1394_basic_pkt_t *hdr, uint_t hdrsize) argument
[all...]
/illumos-gate/usr/src/cmd/audio/include/
H A DAudioFile.h72 off_t hdrsize; // length of file header member in class:AudioFile
/illumos-gate/usr/src/uts/common/syscall/
H A Dacctctl.c155 size_t hdrsize; local
237 hdr = exacct_create_header(&hdrsize);
248 kmem_free(hdr, hdrsize);
256 kmem_free(hdr, hdrsize);
284 kmem_free(hdr, hdrsize);
301 error = exacct_write_header(info, hdr, hdrsize);
304 kmem_free(hdr, hdrsize);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dsa.c552 int hdrsize; local
567 hdrsize = (SA_BONUSTYPE_FROM_DB(db) == DMU_OT_ZNODE) ? 0 :
592 P2ROUNDUP(hdrsize + sizeof (uint16_t), 8) +
601 hdrsize += sizeof (uint16_t);
620 *total + P2ROUNDUP(hdrsize, 8) >
625 if (*total + P2ROUNDUP(hdrsize, 8) > full_space &&
631 hdrsize -= extra_hdrsize;
633 hdrsize = P2ROUNDUP(hdrsize, 8);
634 return (hdrsize);
656 int hdrsize; local
[all...]
H A Dzfs_vfsops.c594 int hdrsize; local
619 hdrsize = sa_hdrsize(&sa);
620 VERIFY3U(hdrsize, >=, sizeof (sa_hdr_phys_t));
621 *userp = *((uint64_t *)((uintptr_t)data + hdrsize +
623 *groupp = *((uint64_t *)((uintptr_t)data + hdrsize +
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_sched.c1497 size_t hdrsize; local
1570 hdrsize = sizeof (struct ether_vlan_header);
1581 hdrsize = sizeof (struct ether_header);
1594 hdrsize = mhi.mhi_hdrsize;
1639 ipha = (ipha_t *)(mp->b_rptr + hdrsize);
1659 mp->b_rptr += hdrsize;
1663 mp->b_rptr += hdrsize;
1706 uint32_t sap, size_t hdrsize, enum pkt_type *type, uint_t *indx)
1719 ASSERT(MBLKL(mp) >= hdrsize);
1733 ip6h = (ip6_t *)(mp->b_rptr + hdrsize);
1705 mac_rx_srs_long_fanout(mac_soft_ring_set_t *mac_srs, mblk_t *mp, uint32_t sap, size_t hdrsize, enum pkt_type *type, uint_t *indx) argument
1904 size_t hdrsize; local
4383 size_t hdrsize; local
[all...]
H A Dmac_protect.c1614 get_l3_info(mblk_t *mp, size_t hdrsize, uchar_t **start, uchar_t **end, argument
1624 s = mp->b_rptr + hdrsize;
1637 mp->b_rptr += hdrsize;
1639 mp->b_rptr -= hdrsize;
1933 size_t hdrsize = mhip->mhi_hdrsize; local
1939 err = get_l3_info(mp, hdrsize, &start, &end, &nmp);
2120 size_t hdrsize = mhip->mhi_hdrsize; local
2126 err = get_l3_info(mp, hdrsize, &start, &end, &nmp);
/illumos-gate/usr/src/uts/common/fs/dcfs/
H A Ddc_vnops.c929 size_t hdrsize, bsize; local
961 hdrsize = hdr->ch_blkmap[0] + sizeof (uint64_t);
962 hdr = kmem_alloc(hdrsize, KM_SLEEP);
963 error = vn_rdwr(UIO_READ, vp, (caddr_t)hdr, hdrsize, 0, UIO_SYSSPACE,
966 kmem_free(hdr, hdrsize);
981 ndp->dc_hdrsize = hdrsize;
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Dgprof.c1535 size_t hdrsize; local
1593 hdrsize = Bflag ? sizeof (struct hdr) : sizeof (struct hdr32);
1619 tmp.ncnt = hdrsize + l_hdr64.hd_psize;
1643 tmp.ncnt = hdrsize + l_hdr.hd_psize;
1695 sampbytes = h.ncnt > hdrsize ? h.ncnt - hdrsize : 0;
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_dialog.c811 int hdrsize; local
822 hdrsize = len + strlen(SIP_TO) + SIP_SPACE_LEN + sizeof (char) +
825 hdrsize = len + strlen(SIP_FROM) + SIP_SPACE_LEN +
828 newhdr = sip_new_header(hdrsize);
832 cnt = snprintf(newhdr->sip_hdr_current, hdrsize + 1,
835 cnt = snprintf(newhdr->sip_hdr_current, hdrsize + 1,
/illumos-gate/usr/src/boot/sys/boot/zfs/
H A Dzfsimpl.c2147 int hdrsize; local
2170 hdrsize = SA_HDR_SIZE(sahdrp);
2171 sb->st_mode = *(uint64_t *)((char *)sahdrp + hdrsize +
2173 sb->st_uid = *(uint64_t *)((char *)sahdrp + hdrsize +
2175 sb->st_gid = *(uint64_t *)((char *)sahdrp + hdrsize +
2177 sb->st_size = *(uint64_t *)((char *)sahdrp + hdrsize +
/illumos-gate/usr/src/lib/gss_mechs/mech_spnego/mech/
H A Dspnego_mech.c3732 int hdrsize; local
3741 hdrsize = 1 + gssint_der_length_size(mech->length) + mech->length;
3748 hdrsize += 1 + gssint_der_length_size(body_size + hdrsize);
3750 return (hdrsize + body_size);
3767 unsigned int hdrsize; local
3770 hdrsize = 1 + gssint_der_length_size(mech->length) + mech->length;
3773 if ((ret = gssint_put_der_length(hdrsize + body_size, buf, totallen)))
/illumos-gate/usr/src/uts/sun4/os/
H A Dddi_impl.c1083 size_t hdrsize = 4 * sizeof (size_t); /* must be power of 2 */ local
1085 align = MAX(align, hdrsize);
1090 * rsize = size + hdrsize + align - MIN(hdrsize, buffer_alignment)
1100 rsize = size + hdrsize + align;
1113 addr = (size_t *)P2ROUNDUP((uintptr_t)raddr + hdrsize, align);
/illumos-gate/usr/src/cmd/sgs/ar/common/
H A Dfile.c1555 size_t hdrsize = sizeof (struct ar_hdr); local
1562 sum += hdrsize;
1577 fptr->ar_padding = pad(psum + sum + hdrsize, PADSZ);
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c1779 int hdrsize; local
1802 hdrsize = SA_HDR_SIZE(sahdrp);
1803 filemax = *(uint64_t *)((char *)sahdrp + hdrsize +
/illumos-gate/usr/src/uts/i86pc/os/
H A Dddi_impl.c1413 size_t hdrsize = 4 * sizeof (size_t); /* must be power of 2 */ local
1421 align = MAX(align, hdrsize);
1492 addr = (size_t *)P2ROUNDUP((uintptr_t)raddr + hdrsize, align);
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dmalloc.c1353 int hdrsize; local

Completed in 192 milliseconds

12