Lines Matching refs:size
36 acpi_size size,
80 * PARAMETERS: size - Size of the allocation
91 void *acpi_ut_allocate_and_track(acpi_size size,
97 /* Check for an inadvertent size of zero bytes */
99 if (!size) {
102 size = 1;
106 acpi_os_allocate(size + sizeof(struct acpi_debug_mem_header));
112 "Could not allocate size %u", (u32)size));
118 acpi_ut_track_allocation(allocation, size, ACPI_MEM_MALLOC,
126 acpi_gbl_global_list->total_size += (u32)size;
127 acpi_gbl_global_list->current_total_size += (u32)size;
142 * PARAMETERS: size - Size of the allocation
153 void *acpi_ut_allocate_zeroed_and_track(acpi_size size,
160 /* Check for an inadvertent size of zero bytes */
162 if (!size) {
165 size = 1;
169 acpi_os_allocate_zeroed(size +
176 "Could not allocate size %u", (u32)size));
180 status = acpi_ut_track_allocation(allocation, size,
189 acpi_gbl_global_list->total_size += (u32)size;
190 acpi_gbl_global_list->current_total_size += (u32)size;
236 acpi_gbl_global_list->current_total_size -= debug_block->size;
318 * size - Size of the allocation
332 acpi_size size,
366 allocation->size = (u32)size;
461 ACPI_DEBUG_PRINT((ACPI_DB_ALLOCATIONS, "Freeing %p, size 0%X\n",
462 &allocation->user_space, allocation->size));
466 memset(&allocation->user_space, 0xEA, allocation->size);
573 if (element->size <
577 descriptor, element->size,
586 descriptor, element->size,
598 size,
611 if (element->size ==
622 if (element->size ==
632 if (element->size ==