Lines Matching defs:Element
157 * element contains the caller's component, module name, function name, and
159 * AcpiUtTrackAllocation to add an element to the list; deletion
434 * 2) Element was found. Returns Allocation parameter.
435 * 3) Element was not found. Returns position where it should be
438 * DESCRIPTION: Searches for an element in the global allocation tracking list.
439 * If the element is not found, returns the location within the
440 * list where the element should be inserted.
457 ACPI_DEBUG_MEM_BLOCK *Element;
460 Element = AcpiGbl_GlobalList->ListHead;
461 if (!Element)
473 while (Element > Allocation)
477 if (!Element->Next)
479 return (Element);
482 Element = Element->Next;
485 if (Element == Allocation)
487 return (Element);
490 return (Element->Previous);
507 * DESCRIPTION: Inserts an element into the global allocation tracking list.
521 ACPI_DEBUG_MEM_BLOCK *Element;
544 Element = AcpiUtFindAllocation (Allocation);
545 if (Element == Allocation)
562 if (!Element)
579 /* Insert after element */
581 Allocation->Next = Element->Next;
582 Allocation->Previous = Element;
584 if (Element->Next)
586 (Element->Next)->Previous = Allocation;
589 Element->Next = Allocation;
610 * DESCRIPTION: Deletes an element from the global allocation tracking list.
756 ACPI_DEBUG_MEM_BLOCK *Element;
783 Element = AcpiGbl_GlobalList->ListHead;
784 while (Element)
786 if ((Element->Component & Component) &&
787 ((Module == NULL) || (0 == strcmp (Module, Element->Module))))
790 ACPI_DESCRIPTOR, &Element->UserSpace);
792 if (Element->Size < sizeof (ACPI_COMMON_DESCRIPTOR))
796 Descriptor, Element->Size, Element->Module,
797 Element->Line);
807 Descriptor, Element->Size, Element->Module,
808 Element->Line, AcpiUtGetDescriptorName (Descriptor));
815 AcpiUtDumpBuffer ((UINT8 *) Descriptor, Element->Size,
827 if (Element->Size == sizeof (ACPI_OPERAND_OBJECT))
835 if (Element->Size == sizeof (ACPI_PARSE_OBJECT))
843 if (Element->Size == sizeof (ACPI_NAMESPACE_NODE))
888 Element = Element->Next;