Home
last modified time | relevance | path

Searched refs:Length (Results 1 – 25 of 182) sorted by relevance

12345678

/titanic_41/usr/src/uts/intel/io/acpica/executer/
H A Dexstorob.c71 UINT32 Length; in AcpiExStoreBufferToBuffer() local
88 Length = SourceDesc->Buffer.Length; in AcpiExStoreBufferToBuffer()
94 if ((TargetDesc->Buffer.Length == 0) || in AcpiExStoreBufferToBuffer()
97 TargetDesc->Buffer.Pointer = ACPI_ALLOCATE (Length); in AcpiExStoreBufferToBuffer()
103 TargetDesc->Buffer.Length = Length; in AcpiExStoreBufferToBuffer()
108 if (Length <= TargetDesc->Buffer.Length) in AcpiExStoreBufferToBuffer()
112 memset (TargetDesc->Buffer.Pointer, 0, TargetDesc->Buffer.Length); in AcpiExStoreBufferToBuffer()
113 memcpy (TargetDesc->Buffer.Pointer, Buffer, Length); in AcpiExStoreBufferToBuffer()
134 TargetDesc->Buffer.Length = Length; in AcpiExStoreBufferToBuffer()
143 TargetDesc->Buffer.Length); in AcpiExStoreBufferToBuffer()
[all …]
H A Dexfield.c82 UINT32 Length; in AcpiExGetSerialAccessLength() local
89 Length = 0; in AcpiExGetSerialAccessLength()
95 Length = 1; in AcpiExGetSerialAccessLength()
101 Length = 2; in AcpiExGetSerialAccessLength()
108 Length = AccessLength; in AcpiExGetSerialAccessLength()
115 Length = ACPI_GSBUS_BUFFER_SIZE - 2; in AcpiExGetSerialAccessLength()
119 return (Length); in AcpiExGetSerialAccessLength()
146 ACPI_SIZE Length; in AcpiExReadDataFromField() local
196 Length = ACPI_SMBUS_BUFFER_SIZE; in AcpiExReadDataFromField()
203 Length = AcpiExGetSerialAccessLength ( in AcpiExReadDataFromField()
[all …]
H A Dexoparg3.c181 ACPI_SIZE Length; in AcpiExOpcode_3A_1T_1R() local
206 Length = (ACPI_SIZE) Operand[2]->Integer.Value; in AcpiExOpcode_3A_1T_1R()
212 if (Index >= Operand[0]->String.Length) in AcpiExOpcode_3A_1T_1R()
214 Length = 0; in AcpiExOpcode_3A_1T_1R()
219 else if ((Index + Length) > Operand[0]->String.Length) in AcpiExOpcode_3A_1T_1R()
221 Length = in AcpiExOpcode_3A_1T_1R()
222 (ACPI_SIZE) Operand[0]->String.Length - (ACPI_SIZE) Index; in AcpiExOpcode_3A_1T_1R()
233 Buffer = ACPI_ALLOCATE_ZEROED ((ACPI_SIZE) Length + 1); in AcpiExOpcode_3A_1T_1R()
245 if (Length > 0) in AcpiExOpcode_3A_1T_1R()
249 Buffer = ACPI_ALLOCATE_ZEROED (Length); in AcpiExOpcode_3A_1T_1R()
[all …]
H A Dexconfig.c68 UINT32 Length,
216 if (Operand[3]->String.Length > 0) in AcpiExLoadTableOp()
232 if (Operand[4]->String.Length > 0) in AcpiExLoadTableOp()
317 UINT32 Length, in AcpiExRegionRead() argument
328 for (i = 0; i < Length; i++) in AcpiExRegionRead()
378 UINT32 Length; in AcpiExLoadOp() local
423 Length = TableHeader->Length; in AcpiExLoadOp()
433 if (Length < sizeof (ACPI_TABLE_HEADER)) in AcpiExLoadOp()
456 Table = ACPI_ALLOCATE (Length); in AcpiExLoadOp()
464 Status = AcpiExRegionRead (ObjDesc, Length, in AcpiExLoadOp()
[all …]
H A Dexoparg2.c286 ACPI_SIZE Length = 0; in AcpiExOpcode_2A_1T_1R() local
355 while ((Length < Operand[0]->Buffer.Length) && in AcpiExOpcode_2A_1T_1R()
356 (Length < Operand[1]->Integer.Value) && in AcpiExOpcode_2A_1T_1R()
357 (Operand[0]->Buffer.Pointer[Length])) in AcpiExOpcode_2A_1T_1R()
359 Length++; in AcpiExOpcode_2A_1T_1R()
364 ReturnDesc = AcpiUtCreateStringObject (Length); in AcpiExOpcode_2A_1T_1R()
376 Operand[0]->Buffer.Pointer, Length); in AcpiExOpcode_2A_1T_1R()
412 if (Index >= Operand[0]->String.Length) in AcpiExOpcode_2A_1T_1R()
414 Length = Operand[0]->String.Length; in AcpiExOpcode_2A_1T_1R()
425 if (Index >= Operand[0]->Buffer.Length) in AcpiExOpcode_2A_1T_1R()
[all …]
/titanic_41/usr/src/uts/intel/io/acpica/utilities/
H A Dutids.c78 UINT32 Length; in AcpiUtExecute_HID() local
96 Length = ACPI_EISAID_STRING_SIZE; in AcpiUtExecute_HID()
100 Length = ObjDesc->String.Length + 1; in AcpiUtExecute_HID()
106 sizeof (ACPI_PNP_DEVICE_ID) + (ACPI_SIZE) Length); in AcpiUtExecute_HID()
128 Hid->Length = Length; in AcpiUtExecute_HID()
166 UINT32 Length; in AcpiUtExecute_UID() local
184 Length = ACPI_MAX64_DECIMAL_DIGITS + 1; in AcpiUtExecute_UID()
188 Length = ObjDesc->String.Length + 1; in AcpiUtExecute_UID()
194 sizeof (ACPI_PNP_DEVICE_ID) + (ACPI_SIZE) Length); in AcpiUtExecute_UID()
216 Uid->Length = Length; in AcpiUtExecute_UID()
[all …]
H A Dutcopy.c164 ExternalObject->String.Length = InternalObject->String.Length; in AcpiUtCopyIsimpleToEsimple()
166 (ACPI_SIZE) InternalObject->String.Length + 1); in AcpiUtCopyIsimpleToEsimple()
170 (ACPI_SIZE) InternalObject->String.Length + 1); in AcpiUtCopyIsimpleToEsimple()
176 ExternalObject->Buffer.Length = InternalObject->Buffer.Length; in AcpiUtCopyIsimpleToEsimple()
178 InternalObject->String.Length); in AcpiUtCopyIsimpleToEsimple()
182 InternalObject->Buffer.Length); in AcpiUtCopyIsimpleToEsimple()
222 InternalObject->Processor.Length; in AcpiUtCopyIsimpleToEsimple()
325 Info->Length += ObjectSpace; in AcpiUtCopyIelementToEelement()
371 Info.Length = ACPI_ROUND_UP_TO_NATIVE_WORD (sizeof (ACPI_OBJECT)); in AcpiUtCopyIpackageToEpackage()
386 Info.Length += (ACPI_SIZE) ExternalObject->Package.Count * in AcpiUtCopyIpackageToEpackage()
[all …]
H A Dutprint.c109 UINT32 Length = 0; in AcpiUtBoundStringLength() local
114 Length++; in AcpiUtBoundStringLength()
119 return (Length); in AcpiUtBoundStringLength()
450 INT32 Length; in AcpiUtVsnprintf() local
590 Length = AcpiUtBoundStringLength (s, Precision); in AcpiUtVsnprintf()
593 while (Length < Width--) in AcpiUtVsnprintf()
599 for (i = 0; i < Length; ++i) in AcpiUtVsnprintf()
605 while (Length < Width--) in AcpiUtVsnprintf()
736 int Length; in AcpiUtSnprintf() local
740 Length = AcpiUtVsnprintf (String, Size, Format, Args); in AcpiUtSnprintf()
[all …]
H A Dutobject.c297 BufferDesc->Buffer.Length = (UINT32) BufferSize; in AcpiUtCreateBufferObject()
355 StringDesc->String.Length = (UINT32) StringSize; in AcpiUtCreateStringObject()
516 ACPI_SIZE Length; in AcpiUtGetSimpleObjectSize() local
526 Length = sizeof (ACPI_OBJECT); in AcpiUtGetSimpleObjectSize()
536 *ObjLength = ACPI_ROUND_UP_TO_NATIVE_WORD (Length); in AcpiUtGetSimpleObjectSize()
559 Length += (ACPI_SIZE) InternalObject->String.Length + 1; in AcpiUtGetSimpleObjectSize()
564 Length += (ACPI_SIZE) InternalObject->Buffer.Length; in AcpiUtGetSimpleObjectSize()
590 Length += ACPI_ROUND_UP_TO_NATIVE_WORD (Size); in AcpiUtGetSimpleObjectSize()
624 *ObjLength = ACPI_ROUND_UP_TO_NATIVE_WORD (Length); in AcpiUtGetSimpleObjectSize()
666 Info->Length += ObjectSpace; in AcpiUtGetElementLength()
[all …]
/titanic_41/usr/src/uts/intel/io/acpica/tables/
H A Dtbfadt.c84 UINT16 Length; member
342 UINT32 Length; in AcpiTbParseFadt() local
353 Length = AcpiGbl_RootTableList.Tables[AcpiGbl_FadtIndex].Length; in AcpiTbParseFadt()
356 AcpiGbl_RootTableList.Tables[AcpiGbl_FadtIndex].Address, Length); in AcpiTbParseFadt()
366 (void) AcpiTbVerifyChecksum (Table, Length); in AcpiTbParseFadt()
370 AcpiTbCreateLocalFadt (Table, Length); in AcpiTbParseFadt()
374 AcpiOsUnmapMemory (Table, Length); in AcpiTbParseFadt()
418 UINT32 Length) in AcpiTbCreateLocalFadt() argument
426 if (Length > sizeof (ACPI_TABLE_FADT)) in AcpiTbCreateLocalFadt()
431 Table->Revision, ACPI_FADT_CONFORMANCE, Length, in AcpiTbCreateLocalFadt()
[all …]
H A Dtbutils.c130 if (AcpiGbl_OriginalDsdtHeader.Length != AcpiGbl_DSDT->Length || in AcpiTbCheckDsdtHeader()
142 AcpiGbl_OriginalDsdtHeader.Length = AcpiGbl_DSDT->Length; in AcpiTbCheckDsdtHeader()
172 NewTable = ACPI_ALLOCATE (TableDesc->Length); in AcpiTbCopyDsdt()
176 TableDesc->Length)); in AcpiTbCopyDsdt()
180 memcpy (NewTable, TableDesc->Pointer, TableDesc->Length); in AcpiTbCopyDsdt()
190 NewTable->Length)); in AcpiTbCopyDsdt()
286 UINT32 Length; in AcpiTbParseRootTable() local
348 Length = Table->Length; in AcpiTbParseRootTable()
351 if (Length < (sizeof (ACPI_TABLE_HEADER) + TableEntrySize)) in AcpiTbParseRootTable()
354 "Invalid table length 0x%X in RSDT/XSDT", Length)); in AcpiTbParseRootTable()
[all …]
H A Dtbprint.c57 ACPI_SIZE Length);
82 ACPI_SIZE Length) in AcpiTbFixString() argument
85 while (Length && *String) in AcpiTbFixString()
93 Length--; in AcpiTbFixString()
154 Header->Length)); in AcpiTbPrintTableHeader()
167 ACPI_CAST_PTR (ACPI_TABLE_RSDP, Header)->Length : 20, in AcpiTbPrintTableHeader()
181 LocalHeader.Length, LocalHeader.Revision, LocalHeader.OemId, in AcpiTbPrintTableHeader()
205 UINT32 Length) in AcpiTbVerifyChecksum() argument
223 Checksum = AcpiTbChecksum (ACPI_CAST_PTR (UINT8, Table), Length); in AcpiTbVerifyChecksum()
260 UINT32 Length) in AcpiTbChecksum() argument
[all …]
/titanic_41/usr/src/lib/libkmf/mappers/kmf_mapper_cn/common/
H A Dmapper_cn.c114 if (oid->Length == KMFOID_CommonName.Length && in mapper_map_cert_to_name()
116 oid->Length) == 0) { in mapper_map_cert_to_name()
117 if ((cn = malloc(data->Length + 1)) == NULL) { in mapper_map_cert_to_name()
121 (void) memcpy(cn, data->Data, data->Length); in mapper_map_cert_to_name()
123 cn[data->Length] = '\0'; in mapper_map_cert_to_name()
124 name->Length = data->Length + 1; in mapper_map_cert_to_name()
159 mapped_name->Length = 0; in mapper_match_cert_to_name()
170 if (name_to_match->Data[name_to_match->Length - 1] != '\0') in mapper_match_cert_to_name()
172 if (name_to_match->Length != get_name.Length - 1) in mapper_match_cert_to_name()
182 (char *)get_name.Data, name_to_match->Length); in mapper_match_cert_to_name()
[all …]
/titanic_41/usr/src/cmd/acpi/acpidump/
H A Dtbprint.c57 ACPI_SIZE Length);
82 ACPI_SIZE Length) in AcpiTbFixString() argument
85 while (Length && *String) in AcpiTbFixString()
93 Length--; in AcpiTbFixString()
154 Header->Length)); in AcpiTbPrintTableHeader()
167 ACPI_CAST_PTR (ACPI_TABLE_RSDP, Header)->Length : 20, in AcpiTbPrintTableHeader()
181 LocalHeader.Length, LocalHeader.Revision, LocalHeader.OemId, in AcpiTbPrintTableHeader()
205 UINT32 Length) in AcpiTbVerifyChecksum() argument
223 Checksum = AcpiTbChecksum (ACPI_CAST_PTR (UINT8, Table), Length); in AcpiTbVerifyChecksum()
260 UINT32 Length) in AcpiTbChecksum() argument
[all …]
/titanic_41/usr/src/uts/intel/io/acpica/namespace/
H A Dnsnames.c207 UINT32 Length = 0, i; in AcpiNsBuildNormalizedPath() local
217 #define ACPI_PATH_PUT8(Path, Size, Byte, Length) \ in AcpiNsBuildNormalizedPath() argument
219 if ((Length) < (Size)) \ in AcpiNsBuildNormalizedPath()
221 (Path)[(Length)] = (Byte); \ in AcpiNsBuildNormalizedPath()
223 (Length)++; \ in AcpiNsBuildNormalizedPath()
245 ACPI_PATH_PUT8(FullPath, PathSize, AML_DUAL_NAME_PREFIX, Length); in AcpiNsBuildNormalizedPath()
259 ACPI_PATH_PUT8(FullPath, PathSize, c, Length); in AcpiNsBuildNormalizedPath()
266 ACPI_PATH_PUT8(FullPath, PathSize, AML_ROOT_PREFIX, Length); in AcpiNsBuildNormalizedPath()
270 if (Length <= PathSize) in AcpiNsBuildNormalizedPath()
273 Right = FullPath+Length - 1; in AcpiNsBuildNormalizedPath()
[all …]
H A Dnsconvert.c98 if (OriginalObject->Buffer.Length > 8) in AcpiNsConvertToInteger()
105 for (i = 0; i < OriginalObject->Buffer.Length; i++) in AcpiNsConvertToInteger()
147 ACPI_SIZE Length; in AcpiNsConvertToString() local
187 Length = 0; in AcpiNsConvertToString()
188 while ((Length < OriginalObject->Buffer.Length) && in AcpiNsConvertToString()
189 (OriginalObject->Buffer.Pointer[Length])) in AcpiNsConvertToString()
191 Length++; in AcpiNsConvertToString()
196 NewObject = AcpiUtCreateStringObject (Length); in AcpiNsConvertToString()
207 OriginalObject->Buffer.Pointer, Length); in AcpiNsConvertToString()
268 (OriginalObject->String.Length); in AcpiNsConvertToBuffer()
[all …]
/titanic_41/usr/src/cmd/lms/heci/
H A DPTHICommand.cpp117 } else if (response_size != (response_header.Length + sizeof(PTHI_MESSAGE_HEADER))) { in _verifyResponseHeader()
149 codeVerLen = response.Header.Header.Length - sizeof(AMT_STATUS); in _verifyCodeVersions()
159 len = response.CodeVersions.Versions[i].Description.Length; in _verifyCodeVersions()
167 len = response.CodeVersions.Versions[i].Version.Length; in _verifyCodeVersions()
437 policyName.Length = tmp_response->PolicyName.Length; in GetCurrentPowerPolicy()
438 policyName.Buffer = (CHAR *)malloc(policyName.Length * sizeof(CHAR)); in GetCurrentPowerPolicy()
443 policyName.Length * sizeof(CHAR)); in GetCurrentPowerPolicy()
463 ULONG ByteCount = response.Header.Header.Length; in _verifyCurrentPowerPolicy()
466 + response.PolicyName.Length)) in _verifyCurrentPowerPolicy()
626 ULONG ByteCount = response.Header.Header.Length; in _verifyGetDNSSuffixList()
[all …]
/titanic_41/usr/src/uts/intel/io/acpica/disassembler/
H A Ddmresrcs.c72 UINT32 Length, in AcpiDmIrqDescriptor() argument
78 AcpiGbl_IrqDecode [ACPI_GET_1BIT_FLAG (Length)]); in AcpiDmIrqDescriptor()
82 if (Length & 1) in AcpiDmIrqDescriptor()
119 UINT32 Length, in AcpiDmDmaDescriptor() argument
158 UINT32 Length, in AcpiDmFixedDmaDescriptor() argument
204 UINT32 Length, in AcpiDmIoDescriptor() argument
251 UINT32 Length, in AcpiDmFixedIoDescriptor() argument
291 UINT32 Length, in AcpiDmStartDependentDescriptor() argument
297 if (Length & 1) in AcpiDmStartDependentDescriptor()
332 UINT32 Length, in AcpiDmEndDependentDescriptor() argument
[all …]
H A Ddmresrcl2.c58 UINT32 Length,
65 UINT32 Length,
72 UINT32 Length,
84 UINT32 Length,
117 UINT32 Length, in AcpiDmDumpRawDataBuffer() argument
125 if (!Length) in AcpiDmDumpRawDataBuffer()
130 AcpiOsPrintf ("RawDataBuffer (0x%.2X) // Vendor Data", Length); in AcpiDmDumpRawDataBuffer()
137 for (i = 0; i < Length;) in AcpiDmDumpRawDataBuffer()
142 if (Index >= Length) in AcpiDmDumpRawDataBuffer()
148 if ((Index + 1) >= Length) in AcpiDmDumpRawDataBuffer()
[all …]
H A Ddmresrcl.c100 UINT32 Length);
594 UINT32 Length, in AcpiDmWordDescriptor() argument
609 AcpiDmResourceSource (Resource, sizeof (AML_RESOURCE_ADDRESS16), Length); in AcpiDmWordDescriptor()
641 UINT32 Length, in AcpiDmDwordDescriptor() argument
656 AcpiDmResourceSource (Resource, sizeof (AML_RESOURCE_ADDRESS32), Length); in AcpiDmDwordDescriptor()
688 UINT32 Length, in AcpiDmQwordDescriptor() argument
703 AcpiDmResourceSource (Resource, sizeof (AML_RESOURCE_ADDRESS64), Length); in AcpiDmQwordDescriptor()
735 UINT32 Length, in AcpiDmExtendedDescriptor() argument
785 UINT32 Length, in AcpiDmMemory24Descriptor() argument
826 UINT32 Length, in AcpiDmMemory32Descriptor() argument
[all …]
/titanic_41/usr/src/uts/intel/io/acpica/resources/
H A Drsmisc.c106 Resource, Resource->Type, Resource->Length)); in AcpiRsConvertAmlToResource()
135 Resource->Length = INIT_RESOURCE_LENGTH (Info); in AcpiRsConvertAmlToResource()
175 Resource->Length = Resource->Length + in AcpiRsConvertAmlToResource()
184 Resource->Length = Resource->Length + in AcpiRsConvertAmlToResource()
193 Resource->Length = Resource->Length + ItemCount; in AcpiRsConvertAmlToResource()
203 Resource->Length = Resource->Length + (Info->Value * ItemCount); in AcpiRsConvertAmlToResource()
228 Resource->Length = Resource->Length + ItemCount; in AcpiRsConvertAmlToResource()
236 Resource->Length = Resource->Length + ItemCount; in AcpiRsConvertAmlToResource()
246 Resource->Length = Resource->Length + ItemCount; in AcpiRsConvertAmlToResource()
252 Resource->Length = Resource->Length + Info->Value; in AcpiRsConvertAmlToResource()
[all …]
H A Drsdump.c88 UINT16 Length,
93 UINT16 Length,
98 UINT8 Length,
103 UINT8 Length,
170 if (!ResourceList->Length) in AcpiRsDumpResourceList()
235 for (Count = 0; PrtElement->Length; Count++) in AcpiRsDumpIrqList()
241 PrtElement, PrtElement->Length); in AcpiRsDumpIrqList()
613 UINT16 Length, in AcpiRsDumpByteList() argument
619 for (i = 0; i < Length; i++) in AcpiRsDumpByteList()
627 UINT8 Length, in AcpiRsDumpShortByteList() argument
[all …]
H A Drscreate.c171 AmlBufferLength = AmlBuffer->Buffer.Length; in ACPI_EXPORT_SYMBOL()
207 OutputBuffer->Pointer, (UINT32) OutputBuffer->Length)); in ACPI_EXPORT_SYMBOL()
294 Buffer += UserPrt->Length; in AcpiRsCreatePciRoutingTable()
302 UserPrt->Length = (sizeof (ACPI_PCI_ROUTING_TABLE) - 4); in AcpiRsCreatePciRoutingTable()
369 PathBuffer.Length = OutputBuffer->Length - in AcpiRsCreatePciRoutingTable()
379 UserPrt->Length += (UINT32) strlen (UserPrt->Source) + 1; in AcpiRsCreatePciRoutingTable()
390 UserPrt->Length += ObjDesc->String.Length + 1; in AcpiRsCreatePciRoutingTable()
400 UserPrt->Length += sizeof (UINT32); in AcpiRsCreatePciRoutingTable()
414 UserPrt->Length = (UINT32) ACPI_ROUND_UP_TO_64BIT (UserPrt->Length); in AcpiRsCreatePciRoutingTable()
435 OutputBuffer->Pointer, (UINT32) OutputBuffer->Length)); in AcpiRsCreatePciRoutingTable()
[all …]
/titanic_41/usr/src/lib/libkmf/ber_der/common/
H A Dclasn1.c37 algoid->parameters.Length == 0) { in encode_algoid()
46 algoid->parameters.Length, 0); in encode_algoid()
63 data->Length = 0; in free_data()
267 algoid->algorithm.Length = algoid_data.bv_len; in get_algoid()
269 algoid->parameters.Length = 0; in get_algoid()
279 algoid->algorithm.Length = AlgOID.bv_len; in get_algoid()
285 algoid->parameters.Length = 0; in get_algoid()
289 algoid->parameters.Length = 0; in get_algoid()
313 algoid->parameters.Length = size; in get_algoid()
327 if (src && dst && src->Data != NULL && src->Length > 0) { in CopyData()
[all …]
/titanic_41/usr/src/cmd/acpi/common/
H A Dutprint.c109 UINT32 Length = 0; in AcpiUtBoundStringLength() local
114 Length++; in AcpiUtBoundStringLength()
119 return (Length); in AcpiUtBoundStringLength()
450 INT32 Length; in AcpiUtVsnprintf() local
590 Length = AcpiUtBoundStringLength (s, Precision); in AcpiUtVsnprintf()
593 while (Length < Width--) in AcpiUtVsnprintf()
599 for (i = 0; i < Length; ++i) in AcpiUtVsnprintf()
605 while (Length < Width--) in AcpiUtVsnprintf()
736 int Length; in AcpiUtSnprintf() local
740 Length = AcpiUtVsnprintf (String, Size, Format, Args); in AcpiUtSnprintf()
[all …]

12345678