Lines Matching refs:object
153 acpi_status acpi_os_release_object(struct acpi_memory_list *cache, void *object) in acpi_os_release_object() argument
159 if (!cache || !object) { in acpi_os_release_object()
166 ACPI_FREE(object); in acpi_os_release_object()
180 memset(object, 0xCA, cache->object_size); in acpi_os_release_object()
181 ACPI_SET_DESCRIPTOR_TYPE(object, ACPI_DESC_TYPE_CACHED); in acpi_os_release_object()
185 ACPI_SET_DESCRIPTOR_PTR(object, cache->list_head); in acpi_os_release_object()
186 cache->list_head = object; in acpi_os_release_object()
211 void *object; in acpi_os_acquire_object() local
232 object = cache->list_head; in acpi_os_acquire_object()
233 cache->list_head = ACPI_GET_DESCRIPTOR_PTR(object); in acpi_os_acquire_object()
240 ACPI_GET_FUNCTION_NAME, object, in acpi_os_acquire_object()
250 memset(object, 0, cache->object_size); in acpi_os_acquire_object()
271 object = ACPI_ALLOCATE_ZEROED(cache->object_size); in acpi_os_acquire_object()
272 if (!object) { in acpi_os_acquire_object()
277 return_PTR(object); in acpi_os_acquire_object()