Lines Matching refs:element
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()
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()
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()
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()