Home
last modified time | relevance | path

Searched refs:hdr (Results 1 – 25 of 508) sorted by relevance

12345678910>>...21

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Darc.c875 hdr = hdr->b_hash_next) { in buf_hash_find()
914 if (HDR_EQUAL(hdr->b_spa, &hdr->b_dva, hdr->b_birth, fhdr)) in buf_hash_insert()
1796 arc_hdr_size(hdr), hdr); in arc_hdr_decrypt()
1805 arc_free_data_buf(hdr, cabd, arc_hdr_size(hdr), hdr); in arc_hdr_decrypt()
2128 arc_hdr_size(hdr), hdr); in arc_evictable_space_increment()
2168 arc_hdr_size(hdr), hdr); in arc_evictable_space_decrement()
3098 hdr->b_l1hdr.b_pabd = arc_get_data_abd(hdr, size, hdr, in arc_hdr_alloc_pabd()
7902 arc_free_data_abd(hdr, eabd, arc_hdr_size(hdr), hdr); in l2arc_untransform()
7917 arc_free_data_abd(hdr, eabd, arc_hdr_size(hdr), hdr); in l2arc_untransform()
7937 arc_free_data_abd(hdr, cabd, arc_hdr_size(hdr), hdr); in l2arc_untransform()
[all …]
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Deftread.c97 if (fread(&hdr, 1, sizeof (hdr), fp) < sizeof (hdr)) { in eftread_fopen()
102 hdr.magic = ntohl(hdr.magic); in eftread_fopen()
103 hdr.major = ntohs(hdr.major); in eftread_fopen()
104 hdr.minor = ntohs(hdr.minor); in eftread_fopen()
105 hdr.cmajor = ntohs(hdr.cmajor); in eftread_fopen()
106 hdr.cminor = ntohs(hdr.cminor); in eftread_fopen()
108 hdr.dictlen = ntohl(hdr.dictlen); in eftread_fopen()
109 hdr.csum = ntohl(hdr.csum); in eftread_fopen()
113 fname, hdr.magic, hdr.major, hdr.minor, in eftread_fopen()
114 hdr.cmajor, hdr.cminor); in eftread_fopen()
[all …]
H A Deftwrite.c103 struct eftheader hdr; in eftwrite() local
121 bzero(&hdr, sizeof (hdr)); in eftwrite()
153 hdr.magic = htonl(hdr.magic); in eftwrite()
154 hdr.major = htons(hdr.major); in eftwrite()
155 hdr.minor = htons(hdr.minor); in eftwrite()
156 hdr.cmajor = htons(hdr.cmajor); in eftwrite()
157 hdr.cminor = htons(hdr.cminor); in eftwrite()
158 hdr.identlen = htonl(hdr.identlen); in eftwrite()
159 hdr.dictlen = htonl(hdr.dictlen); in eftwrite()
160 hdr.csum = htonl(hdr.csum); in eftwrite()
[all …]
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_parse_generic.c518 while (hdr->sip_hdr_current < hdr->sip_hdr_end) { in sip_parse_hdr_parser1()
560 hdr->sip_hdr_current--; in sip_parse_hdr_parser1()
565 hdr->sip_hdr_current = t; in sip_parse_hdr_parser1()
611 hdr->sip_hdr_current--; in sip_parse_hdr_parser1()
739 while (hdr->sip_hdr_current < hdr->sip_hdr_end) { in sip_parse_hdr_parser3()
789 (hdr); in sip_parse_hdr_parser3()
875 hdr->sip_hdr_current--; in sip_parse_hdr_parser3()
899 hdr->sip_hdr_current--; in sip_parse_hdr_parser3()
1070 hdr->sip_hdr_current++; in sip_parse_hdr_parser5()
1086 hdr->sip_hdr_current++; in sip_parse_hdr_parser5()
[all …]
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dgpt.c81 hdr->hdr_crc_table = crc32(hdr->hdr_crc_table, table, in gptupdate()
82 hdr->hdr_entries * hdr->hdr_entsz); in gptupdate()
84 hdr->hdr_crc_self = crc32(hdr->hdr_crc_self, hdr, hdr->hdr_size); in gptupdate()
86 bcopy(hdr, secbuf, hdr->hdr_size); in gptupdate()
195 bcopy(secbuf, hdr, sizeof (*hdr)); in gptread_hdr()
196 if (bcmp(hdr->hdr_sig, GPT_HDR_SIG, sizeof (hdr->hdr_sig)) != 0 || in gptread_hdr()
205 if (crc32(hdr->hdr_crc_self, hdr, hdr->hdr_size) != crc) { in gptread_hdr()
272 hdr->hdr_crc_table = crc32(hdr->hdr_crc_table, table, in gptbootconv()
273 hdr->hdr_entries * hdr->hdr_entsz); in gptbootconv()
275 hdr->hdr_crc_self = crc32(hdr->hdr_crc_self, hdr, hdr->hdr_size); in gptbootconv()
[all …]
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSDAAdvert.java49 SDAAdvert(SrvLocHeader hdr, in SDAAdvert() argument
61 this.hdr = (SrvLocHeader)hdr.clone(); in SDAAdvert()
69 this.hdr.xid = xid; in SDAAdvert()
71 this.hdr.mcast = false; in SDAAdvert()
74 this.hdr.overflow = false; in SDAAdvert()
75 this.hdr.length = 0; in SDAAdvert()
76 this.hdr.fresh = false; in SDAAdvert()
92 SLPServerHeaderV2 hdr = (SLPServerHeaderV2)this.hdr; in initialize() local
117 hdr.scopes = (Vector)scopes; in initialize()
206 hdr.nbytes += 1; in initialize()
[all …]
H A DSSrvMsg.java81 hdr.getString(buf, dis); in initialize()
99 hdr.getString(buf, dis); in initialize()
101 hdr.scopes = hdr.parseCommaSeparatedListIn(buf.toString(), true); in initialize()
119 hdr.unescapeScopeStrings(hdr.scopes); in initialize()
121 DATable.validateScopes(hdr.scopes, hdr.locale); in initialize()
127 hdr.getString(buf, dis); in initialize()
133 hdr.getString(buf, dis); in initialize()
152 SLPServerHeaderV2 hdr = in makeReply() local
166 hdr.putInt(n, baos); in makeReply()
206 hdr.overflow = true; in makeReply()
[all …]
H A DCSrvTypeMsg.java62 super(hdr, SrvLocHeader.SrvTypeRply); in CSrvTypeMsg()
72 if (hdr.overflow) { in CSrvTypeMsg()
79 hdr.getString(buf, dis); in CSrvTypeMsg()
111 SLPHeaderV2 hdr = in CSrvTypeMsg() local
113 this.hdr = hdr; in CSrvTypeMsg()
114 hdr.scopes = (Vector)scopes.clone(); in CSrvTypeMsg()
151 hdr.escapeScopeStrings(scopes); in CSrvTypeMsg()
157 hdr.payload = baos.toByteArray(); in CSrvTypeMsg()
171 hdr.putInt(0, baos); in parseNamingAuthorityOut()
174 hdr.putInt(0xFFFF, baos); in parseNamingAuthorityOut()
[all …]
H A DSLPV1SAttrMsg.java60 super(hdr, dis); in SLPV1SAttrMsg()
70 msg.hdr = hdr; in makeEmptyReply()
90 hdr.getString(buf, dis); in initialize()
115 hdr.getString(buf, dis); in initialize()
119 hdr.validateScope(scope); in initialize()
128 hdr.scopes = new Vector(); in initialize()
129 hdr.scopes.addElement(scope); in initialize()
133 hdr.getString(buf, dis); in initialize()
162 hdr.charCode); in initialize()
199 this.hdr.scopes); in makeReply()
[all …]
H A DCAttrMsg.java62 super(hdr, SrvLocHeader.AttrRply); in CAttrMsg()
73 if (hdr.overflow) { in CAttrMsg()
91 hdr.iNumReplies = attrList.size(); in CAttrMsg()
126 SLPHeaderV2 hdr = (SLPHeaderV2)this.hdr; in constructPayload() local
127 hdr.scopes = (Vector)scopes.clone(); in constructPayload()
131 hdr.previousResponders = new Vector(); in constructPayload()
137 hdr.putString(typeOrURL, baos); in constructPayload()
141 hdr.escapeScopeStrings(scopes); in constructPayload()
149 hdr.escapeTags(tags); in constructPayload()
165 hdr.putString(spi, baos); in constructPayload()
[all …]
H A DSSrvTypeMsg.java57 super(hdr, SrvLocHeader.SrvTypeRqst); in SSrvTypeMsg()
73 hdr.parsePreviousRespondersIn(dis); in initialize()
92 hdr.parseScopesIn(dis); in initialize()
96 hdr.constructDescription("SrvTypeRqst", in initialize()
111 len = hdr.getInt(dis); in parseNamingAuthorityIn()
127 hdr.nbytes += len; in parseNamingAuthorityIn()
146 SLPServerHeaderV2 hdr = in makeReply() local
149 hdr.iNumReplies = typeNames.size(); in makeReply()
157 hdr.payload = baos.toByteArray(); in makeReply()
161 hdr.constructDescription("SrvTypeRply", in makeReply()
[all …]
H A DSLPV1SSrvTypeMsg.java57 super(hdr, dis); in SLPV1SSrvTypeMsg()
69 hdr.parsePreviousRespondersIn(dis); in initialize()
73 namingAuthority = parseNamingAuthorityIn(hdr, dis, hdr.charCode); in initialize()
86 hdr.getString(buf, dis); in initialize()
90 hdr.validateScope(scope); in initialize()
99 hdr.scopes = new Vector(); in initialize()
100 hdr.scopes.addElement(scope); in initialize()
115 SLPHeaderV1 hdr = in makeReply() local
136 hdr.iNumReplies = typeNames.size(); in makeReply()
140 hdr.payload = baos.toByteArray(); in makeReply()
[all …]
H A DSSAAdvert.java62 hdr = new SLPServerHeaderV2(); in SSAAdvert()
64 Assert.slpassert(hdr != null, in SSAAdvert()
68 hdr.functionCode = SrvLocHeader.SAAdvert; in SSAAdvert()
69 hdr.xid = xid; in SSAAdvert()
70 hdr.locale = locale; in SSAAdvert()
95 DATable.validateScopes(scopes, hdr.locale); in initialize()
96 hdr.scopes = (Vector)scopes.clone(); in initialize()
100 hdr.escapeScopeStrings(scopes); in initialize()
160 hdr.nbytes++; in initialize()
171 hdr.payload = baos.toByteArray(); in initialize()
[all …]
H A DCDAAdvert.java61 super(hdr, SrvLocHeader.DAAdvert); in CDAAdvert()
78 timestamp = getInt32(hdr, dis, tsBytes); in initialize()
94 hdr.scopes = hdr.parseCommaSeparatedListIn(buf.toString(), true); in initialize()
98 hdr.unescapeScopeStrings(hdr.scopes); in initialize()
102 DATable.validateScopes(hdr.scopes, hdr.locale); in initialize()
119 hdr.putInteger(urlBytes.length, abaos); in initialize()
124 hdr.putInteger(attrBytes.length, abaos); in initialize()
134 hdr.putInteger(spiBytes.length, abaos); in initialize()
178 hdr.iNumReplies = 1; in initialize()
204 hdr.nbytes += 4; in getInt32()
[all …]
H A DCSrvMsg.java60 super(hdr, SrvLocHeader.SrvRply); in CSrvMsg()
73 parseServiceURLsIn(hdr, dis); in CSrvMsg()
83 int i, n = hdr.getInt(dis); in parseServiceURLsIn()
107 hdr.iNumReplies = serviceURLs.size(); in parseServiceURLsIn()
133 this.hdr = hdr; in initialize()
134 hdr.scopes = (Vector)scopes.clone(); in initialize()
138 hdr.previousResponders = new Vector(); in initialize()
146 hdr.escapeScopeStrings(scopes); in initialize()
168 hdr.putString(query, baos); in initialize()
172 hdr.putString(spi, baos); in initialize()
[all …]
H A DSLPV1CDAAdvert.java56 super(hdr, dis); in SLPV1CDAAdvert()
67 SLPHeaderV1 hdr = (SLPHeaderV1)getHeader(); in initialize() local
71 hdr.errCode = (short)hdr.getInt(dis); in initialize()
75 if (hdr.errCode != ServiceLocationException.OK) { in initialize()
82 hdr.parseServiceURLIn(dis, in initialize()
103 hdr.getString(buf, dis); in initialize()
105 hdr.scopes = hdr.parseCommaSeparatedListIn(buf.toString(), true); in initialize()
109 int i, n = hdr.scopes.size(); in initialize()
127 hdr.scopes.size() == 0) { in initialize()
128 hdr.scopes.addElement(Defaults.DEFAULT_SCOPE); in initialize()
[all …]
H A DSAttrMsg.java64 super(hdr, SrvLocHeader.AttrRqst); in SAttrMsg()
80 hdr.parsePreviousRespondersIn(dis); in initialize()
84 hdr.getString(buf, dis); in initialize()
108 hdr.parseScopesIn(dis); in initialize()
112 hdr.getString(buf, dis); in initialize()
118 hdr.unescapeTags(tags); in initialize()
122 hdr.getString(buf, dis); in initialize()
144 SLPServerHeaderV2 hdr = in makeReply() local
147 hdr.iNumReplies = attrs.size(); in makeReply()
164 hdr.payload = baos.toByteArray(); in makeReply()
[all …]
H A DRequestHandler.java620 hdr = rply.getHeader(); in handleRequest()
700 SrvLocHeader hdr = null; in internalize() local
713 if (hdr == null) { in internalize()
750 hdr.parseOptions(dis); in internalize()
766 hdr != null) { in internalize()
824 boolean mcast = hdr.mcast; in dispatch()
845 hdr.scopes}); in dispatch()
1152 hdr = rply.getHeader(); in dispatchSrvType()
1205 hdr = rply.getHeader(); in dispatchAttr()
1256 hdr = rply.getHeader(); in dispatchSrv()
[all …]
H A DCSAAdvert.java58 super(hdr, SrvLocHeader.SAAdvert); in CSAAdvert()
64 byte[] urlBytes = hdr.getString(buf, dis); in CSAAdvert()
95 byte[] scopeBytes = hdr.getString(buf, dis); in CSAAdvert()
97 hdr.scopes = in CSAAdvert()
102 hdr.unescapeScopeStrings(hdr.scopes); in CSAAdvert()
106 DATable.validateScopes(hdr.scopes, hdr.locale); in CSAAdvert()
118 hdr.putInteger(urlBytes.length, abaos); in CSAAdvert()
123 hdr.putInteger(attrBytes.length, abaos); in CSAAdvert()
128 hdr.putInteger(scopeBytes.length, abaos); in CSAAdvert()
134 authBlock = hdr.parseSignatureIn(message, dis); in CSAAdvert()
[all …]
H A DSLPServerHeaderV2.java209 SrvLocHeader hdr = null; in makeErrorReply() local
226 hdr.fresh = false; in makeErrorReply()
227 hdr.overflow = false; in makeErrorReply()
258 return hdr; in makeErrorReply()
277 hdr.length = 0; in makeReplyHeader()
279 hdr.scopes = null; in makeReplyHeader()
280 hdr.overflow = false; in makeReplyHeader()
281 hdr.fresh = false; in makeReplyHeader()
282 hdr.mcast = false; in makeReplyHeader()
283 hdr.nbytes = 0; in makeReplyHeader()
[all …]
/illumos-gate/usr/src/tools/onbld/Checks/
H A DHdrChk.py135 def err(stream, msg, hdr): argument
136 if not hdr.eof:
138 (hdr.filename, hdr.lineno, msg))
211 line = hdr.getline()
244 line = hdr.getline()
267 line = hdr.getline()
269 line = hdr.getline()
272 hdr)
287 line = hdr.getline()
289 line = hdr.getline()
[all …]
/illumos-gate/usr/src/cmd/audio/audioconvert/
H A Dparse.cc106 AudioHdr& hdr) in audioformat_parse() argument
112 hdr.channels = 2; in audioformat_parse()
113 hdr.encoding = LINEAR; in audioformat_parse()
115 hdr.bytes_per_unit = 2; in audioformat_parse()
118 hdr.channels = 2; in audioformat_parse()
119 hdr.encoding = LINEAR; in audioformat_parse()
121 hdr.bytes_per_unit = 2; in audioformat_parse()
123 hdr.sample_rate = 8000; in audioformat_parse()
124 hdr.channels = 1; in audioformat_parse()
125 hdr.encoding = ULAW; in audioformat_parse()
[all …]
/illumos-gate/usr/src/lib/libmlrpc/common/
H A Dndr_marshal.c176 ndr_common_header_t hdr; in ndr_buf_decode() local
314 if ((hdr->rpc_vers != 5) || (hdr->rpc_vers_minor != 0)) in ndr_decode_pdu_hdr()
321 nds->pdu_body_size = hdr->frag_length - hdr->auth_length - in ndr_decode_pdu_hdr()
325 if (hdr->auth_length != 0 && hdr->auth_length > in ndr_decode_pdu_hdr()
372 ptype = hdr->ptype; in ndr_decode_hdr_common()
460 nds->pdu_body_size = hdr->frag_length - hdr->auth_length - in ndr_decode_frag_hdr()
485 char *hdr; in ndr_remove_frag_hdr() local
505 if (hdr == NULL) { in ndr_show_hdr()
522 hdr->rpc_vers, hdr->rpc_vers_minor, hdr->ptype, in ndr_show_hdr()
523 fragtype, hdr->pfc_flags, hdr->frag_length, hdr->auth_length); in ndr_show_hdr()
[all …]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dntlmssp.c229 } hdr; in ntlmssp_put_type1() local
237 mb2.mb_count = sizeof (hdr); in ntlmssp_put_type1()
263 hdr.h_flags = ssp_st->ss_flags; in ntlmssp_put_type1()
303 } hdr; in ntlmssp_get_type2() local
326 bzero(&hdr, sizeof (hdr)); in ntlmssp_get_type2()
340 ssp_st->ss_flags = hdr.h_flags; in ntlmssp_get_type2()
354 (hdr.h_target_name.sb_offset >= sizeof (hdr))) { in ntlmssp_get_type2()
376 if (hdr.h_target_info.sb_offset >= sizeof (hdr)) { in ntlmssp_get_type2()
410 } hdr; in ntlmssp_put_type3() local
421 bzero(&hdr, sizeof (hdr)); in ntlmssp_put_type3()
[all …]
/illumos-gate/usr/src/uts/common/krtld/
H A Dbootrd_cpio.c208 if (!get_uint64(hdr->dev, sizeof (hdr->dev), &stat->st_dev)) in parse_stat()
210 if (!get_uint64(hdr->ino, sizeof (hdr->ino), &stat->st_ino)) in parse_stat()
212 if (!get_uint32(hdr->mode, sizeof (hdr->mode), &stat->st_mode)) in parse_stat()
214 if (!get_int32(hdr->uid, sizeof (hdr->uid), &stat->st_uid)) in parse_stat()
216 if (!get_int32(hdr->gid, sizeof (hdr->gid), &stat->st_gid)) in parse_stat()
220 if (!get_uint64(hdr->rdev, sizeof (hdr->rdev), &stat->st_rdev)) in parse_stat()
255 if ((hdr->magic[0] != '0') || (hdr->magic[1] != '7') || in scan_archive_hdr()
256 (hdr->magic[2] != '0') || (hdr->magic[3] != '7') || in scan_archive_hdr()
257 (hdr->magic[4] != '0') || (hdr->magic[5] != '7')) in scan_archive_hdr()
291 file->hdr = hdr; in scan_archive_hdr()
[all …]

12345678910>>...21