Home
last modified time | relevance | path

Searched refs:Granularity (Results 1 – 21 of 21) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DASanStackFrameLayout.cpp40 static uint64_t VarAndRedzoneSize(uint64_t Size, uint64_t Granularity, in VarAndRedzoneSize() argument
49 return alignTo(std::max(Res, 2 * Granularity), Alignment); in VarAndRedzoneSize()
54 uint64_t Granularity, uint64_t MinHeaderSize) { in ComputeASanStackFrameLayout() argument
55 assert(Granularity >= 8 && Granularity <= 64 && in ComputeASanStackFrameLayout()
56 (Granularity & (Granularity - 1)) == 0); in ComputeASanStackFrameLayout()
58 MinHeaderSize >= Granularity); in ComputeASanStackFrameLayout()
67 Layout.Granularity = Granularity; in ComputeASanStackFrameLayout()
68 Layout.FrameAlignment = std::max(Granularity, Vars[0].Alignment); in ComputeASanStackFrameLayout()
70 std::max(std::max(MinHeaderSize, Granularity), Vars[0].Alignment); in ComputeASanStackFrameLayout()
71 assert((Offset % Granularity) == 0); in ComputeASanStackFrameLayout()
[all …]
/freebsd/sys/contrib/dev/acpica/components/resources/
H A Drsaddr.c188 {ACPI_RSC_MOVE16, ACPI_RS_OFFSET (Data.Address16.Address.Granularity),
189 AML_OFFSET (Address16.Granularity),
228 {ACPI_RSC_MOVE32, ACPI_RS_OFFSET (Data.Address32.Address.Granularity),
229 AML_OFFSET (Address32.Granularity),
268 {ACPI_RSC_MOVE64, ACPI_RS_OFFSET (Data.Address64.Address.Granularity),
269 AML_OFFSET (Address64.Granularity),
314 {ACPI_RSC_MOVE64, ACPI_RS_OFFSET (Data.ExtAddress64.Address.Granularity),
315 AML_OFFSET (ExtAddress64.Granularity),
H A Drsdumpinfo.c272 …{ACPI_RSD_UINT16, ACPI_RSD_OFFSET (Address16.Address.Granularity), "Granularity", …
285 …{ACPI_RSD_UINT32, ACPI_RSD_OFFSET (Address32.Address.Granularity), "Granularity", …
298 …{ACPI_RSD_UINT64, ACPI_RSD_OFFSET (Address64.Address.Granularity), "Granularity", …
311 …{ACPI_RSD_UINT64, ACPI_RSD_OFFSET (ExtAddress64.Address.Granularity), "Granularity", …
H A Drsxface.c172 ACPI_COPY_FIELD(Out, In, Address.Granularity); \
/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/
H A DMemory.inc111 size_t Granularity = DefaultGranularity;
116 Granularity = LargePageGranularity;
119 size_t NumBlocks = (NumBytes + Granularity - 1) / Granularity;
127 if (Start && Start % Granularity != 0)
128 Start += Granularity - Start % Granularity;
132 size_t AllocSize = NumBlocks * Granularity;
/freebsd/sys/contrib/dev/acpica/compiler/
H A Daslresource.c323 UINT64 Granularity, in RsLargeAddressCheck() argument
351 if (!Minimum && !Maximum && !Length && !Granularity) in RsLargeAddressCheck()
378 if (Granularity) in RsLargeAddressCheck()
380 if ((Granularity + 1) & in RsLargeAddressCheck()
381 Granularity) in RsLargeAddressCheck()
402 if (Granularity & Length) in RsLargeAddressCheck()
412 if (Granularity != 0) in RsLargeAddressCheck()
456 if (Granularity & Minimum) in RsLargeAddressCheck()
466 if (Granularity & (Maximum + 1)) in RsLargeAddressCheck()
H A Daslrestype2e.c250 Descriptor->ExtAddress64.Granularity = InitializerOp->Asl.Value.Integer; in RsDoExtendedIoDescriptor()
252 CurrentByteOffset + ASL_RESDESC_OFFSET (ExtAddress64.Granularity)); in RsDoExtendedIoDescriptor()
328 Descriptor->ExtAddress64.Granularity, in RsDoExtendedIoDescriptor()
430 Descriptor->ExtAddress64.Granularity = InitializerOp->Asl.Value.Integer; in RsDoExtendedMemoryDescriptor()
432 CurrentByteOffset + ASL_RESDESC_OFFSET (ExtAddress64.Granularity)); in RsDoExtendedMemoryDescriptor()
509 Descriptor->ExtAddress64.Granularity, in RsDoExtendedMemoryDescriptor()
608 Descriptor->ExtAddress64.Granularity = InitializerOp->Asl.Value.Integer; in RsDoExtendedSpaceDescriptor()
610 CurrentByteOffset + ASL_RESDESC_OFFSET (ExtAddress64.Granularity)); in RsDoExtendedSpaceDescriptor()
672 Descriptor->ExtAddress64.Granularity, in RsDoExtendedSpaceDescriptor()
H A Daslrestype2w.c259 Descriptor->Address16.Granularity = (UINT16) InitializerOp->Asl.Value.Integer; in RsDoWordIoDescriptor()
261 CurrentByteOffset + ASL_RESDESC_OFFSET (Address16.Granularity)); in RsDoWordIoDescriptor()
378 (UINT64) Descriptor->Address16.Granularity, in RsDoWordIoDescriptor()
473 Descriptor->Address16.Granularity = in RsDoWordBusNumberDescriptor()
476 CurrentByteOffset + ASL_RESDESC_OFFSET (Address16.Granularity)); in RsDoWordBusNumberDescriptor()
583 (UINT64) Descriptor->Address16.Granularity, in RsDoWordBusNumberDescriptor()
655 Descriptor->Address32.Granularity = 0x0; in RsDoWordPccDescriptor()
738 (UINT64) Descriptor->Address32.Granularity, in RsDoWordPccDescriptor()
844 Descriptor->Address16.Granularity = in RsDoWordSpaceDescriptor()
847 CurrentByteOffset + ASL_RESDESC_OFFSET (Address16.Granularity)); in RsDoWordSpaceDescriptor()
[all …]
H A Daslrestype2q.c259 Descriptor->Address64.Granularity = InitializerOp->Asl.Value.Integer; in RsDoQwordIoDescriptor()
261 CurrentByteOffset + ASL_RESDESC_OFFSET (Address64.Granularity)); in RsDoQwordIoDescriptor()
378 Descriptor->Address64.Granularity, in RsDoQwordIoDescriptor()
487 Descriptor->Address64.Granularity = InitializerOp->Asl.Value.Integer; in RsDoQwordMemoryDescriptor()
489 CurrentByteOffset + ASL_RESDESC_OFFSET (Address64.Granularity)); in RsDoQwordMemoryDescriptor()
607 Descriptor->Address64.Granularity, in RsDoQwordMemoryDescriptor()
679 Descriptor->Address32.Granularity = 0x0; in RsDoQwordPccDescriptor()
762 (UINT64) Descriptor->Address32.Granularity, in RsDoQwordPccDescriptor()
868 Descriptor->Address64.Granularity = InitializerOp->Asl.Value.Integer; in RsDoQwordSpaceDescriptor()
870 CurrentByteOffset + ASL_RESDESC_OFFSET (Address64.Granularity)); in RsDoQwordSpaceDescriptor()
[all …]
H A Daslrestype2d.c230 Descriptor->Address32.Granularity = 0x0; in RsDoDwordPccDescriptor()
313 (UINT64) Descriptor->Address32.Granularity, in RsDoDwordPccDescriptor()
415 Descriptor->Address32.Granularity = in RsDoDwordIoDescriptor()
418 CurrentByteOffset + ASL_RESDESC_OFFSET (Address32.Granularity)); in RsDoDwordIoDescriptor()
543 (UINT64) Descriptor->Address32.Granularity, in RsDoDwordIoDescriptor()
653 Descriptor->Address32.Granularity = in RsDoDwordMemoryDescriptor()
656 CurrentByteOffset + ASL_RESDESC_OFFSET (Address32.Granularity)); in RsDoDwordMemoryDescriptor()
778 (UINT64) Descriptor->Address32.Granularity, in RsDoDwordMemoryDescriptor()
884 Descriptor->Address32.Granularity = in RsDoDwordSpaceDescriptor()
887 CurrentByteOffset + ASL_RESDESC_OFFSET (Address32.Granularity)); in RsDoDwordSpaceDescriptor()
[all …]
H A Daslcompiler.h1379 UINT64 Granularity,
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DASanStackFrameLayout.h45 uint64_t Granularity; // Shadow granularity. member
54 uint64_t Granularity,
/freebsd/sys/contrib/dev/acpica/include/
H A Damlresrc.h450 UINT64 Granularity; member
466 UINT64 Granularity; member
479 UINT32 Granularity; member
492 UINT16 Granularity; member
H A Dacrestyp.h471 UINT16 Granularity; member
481 UINT32 Granularity; member
491 UINT64 Granularity; member
H A Dactbl1.h799 UINT32 Granularity; member
/freebsd/sys/contrib/dev/acpica/components/disassembler/
H A Ddmresrcl.c713 AcpiDmAddressFields (&Resource->Address16.Granularity, 16, Level); in AcpiDmWordDescriptor()
760 AcpiDmAddressFields (&Resource->Address32.Granularity, 32, Level); in AcpiDmDwordDescriptor()
807 AcpiDmAddressFields (&Resource->Address64.Granularity, 64, Level); in AcpiDmQwordDescriptor()
855 AcpiDmAddressFields (&Resource->ExtAddress64.Granularity, 64, Level); in AcpiDmExtendedDescriptor()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp785 MaybeAlign Alignment, unsigned Granularity,
1593 MaybeAlign Alignment, unsigned Granularity, in doInstrumentAddress() argument
1607 if (!Alignment || *Alignment >= Granularity || in doInstrumentAddress()
1621 MaybeAlign Alignment, unsigned Granularity, Type *OpType, bool IsWrite, in instrumentMaskedLoadOrStore() argument
1679 Alignment, Granularity, ElemTypeSize, IsWrite, in instrumentMaskedLoadOrStore()
1728 unsigned Granularity = 1 << Mapping.Scale; in instrumentMop() local
1732 Granularity, O.OpType, O.IsWrite, nullptr, in instrumentMop()
1736 Granularity, O.TypeStoreSize, O.IsWrite, nullptr, in instrumentMop()
1773 size_t Granularity = static_cast<size_t>(1) << Mapping.Scale; in createSlowPathCmp() local
1776 IRB.CreateAnd(AddrLong, ConstantInt::get(IntptrTy, Granularity - 1)); in createSlowPathCmp()
[all …]
H A DMemProfiler.cpp195 Granularity = ClMappingGranularity; in ShadowMapping()
196 Mask = ~(Granularity - 1); in ShadowMapping()
200 int Granularity; member
/freebsd/sys/dev/acpica/
H A Dacpi_resource.c358 gran = res->Data.Address16.Address.Granularity; in acpi_parse_resource()
367 gran = res->Data.Address32.Address.Granularity; in acpi_parse_resource()
376 gran = res->Data.Address64.Address.Granularity; in acpi_parse_resource()
387 gran = res->Data.ExtAddress64.Address.Granularity; in acpi_parse_resource()
/freebsd/sys/contrib/dev/acpica/common/
H A Ddmtbinfo1.c798 {ACPI_DMT_UINT32, ACPI_CEDT1_OFFSET (Granularity), "Granularity", 0},
/freebsd/share/misc/
H A Dusb_vendors25377 08d Capacity Granularity 1
25378 08e Capacity Granularity 2