Lines Matching full:element
15 * element contains the caller's component, module name, function name, and
17 * acpi_ut_track_allocation to add an element to the list; deletion
258 * 2) Element was found. Returns Allocation parameter.
259 * 3) Element was not found. Returns position where it should be
262 * DESCRIPTION: Searches for an element in the global allocation tracking list.
263 * If the element is not found, returns the location within the
264 * list where the element should be inserted.
281 struct acpi_debug_mem_block *element; in acpi_ut_find_allocation() local
283 element = acpi_gbl_global_list->list_head; in acpi_ut_find_allocation()
284 if (!element) { in acpi_ut_find_allocation()
295 while (element > allocation) { in acpi_ut_find_allocation()
299 if (!element->next) { in acpi_ut_find_allocation()
300 return (element); in acpi_ut_find_allocation()
303 element = element->next; in acpi_ut_find_allocation()
306 if (element == allocation) { in acpi_ut_find_allocation()
307 return (element); in acpi_ut_find_allocation()
310 return (element->previous); in acpi_ut_find_allocation()
326 * DESCRIPTION: Inserts an element into the global allocation tracking list.
337 struct acpi_debug_mem_block *element; in acpi_ut_track_allocation() local
356 element = acpi_ut_find_allocation(allocation); in acpi_ut_track_allocation()
357 if (element == allocation) { in acpi_ut_track_allocation()
374 if (!element) { in acpi_ut_track_allocation()
388 /* Insert after element */ in acpi_ut_track_allocation()
390 allocation->next = element->next; in acpi_ut_track_allocation()
391 allocation->previous = element; in acpi_ut_track_allocation()
393 if (element->next) { in acpi_ut_track_allocation()
394 (element->next)->previous = allocation; in acpi_ut_track_allocation()
397 element->next = allocation; in acpi_ut_track_allocation()
416 * DESCRIPTION: Deletes an element from the global allocation tracking list.
542 struct acpi_debug_mem_block *element; in acpi_ut_dump_allocations() local
564 element = acpi_gbl_global_list->list_head; in acpi_ut_dump_allocations()
565 while (element) { in acpi_ut_dump_allocations()
566 if ((element->component & component) && in acpi_ut_dump_allocations()
568 || (0 == strcmp(module, element->module)))) { in acpi_ut_dump_allocations()
571 &element->user_space); in acpi_ut_dump_allocations()
573 if (element->size < in acpi_ut_dump_allocations()
577 descriptor, element->size, in acpi_ut_dump_allocations()
578 element->module, element->line); in acpi_ut_dump_allocations()
586 descriptor, element->size, in acpi_ut_dump_allocations()
587 element->module, element->line, in acpi_ut_dump_allocations()
597 element-> in acpi_ut_dump_allocations()
611 if (element->size == in acpi_ut_dump_allocations()
622 if (element->size == in acpi_ut_dump_allocations()
632 if (element->size == in acpi_ut_dump_allocations()
687 element = element->next; in acpi_ut_dump_allocations()