| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | ASanStackFrameLayout.cpp | 57 assert(Granularity >= 8 && Granularity <= 64 && in ComputeASanStackFrameLayout() 58 (Granularity & (Granularity - 1)) == 0); in ComputeASanStackFrameLayout() 60 MinHeaderSize >= Granularity); in ComputeASanStackFrameLayout() 69 Layout.Granularity = Granularity; in ComputeASanStackFrameLayout() 73 assert((Offset % Granularity) == 0); in ComputeASanStackFrameLayout() 83 size_t NextAlignment = IsLast ? Granularity in ComputeASanStackFrameLayout() 122 const size_t Granularity = Layout.Granularity; in GetShadowBytes() local 128 if (Var.Size % Granularity) in GetShadowBytes() 129 SB.push_back(Var.Size % Granularity); in GetShadowBytes() 139 const size_t Granularity = Layout.Granularity; in GetShadowBytesAfterScope() local [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Support/Windows/ |
| H A D | Memory.inc | 84 size_t Granularity = GranularityCached; 85 if (Granularity == 0) { 86 Granularity = getAllocationGranularity(); 87 GranularityCached = Granularity; 90 const size_t NumBlocks = (NumBytes+Granularity-1)/Granularity; 98 if (Start && Start % Granularity != 0) 99 Start += Granularity - Start % Granularity; 104 NumBlocks*Granularity, 117 Result.Size = NumBlocks*Granularity;
|
| /freebsd-12.1/sys/contrib/dev/acpica/components/resources/ |
| H A D | rsaddr.c | 188 {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 D | rsdumpinfo.c | 272 …{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 D | rsxface.c | 172 ACPI_COPY_FIELD(Out, In, Address.Granularity); \
|
| /freebsd-12.1/sys/contrib/dev/acpica/compiler/ |
| H A D | aslresource.c | 323 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 D | aslrestype2e.c | 250 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 D | aslrestype2q.c | 258 Descriptor->Address64.Granularity = InitializerOp->Asl.Value.Integer; in RsDoQwordIoDescriptor() 260 CurrentByteOffset + ASL_RESDESC_OFFSET (Address64.Granularity)); in RsDoQwordIoDescriptor() 377 Descriptor->Address64.Granularity, in RsDoQwordIoDescriptor() 486 Descriptor->Address64.Granularity = InitializerOp->Asl.Value.Integer; in RsDoQwordMemoryDescriptor() 488 CurrentByteOffset + ASL_RESDESC_OFFSET (Address64.Granularity)); in RsDoQwordMemoryDescriptor() 606 Descriptor->Address64.Granularity, in RsDoQwordMemoryDescriptor() 712 Descriptor->Address64.Granularity = InitializerOp->Asl.Value.Integer; in RsDoQwordSpaceDescriptor() 714 CurrentByteOffset + ASL_RESDESC_OFFSET (Address64.Granularity)); in RsDoQwordSpaceDescriptor() 817 Descriptor->Address64.Granularity, in RsDoQwordSpaceDescriptor()
|
| H A D | aslrestype2w.c | 258 Descriptor->Address16.Granularity = (UINT16) InitializerOp->Asl.Value.Integer; in RsDoWordIoDescriptor() 260 CurrentByteOffset + ASL_RESDESC_OFFSET (Address16.Granularity)); in RsDoWordIoDescriptor() 377 (UINT64) Descriptor->Address16.Granularity, in RsDoWordIoDescriptor() 472 Descriptor->Address16.Granularity = in RsDoWordBusNumberDescriptor() 475 CurrentByteOffset + ASL_RESDESC_OFFSET (Address16.Granularity)); in RsDoWordBusNumberDescriptor() 582 (UINT64) Descriptor->Address16.Granularity, in RsDoWordBusNumberDescriptor() 688 Descriptor->Address16.Granularity = in RsDoWordSpaceDescriptor() 691 CurrentByteOffset + ASL_RESDESC_OFFSET (Address16.Granularity)); in RsDoWordSpaceDescriptor() 798 (UINT64) Descriptor->Address16.Granularity, in RsDoWordSpaceDescriptor()
|
| H A D | aslrestype2d.c | 258 Descriptor->Address32.Granularity = in RsDoDwordIoDescriptor() 261 CurrentByteOffset + ASL_RESDESC_OFFSET (Address32.Granularity)); in RsDoDwordIoDescriptor() 386 (UINT64) Descriptor->Address32.Granularity, in RsDoDwordIoDescriptor() 496 Descriptor->Address32.Granularity = in RsDoDwordMemoryDescriptor() 499 CurrentByteOffset + ASL_RESDESC_OFFSET (Address32.Granularity)); in RsDoDwordMemoryDescriptor() 621 (UINT64) Descriptor->Address32.Granularity, in RsDoDwordMemoryDescriptor() 727 Descriptor->Address32.Granularity = in RsDoDwordSpaceDescriptor() 730 CurrentByteOffset + ASL_RESDESC_OFFSET (Address32.Granularity)); in RsDoDwordSpaceDescriptor() 838 (UINT64) Descriptor->Address32.Granularity, in RsDoDwordSpaceDescriptor()
|
| H A D | aslcompiler.h | 1295 UINT64 Granularity,
|
| /freebsd-12.1/contrib/llvm/include/llvm/Transforms/Utils/ |
| H A D | ASanStackFrameLayout.h | 46 size_t Granularity; // Shadow granularity. member 55 size_t Granularity,
|
| /freebsd-12.1/sys/contrib/dev/acpica/include/ |
| H A D | amlresrc.h | 446 UINT64 Granularity; member 462 UINT64 Granularity; member 475 UINT32 Granularity; member 488 UINT16 Granularity; member
|
| H A D | acrestyp.h | 465 UINT16 Granularity; member 475 UINT32 Granularity; member 485 UINT64 Granularity; member
|
| /freebsd-12.1/sys/contrib/dev/acpica/components/disassembler/ |
| H A D | dmresrcl.c | 713 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-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | AddressSanitizer.cpp | 1348 unsigned Alignment, unsigned Granularity, in doInstrumentAddress() argument 1451 unsigned Granularity = 1 << Mapping.Scale; in instrumentMop() local 1496 size_t Granularity = static_cast<size_t>(1) << Mapping.Scale; in createSlowPathCmp() local 1559 size_t Granularity = 1ULL << Mapping.Scale; in instrumentAddress() local 1562 if (ClAlwaysSlowPath || (TypeSize < 8 * Granularity)) { in instrumentAddress() 2912 size_t Granularity = 1ULL << Mapping.Scale; in processStaticAllocas() local 2915 ComputeASanStackFrameLayout(SVD, Granularity, MinHeaderSize); in processStaticAllocas() 3060 assert(Desc.Offset % L.Granularity == 0); in processStaticAllocas() 3061 size_t Begin = Desc.Offset / L.Granularity; in processStaticAllocas() 3062 size_t End = Begin + (APC.Size + L.Granularity - 1) / L.Granularity; in processStaticAllocas() [all …]
|
| /freebsd-12.1/sys/dev/acpica/ |
| H A D | acpi_resource.c | 349 gran = res->Data.Address16.Address.Granularity; in acpi_parse_resource() 358 gran = res->Data.Address32.Address.Granularity; in acpi_parse_resource() 367 gran = res->Data.Address64.Address.Granularity; in acpi_parse_resource() 378 gran = res->Data.ExtAddress64.Address.Granularity; in acpi_parse_resource()
|
| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | win32-nat.c | 960 if (info.HighWord.Bits.Granularity) in display_selector() 1002 if (info.HighWord.Bits.Granularity) in display_selector()
|