Home
last modified time | relevance | path

Searched refs:hdrsize (Results 1 – 25 of 27) sorted by relevance

12

/titanic_50/usr/src/cmd/audio/utilities/
H A DAudioFile.cc71 hdrsize(0), seekpos(0), origlen(0.), mapaddr(0), maplen(0), in AudioFile()
82 hdrsize(0), seekpos(0), origlen(0.), mapaddr(0), maplen(0), in AudioFile()
186 hdrsize = lseek(desc, (off_t)0, SEEK_CUR); in createfile()
187 if (hdrsize < 0) { in createfile()
331 hdrsize = (off_t)lseek(desc, (off_t)0, SEEK_CUR); in tryopen()
332 if (hdrsize < 0) { in tryopen()
399 (lseek(getfd(), (off_t)0, SEEK_END) - hdrsize)) { in Close()
420 hdrsize = 0; in Close()
465 if ((offset + hdrsize) >= maplen) { in ReadData()
470 } else if ((offset + hdrsize + cnt) > maplen) { in ReadData()
[all …]
H A Dfilehdr.c981 int hdrsize; in audio_encode_au() local
994 hdrsize = sizeof (fhdr) + ilen; in audio_encode_au()
995 offset = ROUND_DBL(hdrsize); in audio_encode_au()
1111 if (offset > hdrsize) { in audio_encode_au()
1112 (void) memset(&buf[hdrsize], '\0', (size_t)(offset - hdrsize)); in audio_encode_au()
/titanic_50/usr/src/lib/libtnf/
H A Darray.c103 hdr_size = base->hdrsize; in tnf_get_element_count()
125 hdr_size = base->hdrsize; in tnf_get_element()
188 return (DATUM_VAL(datum) + base->hdrsize); in tnf_get_chars()
204 return ((caddr_t)(DATUM_VAL(datum) + base->hdrsize)); in tnf_get_elements()
H A Dabi.c104 size_t size, hdrsize; in _tnf_get_element_count() local
110 hdrsize = _tnf_get_header_size(tnf, base_tag); in _tnf_get_element_count()
111 return (((size - hdrsize) / eltsize)); in _tnf_get_element_count()
114 hdrsize = sizeof (struct tnf_array_hdr); in _tnf_get_element_count()
115 return (((size - hdrsize) / eltsize)); in _tnf_get_element_count()
128 size_t hdrsize; in _tnf_get_elements() local
132 hdrsize = _tnf_get_header_size(tnf, base_tag); in _tnf_get_elements()
133 return ((caddr_t)((char *)array + hdrsize)); in _tnf_get_elements()
H A Dinfo.c310 info->hdrsize = _tnf_get_header_size(tnf, tag); in init_array_info()
312 if (info->hdrsize != sizeof (struct tnf_array_hdr)) in init_array_info()
H A Dlibtnf.h77 size_t hdrsize; /* array header size */ member
/titanic_50/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) in hci1394_q_at() argument
624 hci1394_q_at_write_OLI(q_handle, &q_handle->q_desc, cmd, hdr, hdrsize); in hci1394_q_at()
667 hci1394_basic_pkt_t *hdr, uint_t hdrsize, uint8_t *data, uint_t datasize, in hci1394_q_at_with_data() argument
736 hci1394_q_at_write_OMI(q_handle, &q_handle->q_desc, cmd, hdr, hdrsize); in hci1394_q_at_with_data()
765 hci1394_basic_pkt_t *hdr, uint_t hdrsize, h1394_mblk_t *mblk, int *result) in hci1394_q_at_with_mblk() argument
834 hci1394_q_at_write_OMI(q_handle, &q_handle->q_desc, cmd, hdr, hdrsize); in hci1394_q_at_with_mblk()
951 hci1394_q_cmd_t *cmd, hci1394_basic_pkt_t *hdr, uint_t hdrsize) in hci1394_q_at_write_OMI() argument
965 ASSERT((hdrsize == 8) || (hdrsize == 16)); in hci1394_q_at_write_OMI()
[all …]
/titanic_50/usr/src/uts/common/fs/smbsrv/
H A Dsmb_dfs.c398 uint16_t entsize, rep_bufsize, hdrsize; in smb_dfs_encode_refv3x()
406 hdrsize = (ver == DFS_REFERRAL_V3) ? DFS_REFV3_ENTSZ : DFS_REFV4_ENTSZ; in smb_dfs_encode_refv3x()
409 entsize = hdrsize + dfs_pathsz + dfs_pathsz + in smb_dfs_encode_refv3x()
423 path_offs = (referrals->i_ntargets - r) * hdrsize; in smb_dfs_encode_refv3x()
429 entsize = hdrsize + targetsz; in smb_dfs_encode_refv3x()
440 ver, hdrsize, server_type, flags, in smb_dfs_encode_refv3x()
/titanic_50/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);
/titanic_50/usr/src/uts/common/syscall/
H A Dacctctl.c155 size_t hdrsize; in ac_file_set() local
237 hdr = exacct_create_header(&hdrsize); in ac_file_set()
248 kmem_free(hdr, hdrsize); in ac_file_set()
256 kmem_free(hdr, hdrsize); in ac_file_set()
284 kmem_free(hdr, hdrsize); in ac_file_set()
301 error = exacct_write_header(info, hdr, hdrsize); in ac_file_set()
304 kmem_free(hdr, hdrsize); in ac_file_set()
/titanic_50/usr/src/uts/common/fs/zfs/
H A Dsa.c552 int hdrsize; in sa_find_sizes() local
567 hdrsize = (SA_BONUSTYPE_FROM_DB(db) == DMU_OT_ZNODE) ? 0 : in sa_find_sizes()
592 P2ROUNDUP(hdrsize + sizeof (uint16_t), 8) + in sa_find_sizes()
601 hdrsize += sizeof (uint16_t); in sa_find_sizes()
620 *total + P2ROUNDUP(hdrsize, 8) > in sa_find_sizes()
625 if (*total + P2ROUNDUP(hdrsize, 8) > full_space && in sa_find_sizes()
631 hdrsize -= extra_hdrsize; in sa_find_sizes()
633 hdrsize = P2ROUNDUP(hdrsize, 8); in sa_find_sizes()
634 return (hdrsize); in sa_find_sizes()
656 int hdrsize; in sa_build_layouts() local
[all …]
H A Dzfs_vfsops.c623 int hdrsize; in zfs_space_delta_cb() local
648 hdrsize = sa_hdrsize(&sa); in zfs_space_delta_cb()
649 VERIFY3U(hdrsize, >=, sizeof (sa_hdr_phys_t)); in zfs_space_delta_cb()
650 *userp = *((uint64_t *)((uintptr_t)data + hdrsize + in zfs_space_delta_cb()
652 *groupp = *((uint64_t *)((uintptr_t)data + hdrsize + in zfs_space_delta_cb()
/titanic_50/usr/src/uts/common/io/mac/
H A Dmac_sched.c1497 size_t hdrsize; in mac_rx_srs_proto_fanout() local
1570 hdrsize = sizeof (struct ether_vlan_header); in mac_rx_srs_proto_fanout()
1581 hdrsize = sizeof (struct ether_header); in mac_rx_srs_proto_fanout()
1594 hdrsize = mhi.mhi_hdrsize; in mac_rx_srs_proto_fanout()
1639 ipha = (ipha_t *)(mp->b_rptr + hdrsize); in mac_rx_srs_proto_fanout()
1659 mp->b_rptr += hdrsize; in mac_rx_srs_proto_fanout()
1663 mp->b_rptr += hdrsize; in mac_rx_srs_proto_fanout()
1706 uint32_t sap, size_t hdrsize, enum pkt_type *type, uint_t *indx) in mac_rx_srs_long_fanout() argument
1719 ASSERT(MBLKL(mp) >= hdrsize); in mac_rx_srs_long_fanout()
1733 ip6h = (ip6_t *)(mp->b_rptr + hdrsize); in mac_rx_srs_long_fanout()
[all …]
H A Dmac_protect.c1614 get_l3_info(mblk_t *mp, size_t hdrsize, uchar_t **start, uchar_t **end, in get_l3_info() argument
1624 s = mp->b_rptr + hdrsize; in get_l3_info()
1637 mp->b_rptr += hdrsize; in get_l3_info()
1639 mp->b_rptr -= hdrsize; in get_l3_info()
1933 size_t hdrsize = mhip->mhi_hdrsize; in ipnospoof_check() local
1939 err = get_l3_info(mp, hdrsize, &start, &end, &nmp); in ipnospoof_check()
2120 size_t hdrsize = mhip->mhi_hdrsize; in dhcpnospoof_check() local
2126 err = get_l3_info(mp, hdrsize, &start, &end, &nmp); in dhcpnospoof_check()
/titanic_50/usr/src/uts/common/fs/dcfs/
H A Ddc_vnops.c929 size_t hdrsize, bsize; in decompvp() local
961 hdrsize = hdr->ch_blkmap[0] + sizeof (uint64_t); in decompvp()
962 hdr = kmem_alloc(hdrsize, KM_SLEEP); in decompvp()
963 error = vn_rdwr(UIO_READ, vp, (caddr_t)hdr, hdrsize, 0, UIO_SYSSPACE, in decompvp()
966 kmem_free(hdr, hdrsize); in decompvp()
981 ndp->dc_hdrsize = hdrsize; in decompvp()
/titanic_50/usr/src/cmd/audio/include/
H A DAudioFile.h72 off_t hdrsize; // length of file header variable
/titanic_50/usr/src/cmd/sgs/gprof/common/
H A Dgprof.c1535 size_t hdrsize; in openpfile() local
1593 hdrsize = Bflag ? sizeof (struct hdr) : sizeof (struct hdr32); in openpfile()
1619 tmp.ncnt = hdrsize + l_hdr64.hd_psize; in openpfile()
1643 tmp.ncnt = hdrsize + l_hdr.hd_psize; in openpfile()
1695 sampbytes = h.ncnt > hdrsize ? h.ncnt - hdrsize : 0; in openpfile()
/titanic_50/usr/src/lib/libsip/common/
H A Dsip_dialog.c811 int hdrsize; in sip_dlg_xchg_from_to() local
822 hdrsize = len + strlen(SIP_TO) + SIP_SPACE_LEN + sizeof (char) + in sip_dlg_xchg_from_to()
825 hdrsize = len + strlen(SIP_FROM) + SIP_SPACE_LEN + in sip_dlg_xchg_from_to()
828 newhdr = sip_new_header(hdrsize); in sip_dlg_xchg_from_to()
832 cnt = snprintf(newhdr->sip_hdr_current, hdrsize + 1, in sip_dlg_xchg_from_to()
835 cnt = snprintf(newhdr->sip_hdr_current, hdrsize + 1, in sip_dlg_xchg_from_to()
/titanic_50/usr/src/uts/sun4/os/
H A Dddi_impl.c1083 size_t hdrsize = 4 * sizeof (size_t); /* must be power of 2 */ in kalloca() local
1085 align = MAX(align, hdrsize); in kalloca()
1100 rsize = size + hdrsize + align; in kalloca()
1113 addr = (size_t *)P2ROUNDUP((uintptr_t)raddr + hdrsize, align); in kalloca()
/titanic_50/usr/src/lib/gss_mechs/mech_spnego/mech/
H A Dspnego_mech.c3732 int hdrsize; in g_token_size() local
3741 hdrsize = 1 + gssint_der_length_size(mech->length) + mech->length; in g_token_size()
3748 hdrsize += 1 + gssint_der_length_size(body_size + hdrsize); in g_token_size()
3750 return (hdrsize + body_size); in g_token_size()
3767 unsigned int hdrsize; in g_make_token_header() local
3770 hdrsize = 1 + gssint_der_length_size(mech->length) + mech->length; in g_make_token_header()
3773 if ((ret = gssint_put_der_length(hdrsize + body_size, buf, totallen))) in g_make_token_header()
/titanic_50/usr/src/cmd/sgs/ar/common/
H A Dfile.c1555 size_t hdrsize = sizeof (struct ar_hdr); in sizeofmembers() local
1562 sum += hdrsize; in sizeofmembers()
1577 fptr->ar_padding = pad(psum + sum + hdrsize, PADSZ); in sizeofmembers()
/titanic_50/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c1779 int hdrsize; in zfs_open() local
1802 hdrsize = SA_HDR_SIZE(sahdrp); in zfs_open()
1803 filemax = *(uint64_t *)((char *)sahdrp + hdrsize + in zfs_open()
/titanic_50/usr/src/uts/common/inet/ip/
H A Digmp.c1895 size_t hdrsize, size, rsize; in igmpv3_sendrpt() local
1907 hdrsize = sizeof (ipha_t) + RTRALERT_LEN; in igmpv3_sendrpt()
1909 size = hdrsize + sizeof (igmp3ra_t); in igmpv3_sendrpt()
2009 igmp3ra->igmp3ra_cksum = IP_CSUM(mp, hdrsize, 0); in igmpv3_sendrpt()
/titanic_50/usr/src/uts/i86pc/os/
H A Dddi_impl.c1414 size_t hdrsize = 4 * sizeof (size_t); /* must be power of 2 */ in kalloca() local
1422 align = MAX(align, hdrsize); in kalloca()
1493 addr = (size_t *)P2ROUNDUP((uintptr_t)raddr + hdrsize, align); in kalloca()
/titanic_50/usr/src/lib/libbc/libc/gen/common/
H A Dmalloc.c1353 int hdrsize; in malloc_verify() local

12